net.ontopia.topicmaps.schema.impl.osl
Class AbstractScopedTypedCardinalityConstraint
java.lang.Object
net.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint
net.ontopia.topicmaps.schema.impl.osl.AbstractScopedCardinalityConstraint
net.ontopia.topicmaps.schema.impl.osl.AbstractScopedTypedCardinalityConstraint
- All Implemented Interfaces:
- CardinalityConstraintIF, ConstraintIF, ScopedConstraintIF, TypedConstraintIF
- Direct Known Subclasses:
- OccurrenceConstraint, TopicRoleConstraint
public abstract class AbstractScopedTypedCardinalityConstraint
- extends AbstractScopedCardinalityConstraint
- implements TypedConstraintIF
INTERNAL: Common base class for constraints which have cardinality,
type, and scope facets.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractScopedTypedCardinalityConstraint
public AbstractScopedTypedCardinalityConstraint()
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
- Overrides:
matches
in class AbstractScopedCardinalityConstraint
Copyright © 2000-2010 Ontopia.