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, removeTheme
getReifier, setReifier
protected 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.Association
public TopicMapImpl getParent()
getParent
in interface org.tmapi.core.Association
getParent
in interface org.tmapi.core.Construct
public Set<org.tmapi.core.Topic> getRoleTypes()
getRoleTypes
in interface org.tmapi.core.Association
public Set<org.tmapi.core.Role> getRoles()
getRoles
in interface org.tmapi.core.Association
public Set<org.tmapi.core.Role> getRoles(org.tmapi.core.Topic type)
getRoles
in interface org.tmapi.core.Association
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)