|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ontopoly.model.Topic ontopoly.model.AssociationField
public class AssociationField
Represents an association field.
Constructor Summary | |
---|---|
AssociationField(TopicIF topic,
TopicMap tm)
|
|
AssociationField(TopicIF topic,
TopicMap tm,
AssociationType associationType)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getArity()
Returns the arity of the association field, i.e. |
AssociationType |
getAssociationType()
Gets the association type that is assigned to this association field. |
java.util.Collection<RoleField> |
getDeclaredByFields()
Gets the role fields that are assigned to this association field. |
java.util.List<RoleField> |
getFieldsForRoles()
Returns the fields for the roles in this association type. |
void |
remove(LifeCycleListener listener)
Removes the topic from the topic map. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssociationField(TopicIF topic, TopicMap tm)
public AssociationField(TopicIF topic, TopicMap tm, AssociationType associationType)
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class Topic
public AssociationType getAssociationType()
public int getArity()
public java.util.List<RoleField> getFieldsForRoles()
public void remove(LifeCycleListener listener)
Topic
remove
in class Topic
listener
- listener that gets call back from the deleting this topic, and any dependencies.ppublic java.util.Collection<RoleField> getDeclaredByFields()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |