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, setReifierprotected TopicMapImpl topicMap
public RoleImpl(TopicMapImpl topicMap, AssociationRoleIF role)
public AssociationRoleIF getWrapped()
public org.tmapi.core.Association getParent()
getParent in interface org.tmapi.core.ConstructgetParent in interface org.tmapi.core.Rolepublic org.tmapi.core.Topic getPlayer()
getPlayer in interface org.tmapi.core.Rolepublic void setPlayer(org.tmapi.core.Topic player)
setPlayer in interface org.tmapi.core.Rolepublic org.tmapi.core.Topic getType()
getType in interface org.tmapi.core.Typedpublic void setType(org.tmapi.core.Topic type)
setType in interface org.tmapi.core.Typedpublic String getId()
getId in interface org.tmapi.core.Constructpublic Set<org.tmapi.core.Locator> getItemIdentifiers()
getItemIdentifiers in interface org.tmapi.core.Constructpublic void addItemIdentifier(org.tmapi.core.Locator iid)
addItemIdentifier in interface org.tmapi.core.Constructpublic void removeItemIdentifier(org.tmapi.core.Locator iid)
removeItemIdentifier in interface org.tmapi.core.Constructpublic TopicMapImpl getTopicMap()
getTopicMap in interface org.tmapi.core.Constructpublic void remove()
remove in interface org.tmapi.core.Constructpublic boolean equals(Object obj)