net.ontopia.topicmaps.schema.impl.osl
Class VariantConstraint

java.lang.Object
  extended by net.ontopia.topicmaps.schema.impl.osl.AbstractCardinalityConstraint
      extended by net.ontopia.topicmaps.schema.impl.osl.AbstractScopedCardinalityConstraint
          extended by net.ontopia.topicmaps.schema.impl.osl.VariantConstraint
All Implemented Interfaces:
CardinalityConstraintIF, ConstraintIF, ScopedConstraintIF

public class VariantConstraint
extends AbstractScopedCardinalityConstraint

INTERNAL: Represents a constraint on the allowed variant names of a base name.


Field Summary
protected  TopicNameConstraint parent
           
 
Fields inherited from class net.ontopia.topicmaps.schema.impl.osl.AbstractScopedCardinalityConstraint
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
VariantConstraint(TopicNameConstraint parent)
          INTERNAL: Creates a new variant name constraint belonging to the given base name constraint.
 
Method Summary
 TopicNameConstraint getParent()
          INTERNAL: Returns the base name constraint that is the parent of this constraint.
 
Methods inherited from class net.ontopia.topicmaps.schema.impl.osl.AbstractScopedCardinalityConstraint
getScopeSpecification, matches, setScopeSpecification
 
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

parent

protected TopicNameConstraint parent
Constructor Detail

VariantConstraint

public VariantConstraint(TopicNameConstraint parent)
INTERNAL: Creates a new variant name constraint belonging to the given base name constraint.

Method Detail

getParent

public TopicNameConstraint getParent()
INTERNAL: Returns the base name constraint that is the parent of this constraint.



Copyright © 2000-2012 Ontopia.