public interface StateInvariant extends InteractionFragment
From package UML::Interactions.
The following features are supported:
UMLPackage.getStateInvariant()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Constraint |
createInvariant(java.lang.String name)
Creates a new
Constraint ,with the specified 'Name', and sets the 'Invariant' containment reference |
Constraint |
createInvariant(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new
Constraint , with the specified 'Name', and sets the 'Invariant' containment reference |
Constraint |
getInvariant()
Returns the value of the 'Invariant' containment reference.
|
void |
setInvariant(Constraint value)
Sets the value of the '
Invariant ' containment reference |
createGeneralOrdering, getCovered, getCovered, getCovereds, getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, getGeneralOrdering, getGeneralOrderings, setEnclosingInteraction, setEnclosingOperand
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
Constraint getInvariant()
This feature subsets the following features:
A Constraint that should hold at runtime for this StateInvariant.From package UML::Interactions.
setInvariant(Constraint)
,
UMLPackage.getStateInvariant_Invariant()
void setInvariant(Constraint value)
Invariant
' containment reference.
value
- the new value of the 'Invariant' containment reference.getInvariant()
Constraint createInvariant(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Constraint
, with the specified 'Name', and sets the 'Invariant' containment reference.
name
- The 'Name' for the new Constraint
, or null
.eClass
- The Ecore class of the Constraint
to create.Constraint
.getInvariant()
Constraint createInvariant(java.lang.String name)
Constraint
,with the specified 'Name', and sets the 'Invariant' containment reference.
name
- The 'Name' for the new Constraint
, or null
.Constraint
.getInvariant()