net.ontopia.topicmaps.schema.impl.osl
Class AbstractTypedCardinalityConstraint
java.lang.Object
net.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint
net.ontopia.topicmaps.schema.impl.osl.AbstractTypedCardinalityConstraint
- All Implemented Interfaces:
- CardinalityConstraintIF, ConstraintIF, TypedConstraintIF
- Direct Known Subclasses:
- AssociationRoleConstraint
public abstract class AbstractTypedCardinalityConstraint
- extends AbstractCardinalityConstraint
- implements TypedConstraintIF
INTERNAL: Common base class for constraints which have cardinality
and type facets.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTypedCardinalityConstraint
public AbstractTypedCardinalityConstraint()
setTypeSpecification
public void setTypeSpecification(TypeSpecification typespec)
- Description copied from interface:
TypedConstraintIF
- INTERNAL: Sets the object specifying the allowed types.
- Specified by:
setTypeSpecification
in interface TypedConstraintIF
getTypeSpecification
public TypeSpecification getTypeSpecification()
- Description copied from interface:
TypedConstraintIF
- INTERNAL: Returns the object specifying the allowed types.
- Specified by:
getTypeSpecification
in interface TypedConstraintIF
matches
public boolean matches(TMObjectIF object)
- Description copied from interface:
ConstraintIF
- PUBLIC: Returns true if the object given is constrained by this
constraint.
- Specified by:
matches
in interface ConstraintIF
Copyright © 2000-2010 Ontopia.