public class VariantConstraint extends AbstractScopedCardinalityConstraint
Modifier and Type | Field and Description |
---|---|
protected TopicNameConstraint |
parent |
scope
maximum, minimum
INFINITY
Constructor and Description |
---|
VariantConstraint(TopicNameConstraint parent)
INTERNAL: Creates a new variant name constraint belonging to the
given base name constraint.
|
Modifier and Type | Method and Description |
---|---|
TopicNameConstraint |
getParent()
INTERNAL: Returns the base name constraint that is the parent of
this constraint.
|
getScopeSpecification, matches, setScopeSpecification
getMaximum, getMinimum, setMaximum, setMinimum
protected TopicNameConstraint parent
public VariantConstraint(TopicNameConstraint parent)
public TopicNameConstraint getParent()