net.ontopia.topicmaps.schema.impl.osl
Class AssociationRoleConstraint
java.lang.Object
net.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint
net.ontopia.topicmaps.schema.impl.osl.AbstractTypedCardinalityConstraint
net.ontopia.topicmaps.schema.impl.osl.AssociationRoleConstraint
- All Implemented Interfaces:
- CardinalityConstraintIF, ConstraintIF, TypedConstraintIF
public class AssociationRoleConstraint
- extends AbstractTypedCardinalityConstraint
INTERNAL: Represents a constraint on the association roles of an
association.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected AssociationClass parent
players
protected java.util.Collection players
AssociationRoleConstraint
public AssociationRoleConstraint(AssociationClass parent)
- INTERNAL: Creates an association role constraint belonging to an
association class.
getPlayerTypes
public java.util.Collection getPlayerTypes()
- INTERNAL: Returns the set of allowed types of topics playing this role.
- Returns:
- A collection of TypeSpecification objects.
removePlayerType
public void removePlayerType(TypeSpecification typespec)
- INTERNAL: Removes an topic player type from the set of allowed
player types.
addPlayerType
public void addPlayerType(TypeSpecification typespec)
- INTERNAL: Add a new type to the allowed types of role players.
Copyright © 2000-2012 Ontopia.