net.ontopia.topicmaps.schema.impl.osl
Class AbstractScopedCardinalityConstraint
java.lang.Object
net.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint
net.ontopia.topicmaps.schema.impl.osl.AbstractScopedCardinalityConstraint
- All Implemented Interfaces:
- CardinalityConstraintIF, ConstraintIF, ScopedConstraintIF
- Direct Known Subclasses:
- AbstractScopedTypedCardinalityConstraint, TopicNameConstraint, VariantConstraint
public abstract class AbstractScopedCardinalityConstraint
- extends AbstractCardinalityConstraint
- implements ScopedConstraintIF
INTERNAL: Common base class for constraints which have cardinality
and scope facets.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scope
protected ScopeSpecification scope
AbstractScopedCardinalityConstraint
public AbstractScopedCardinalityConstraint()
setScopeSpecification
public void setScopeSpecification(ScopeSpecification scope)
- Description copied from interface:
ScopedConstraintIF
- INTERNAL: Sets the object containing the scope specification.
- Specified by:
setScopeSpecification
in interface ScopedConstraintIF
getScopeSpecification
public ScopeSpecification getScopeSpecification()
- Description copied from interface:
ScopedConstraintIF
- INTERNAL: Returns the object containing the scope specification.
- Specified by:
getScopeSpecification
in interface ScopedConstraintIF
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-2012 Ontopia.