de.topicmapslab.majortom.io
Class CXTMTopicMapWriter.TypeInstanceAssociation

java.lang.Object
  extended by de.topicmapslab.majortom.io.CXTMTopicMapWriter.TypeInstanceAssociation
All Implemented Interfaces:
org.tmapi.core.Association, org.tmapi.core.Construct, org.tmapi.core.Reifiable, org.tmapi.core.Scoped, org.tmapi.core.Typed
Enclosing class:
CXTMTopicMapWriter

private final class CXTMTopicMapWriter.TypeInstanceAssociation
extends java.lang.Object
implements org.tmapi.core.Association

Used to represent type-instance relationships which are modelled as [type] property of topics.


Field Summary
(package private)  java.util.Set<org.tmapi.core.Role> _roles
           
 
Constructor Summary
CXTMTopicMapWriter.TypeInstanceAssociation(org.tmapi.core.Topic type, org.tmapi.core.Topic instance)
           
 
Method Summary
 void addItemIdentifier(org.tmapi.core.Locator itemIdentifier)
           
 void addTheme(org.tmapi.core.Topic arg0)
           
 org.tmapi.core.Role createRole(org.tmapi.core.Topic arg0, org.tmapi.core.Topic arg1)
           
 java.lang.String getId()
           
 java.util.Set<org.tmapi.core.Locator> getItemIdentifiers()
           
 org.tmapi.core.TopicMap getParent()
           
 org.tmapi.core.Topic getReifier()
           
 java.util.Set<org.tmapi.core.Role> getRoles()
           
 java.util.Set<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic type)
           
 java.util.Set<org.tmapi.core.Topic> getRoleTypes()
           
 java.util.Set<org.tmapi.core.Topic> getScope()
           
 org.tmapi.core.TopicMap getTopicMap()
           
 org.tmapi.core.Topic getType()
           
 void remove()
           
 void removeItemIdentifier(org.tmapi.core.Locator itemIdentifier)
           
 void removeTheme(org.tmapi.core.Topic arg0)
           
 void setReifier(org.tmapi.core.Topic reifier)
           
 void setType(org.tmapi.core.Topic arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.tmapi.core.Construct
equals, hashCode
 

Field Detail

_roles

final java.util.Set<org.tmapi.core.Role> _roles
Constructor Detail

CXTMTopicMapWriter.TypeInstanceAssociation

CXTMTopicMapWriter.TypeInstanceAssociation(org.tmapi.core.Topic type,
                                           org.tmapi.core.Topic instance)
Method Detail

getRoles

public java.util.Set<org.tmapi.core.Role> getRoles()
Specified by:
getRoles in interface org.tmapi.core.Association

getType

public org.tmapi.core.Topic getType()
Specified by:
getType in interface org.tmapi.core.Typed

getRoleTypes

public java.util.Set<org.tmapi.core.Topic> getRoleTypes()
Specified by:
getRoleTypes in interface org.tmapi.core.Association

getRoles

public java.util.Set<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic type)
Specified by:
getRoles in interface org.tmapi.core.Association

setReifier

public void setReifier(org.tmapi.core.Topic reifier)
Specified by:
setReifier in interface org.tmapi.core.Reifiable

addItemIdentifier

public void addItemIdentifier(org.tmapi.core.Locator itemIdentifier)
Specified by:
addItemIdentifier in interface org.tmapi.core.Construct

getItemIdentifiers

public java.util.Set<org.tmapi.core.Locator> getItemIdentifiers()
Specified by:
getItemIdentifiers in interface org.tmapi.core.Construct

getParent

public org.tmapi.core.TopicMap getParent()
Specified by:
getParent in interface org.tmapi.core.Association
Specified by:
getParent in interface org.tmapi.core.Construct

removeItemIdentifier

public void removeItemIdentifier(org.tmapi.core.Locator itemIdentifier)
Specified by:
removeItemIdentifier in interface org.tmapi.core.Construct

createRole

public org.tmapi.core.Role createRole(org.tmapi.core.Topic arg0,
                                      org.tmapi.core.Topic arg1)
Specified by:
createRole in interface org.tmapi.core.Association

getReifier

public org.tmapi.core.Topic getReifier()
Specified by:
getReifier in interface org.tmapi.core.Reifiable

remove

public void remove()
Specified by:
remove in interface org.tmapi.core.Construct

setType

public void setType(org.tmapi.core.Topic arg0)
Specified by:
setType in interface org.tmapi.core.Typed

addTheme

public void addTheme(org.tmapi.core.Topic arg0)
Specified by:
addTheme in interface org.tmapi.core.Scoped

getScope

public java.util.Set<org.tmapi.core.Topic> getScope()
Specified by:
getScope in interface org.tmapi.core.Scoped

removeTheme

public void removeTheme(org.tmapi.core.Topic arg0)
Specified by:
removeTheme in interface org.tmapi.core.Scoped

getId

public java.lang.String getId()
Specified by:
getId in interface org.tmapi.core.Construct

getTopicMap

public org.tmapi.core.TopicMap getTopicMap()
Specified by:
getTopicMap in interface org.tmapi.core.Construct