public class TopicNameConstraint extends AbstractScopedCardinalityConstraint
Modifier and Type | Field and Description |
---|---|
protected TopicConstraintCollection |
parent |
protected Collection |
variants |
scope
maximum, minimum
INFINITY
Constructor and Description |
---|
TopicNameConstraint(TopicConstraintCollection parent)
INTERNAL: Creates a base name constraint.
|
Modifier and Type | Method and Description |
---|---|
void |
addVariantConstraint(VariantConstraint variant)
INTERNAL: Adds the variant constraint to this base name.
|
Collection |
getVariantConstraints()
INTERNAL: Returns the constraints on the variants of this base name.
|
void |
removeVariantConstraint(VariantConstraint variant)
INTERNAL: Removes the variant constraint from this base name.
|
getScopeSpecification, matches, setScopeSpecification
getMaximum, getMinimum, setMaximum, setMinimum
protected TopicConstraintCollection parent
protected Collection variants
public TopicNameConstraint(TopicConstraintCollection parent)
public Collection getVariantConstraints()
public void removeVariantConstraint(VariantConstraint variant)
public void addVariantConstraint(VariantConstraint variant)