public class W2TRole
extends java.lang.Object
implements org.tmapi.core.Role
| Modifier and Type | Field and Description |
|---|---|
protected W2TAssociation |
association |
protected W2TTopic |
player |
protected W2TTopic |
type |
| Constructor and Description |
|---|
W2TRole(W2TAssociation association,
W2TTopic type,
W2TTopic player) |
| Modifier and Type | Method and Description |
|---|---|
void |
addItemIdentifier(org.tmapi.core.Locator lctr) |
java.lang.String |
getId() |
java.util.Set<org.tmapi.core.Locator> |
getItemIdentifiers() |
org.tmapi.core.Association |
getParent() |
org.tmapi.core.Topic |
getPlayer() |
org.tmapi.core.Topic |
getReifier() |
org.tmapi.core.TopicMap |
getTopicMap() |
org.tmapi.core.Topic |
getType() |
void |
remove() |
void |
removeItemIdentifier(org.tmapi.core.Locator lctr) |
void |
setPlayer(org.tmapi.core.Topic topic) |
void |
setReifier(org.tmapi.core.Topic topic) |
void |
setType(org.tmapi.core.Topic topic) |
protected W2TAssociation association
protected W2TTopic type
protected W2TTopic player
public W2TRole(W2TAssociation association, W2TTopic type, W2TTopic player)
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 topic)
setPlayer in interface org.tmapi.core.Rolepublic org.tmapi.core.Topic getReifier()
getReifier in interface org.tmapi.core.Reifiablepublic void setReifier(org.tmapi.core.Topic topic)
throws org.tmapi.core.ModelConstraintException
setReifier in interface org.tmapi.core.Reifiableorg.tmapi.core.ModelConstraintExceptionpublic org.tmapi.core.TopicMap getTopicMap()
getTopicMap in interface org.tmapi.core.Constructpublic java.lang.String getId()
getId in interface org.tmapi.core.Constructpublic java.util.Set<org.tmapi.core.Locator> getItemIdentifiers()
getItemIdentifiers in interface org.tmapi.core.Constructpublic void addItemIdentifier(org.tmapi.core.Locator lctr)
throws org.tmapi.core.ModelConstraintException
addItemIdentifier in interface org.tmapi.core.Constructorg.tmapi.core.ModelConstraintExceptionpublic void removeItemIdentifier(org.tmapi.core.Locator lctr)
removeItemIdentifier in interface org.tmapi.core.Constructpublic void remove()
remove in interface org.tmapi.core.Constructpublic org.tmapi.core.Topic getType()
getType in interface org.tmapi.core.Typedpublic void setType(org.tmapi.core.Topic topic)
setType in interface org.tmapi.core.TypedCopyright 2004-2015 Wandora Team