public class AssociationImpl extends ScopedImpl implements org.tmapi.core.Association
| Modifier and Type | Field and Description |
|---|---|
protected TopicMapImpl |
topicMap |
| Constructor and Description |
|---|
AssociationImpl(TopicMapImpl topicMap,
AssociationIF assoc) |
| Modifier and Type | Method and Description |
|---|---|
void |
addItemIdentifier(org.tmapi.core.Locator iid) |
RoleImpl |
createRole(org.tmapi.core.Topic type,
org.tmapi.core.Topic player) |
boolean |
equals(Object obj) |
String |
getId() |
Set<org.tmapi.core.Locator> |
getItemIdentifiers() |
TopicMapImpl |
getParent() |
Set<org.tmapi.core.Role> |
getRoles() |
Set<org.tmapi.core.Role> |
getRoles(org.tmapi.core.Topic type) |
Set<org.tmapi.core.Topic> |
getRoleTypes() |
TopicMapImpl |
getTopicMap() |
org.tmapi.core.Topic |
getType() |
AssociationIF |
getWrapped() |
int |
hashCode() |
void |
remove() |
void |
removeItemIdentifier(org.tmapi.core.Locator iid) |
void |
setType(org.tmapi.core.Topic type) |
addTheme, getScope, removeThemegetReifier, setReifierprotected TopicMapImpl topicMap
public AssociationImpl(TopicMapImpl topicMap, AssociationIF assoc)
public AssociationIF getWrapped()
public RoleImpl createRole(org.tmapi.core.Topic type, org.tmapi.core.Topic player)
createRole in interface org.tmapi.core.Associationpublic TopicMapImpl getParent()
getParent in interface org.tmapi.core.AssociationgetParent in interface org.tmapi.core.Constructpublic Set<org.tmapi.core.Topic> getRoleTypes()
getRoleTypes in interface org.tmapi.core.Associationpublic Set<org.tmapi.core.Role> getRoles()
getRoles in interface org.tmapi.core.Associationpublic Set<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic type)
getRoles in interface org.tmapi.core.Associationpublic 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)