public abstract class AbstractScopedCardinalityConstraint extends AbstractCardinalityConstraint implements ScopedConstraintIF
| Modifier and Type | Field and Description |
|---|---|
protected ScopeSpecification |
scope |
maximum, minimumINFINITY| Constructor and Description |
|---|
AbstractScopedCardinalityConstraint() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getMaximum, getMinimum, setMaximum, setMinimumprotected ScopeSpecification scope
public void setScopeSpecification(ScopeSpecification scope)
ScopedConstraintIFsetScopeSpecification in interface ScopedConstraintIFpublic ScopeSpecification getScopeSpecification()
ScopedConstraintIFgetScopeSpecification in interface ScopedConstraintIFpublic boolean matches(TMObjectIF object)
ConstraintIFmatches in interface ConstraintIF