|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ontopoly.model.Topic ontopoly.model.AbstractTypingTopic ontopoly.model.AssociationType
public class AssociationType
Represents an association type.
Constructor Summary | |
---|---|
AssociationType(TopicIF currTopic,
TopicMap tm)
Creates a new AssociationType object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Collection<RoleField> |
getDeclaredByFields()
Returns the field definitions that are declared for this typing topic. |
java.util.List<RoleType> |
getDeclaredRoleTypes()
Returns all role types that have been declared for this association type. |
LocatorIF |
getLocatorIF()
Gets the LocatorIF for this typing topic. |
java.util.Collection<java.util.List<RoleType>> |
getUsedRoleTypeCombinations()
Returns a collection of lists that contain the role type combinations that have been used in actual associations. |
boolean |
isHierarchical()
Tests whether this association type is hierarchical. |
boolean |
isSymmetric()
Indicates whether the association type is symmetric. |
void |
transformInstances(java.util.List<RoleType> roleTypesFrom,
java.util.List<RoleType> roleTypesTo)
Transforms associations from the role types of the given form to the new one as given. |
Methods inherited from class ontopoly.model.AbstractTypingTopic |
---|
isHidden, isReadOnly |
Methods inherited from class ontopoly.model.Topic |
---|
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, remove, removeTopicType, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssociationType(TopicIF currTopic, TopicMap tm)
Method Detail |
---|
public LocatorIF getLocatorIF()
AbstractTypingTopic
getLocatorIF
in class AbstractTypingTopic
public boolean equals(java.lang.Object obj)
equals
in class Topic
public boolean isSymmetric()
public boolean isHierarchical()
public java.util.Collection<RoleField> getDeclaredByFields()
AbstractTypingTopic
getDeclaredByFields
in class AbstractTypingTopic
public java.util.List<RoleType> getDeclaredRoleTypes()
public java.util.Collection<java.util.List<RoleType>> getUsedRoleTypeCombinations()
public void transformInstances(java.util.List<RoleType> roleTypesFrom, java.util.List<RoleType> roleTypesTo)
roleTypesFrom
- list of role types that should match existing associationsroleTypesTo
- list of role types to which the associations should be changed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |