|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Role
Represents an association role item.
Method Summary | |
---|---|
Association |
getParent()
Returns the Association to which this role belongs. |
Topic |
getPlayer()
Returns the topic playing this role. |
void |
setPlayer(Topic player)
Sets the role player. |
Methods inherited from interface org.tmapi.core.Reifiable |
---|
getReifier, setReifier |
Methods inherited from interface org.tmapi.core.Typed |
---|
getType, setType |
Methods inherited from interface org.tmapi.core.Construct |
---|
addItemIdentifier, equals, getId, getItemIdentifiers, getTopicMap, hashCode, remove, removeItemIdentifier |
Method Detail |
---|
Association getParent()
Association
to which this role belongs.
getParent
in interface Construct
Construct.getParent()
Topic getPlayer()
void setPlayer(Topic player)
player
- The topic which should play this role.
ModelConstraintException
- If the player is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |