|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint net.ontopia.topicmaps.schema.impl.osl.AbstractScopedCardinalityConstraint
public abstract class AbstractScopedCardinalityConstraint
INTERNAL: Common base class for constraints which have cardinality and scope facets.
Field Summary | |
---|---|
protected ScopeSpecification |
scope
|
Fields inherited from class net.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint |
---|
maximum, minimum |
Fields inherited from interface net.ontopia.topicmaps.schema.core.CardinalityConstraintIF |
---|
INFINITY |
Constructor Summary | |
---|---|
AbstractScopedCardinalityConstraint()
|
Method Summary | |
---|---|
ScopeSpecification |
getScopeSpecification()
INTERNAL: Returns the object containing the scope specification. |
boolean |
matches(TMObjectIF object)
PUBLIC: Returns true if the object given is constrained by this constraint. |
void |
setScopeSpecification(ScopeSpecification scope)
INTERNAL: Sets the object containing the scope specification. |
Methods inherited from class net.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint |
---|
getMaximum, getMinimum, setMaximum, setMinimum |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ScopeSpecification scope
Constructor Detail |
---|
public AbstractScopedCardinalityConstraint()
Method Detail |
---|
public void setScopeSpecification(ScopeSpecification scope)
ScopedConstraintIF
setScopeSpecification
in interface ScopedConstraintIF
public ScopeSpecification getScopeSpecification()
ScopedConstraintIF
getScopeSpecification
in interface ScopedConstraintIF
public boolean matches(TMObjectIF object)
ConstraintIF
matches
in interface ConstraintIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |