public class RoleImpl extends ReifiableImpl implements org.tmapi.core.Role
Modifier and Type | Field and Description |
---|---|
protected TopicMapImpl |
topicMap |
Constructor and Description |
---|
RoleImpl(TopicMapImpl topicMap,
AssociationRoleIF role) |
Modifier and Type | Method and Description |
---|---|
void |
addItemIdentifier(org.tmapi.core.Locator iid) |
boolean |
equals(Object obj) |
String |
getId() |
Set<org.tmapi.core.Locator> |
getItemIdentifiers() |
org.tmapi.core.Association |
getParent() |
org.tmapi.core.Topic |
getPlayer() |
TopicMapImpl |
getTopicMap() |
org.tmapi.core.Topic |
getType() |
AssociationRoleIF |
getWrapped() |
int |
hashCode() |
void |
remove() |
void |
removeItemIdentifier(org.tmapi.core.Locator iid) |
void |
setPlayer(org.tmapi.core.Topic player) |
void |
setType(org.tmapi.core.Topic type) |
getReifier, setReifier
protected TopicMapImpl topicMap
public RoleImpl(TopicMapImpl topicMap, AssociationRoleIF role)
public AssociationRoleIF getWrapped()
public org.tmapi.core.Association getParent()
getParent
in interface org.tmapi.core.Construct
getParent
in interface org.tmapi.core.Role
public org.tmapi.core.Topic getPlayer()
getPlayer
in interface org.tmapi.core.Role
public void setPlayer(org.tmapi.core.Topic player)
setPlayer
in interface org.tmapi.core.Role
public org.tmapi.core.Topic getType()
getType
in interface org.tmapi.core.Typed
public void setType(org.tmapi.core.Topic type)
setType
in interface org.tmapi.core.Typed
public String getId()
getId
in interface org.tmapi.core.Construct
public Set<org.tmapi.core.Locator> getItemIdentifiers()
getItemIdentifiers
in interface org.tmapi.core.Construct
public void addItemIdentifier(org.tmapi.core.Locator iid)
addItemIdentifier
in interface org.tmapi.core.Construct
public void removeItemIdentifier(org.tmapi.core.Locator iid)
removeItemIdentifier
in interface org.tmapi.core.Construct
public TopicMapImpl getTopicMap()
getTopicMap
in interface org.tmapi.core.Construct
public void remove()
remove
in interface org.tmapi.core.Construct
public boolean equals(Object obj)