Class AssociationImpl
- java.lang.Object
-
- net.ontopia.topicmaps.impl.tmapi2.ReifiableImpl
-
- net.ontopia.topicmaps.impl.tmapi2.ScopedImpl
-
- net.ontopia.topicmaps.impl.tmapi2.AssociationImpl
-
- All Implemented Interfaces:
org.tmapi.core.Association,org.tmapi.core.Construct,org.tmapi.core.Reifiable,org.tmapi.core.Scoped,org.tmapi.core.Typed
public class AssociationImpl extends ScopedImpl implements org.tmapi.core.Association
INTERNAL: OKS->TMAPI 2 object wrapper.
-
-
Field Summary
Fields Modifier and Type Field Description protected TopicMapImpltopicMap
-
Constructor Summary
Constructors Constructor Description AssociationImpl(TopicMapImpl topicMap, AssociationIF assoc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddItemIdentifier(org.tmapi.core.Locator iid)RoleImplcreateRole(org.tmapi.core.Topic type, org.tmapi.core.Topic player)booleanequals(Object obj)StringgetId()Set<org.tmapi.core.Locator>getItemIdentifiers()TopicMapImplgetParent()Set<org.tmapi.core.Role>getRoles()Set<org.tmapi.core.Role>getRoles(org.tmapi.core.Topic type)Set<org.tmapi.core.Topic>getRoleTypes()TopicMapImplgetTopicMap()org.tmapi.core.TopicgetType()AssociationIFgetWrapped()inthashCode()voidremove()voidremoveItemIdentifier(org.tmapi.core.Locator iid)voidsetType(org.tmapi.core.Topic type)-
Methods inherited from class net.ontopia.topicmaps.impl.tmapi2.ScopedImpl
addTheme, getScope, removeTheme
-
Methods inherited from class net.ontopia.topicmaps.impl.tmapi2.ReifiableImpl
getReifier, setReifier
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
topicMap
protected TopicMapImpl topicMap
-
-
Constructor Detail
-
AssociationImpl
public AssociationImpl(TopicMapImpl topicMap, AssociationIF assoc)
-
-
Method Detail
-
getWrapped
public AssociationIF getWrapped()
-
createRole
public RoleImpl createRole(org.tmapi.core.Topic type, org.tmapi.core.Topic player)
- Specified by:
createRolein interfaceorg.tmapi.core.Association
-
getParent
public TopicMapImpl getParent()
- Specified by:
getParentin interfaceorg.tmapi.core.Association- Specified by:
getParentin interfaceorg.tmapi.core.Construct
-
getRoleTypes
public Set<org.tmapi.core.Topic> getRoleTypes()
- Specified by:
getRoleTypesin interfaceorg.tmapi.core.Association
-
getRoles
public Set<org.tmapi.core.Role> getRoles()
- Specified by:
getRolesin interfaceorg.tmapi.core.Association
-
getRoles
public Set<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic type)
- Specified by:
getRolesin interfaceorg.tmapi.core.Association
-
getType
public org.tmapi.core.Topic getType()
- Specified by:
getTypein interfaceorg.tmapi.core.Typed
-
setType
public void setType(org.tmapi.core.Topic type)
- Specified by:
setTypein interfaceorg.tmapi.core.Typed
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.tmapi.core.Construct
-
getItemIdentifiers
public Set<org.tmapi.core.Locator> getItemIdentifiers()
- Specified by:
getItemIdentifiersin interfaceorg.tmapi.core.Construct
-
addItemIdentifier
public void addItemIdentifier(org.tmapi.core.Locator iid)
- Specified by:
addItemIdentifierin interfaceorg.tmapi.core.Construct
-
removeItemIdentifier
public void removeItemIdentifier(org.tmapi.core.Locator iid)
- Specified by:
removeItemIdentifierin interfaceorg.tmapi.core.Construct
-
getTopicMap
public TopicMapImpl getTopicMap()
- Specified by:
getTopicMapin interfaceorg.tmapi.core.Construct
-
remove
public void remove()
- Specified by:
removein interfaceorg.tmapi.core.Construct
-
equals
public boolean equals(Object obj)
-
-