public class AssociationField extends Topic
Constructor and Description |
---|
AssociationField(TopicIF topic,
TopicMap tm) |
AssociationField(TopicIF topic,
TopicMap tm,
AssociationType associationType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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.
|
Collection<RoleField> |
getDeclaredByFields()
Gets the role fields that are assigned to this association field.
|
List<RoleField> |
getFieldsForRoles()
Returns the fields for the roles in this association type.
|
void |
remove(LifeCycleListener listener)
Removes the topic from the topic map.
|
addTopicType, copyCharacteristics, findDependentObjects, getDependentObjects, getFieldInstances, getFieldInstances, getId, getMostSpecificTopicType, getName, getTopicIF, getTopicMap, getTopicTypes, hashCode, isAssociationType, isFieldDefinition, isInstanceOf, isInstanceOf, isNameType, isOccurrenceType, isOntologyTopic, isOntologyType, isPrivateSystemTopic, isPublicSystemTopic, isRoleType, isSystemTopic, isTopicMap, isTopicType, removeTopicType, toString
public AssociationField(TopicIF topic, TopicMap tm, AssociationType associationType)
public AssociationType getAssociationType()
public int getArity()
public List<RoleField> getFieldsForRoles()
public void remove(LifeCycleListener listener)
Topic
public Collection<RoleField> getDeclaredByFields()