Class RoleImpl
- java.lang.Object
-
- net.ontopia.topicmaps.impl.tmapi2.ReifiableImpl
-
- net.ontopia.topicmaps.impl.tmapi2.RoleImpl
-
- All Implemented Interfaces:
org.tmapi.core.Construct,org.tmapi.core.Reifiable,org.tmapi.core.Role,org.tmapi.core.Typed
public class RoleImpl extends ReifiableImpl implements org.tmapi.core.Role
INTERNAL: OKS->TMAPI 2 object wrapper.
-
-
Field Summary
Fields Modifier and Type Field Description protected TopicMapImpltopicMap
-
Constructor Summary
Constructors Constructor Description RoleImpl(TopicMapImpl topicMap, AssociationRoleIF role)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddItemIdentifier(org.tmapi.core.Locator iid)booleanequals(Object obj)StringgetId()Set<org.tmapi.core.Locator>getItemIdentifiers()org.tmapi.core.AssociationgetParent()org.tmapi.core.TopicgetPlayer()TopicMapImplgetTopicMap()org.tmapi.core.TopicgetType()AssociationRoleIFgetWrapped()inthashCode()voidremove()voidremoveItemIdentifier(org.tmapi.core.Locator iid)voidsetPlayer(org.tmapi.core.Topic player)voidsetType(org.tmapi.core.Topic type)-
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
-
RoleImpl
public RoleImpl(TopicMapImpl topicMap, AssociationRoleIF role)
-
-
Method Detail
-
getWrapped
public AssociationRoleIF getWrapped()
-
getParent
public org.tmapi.core.Association getParent()
- Specified by:
getParentin interfaceorg.tmapi.core.Construct- Specified by:
getParentin interfaceorg.tmapi.core.Role
-
getPlayer
public org.tmapi.core.Topic getPlayer()
- Specified by:
getPlayerin interfaceorg.tmapi.core.Role
-
setPlayer
public void setPlayer(org.tmapi.core.Topic player)
- Specified by:
setPlayerin interfaceorg.tmapi.core.Role
-
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)
-
-