public interface StateInvariant extends InteractionFragment
A StateInvariant is a runtime constraint on the participants of the Interaction. It may be used to specify a variety of different kinds of Constraints, such as values of Attributes or Variables, internal or external States, and so on. A StateInvariant is an InteractionFragment and it is placed on a Lifeline.
The following features are supported:
UMLPackage.getStateInvariant()| Modifier and Type | Method and Description | 
|---|---|
java.util.Collection<Lifeline> | 
getCovered()
Returns the value of the 'Covered' reference list. 
 | 
Constraint | 
getInvariant()
Returns the value of the 'Invariant' containment reference. 
 | 
void | 
setInvariant(Constraint value)
Sets the value of the ' 
Invariant' containment
 reference. | 
getEnclosingInteraction, getEnclosingOperand, getGeneralOrdering, hasCovered, hasGeneralOrdering, setEnclosingInteraction, setEnclosingOperandget_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibilityget_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElementget_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalIDgetID, getMDExtension, getMdExtensions, setIDeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliveraccept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetIDrefClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite@CheckForNull Constraint getInvariant()
state Invariant Of Invariant'.
 
 
 
 A Constraint that should hold at runtime for this StateInvariant.
 setInvariant(Constraint), 
UMLPackage.getStateInvariant_Invariant(), 
Constraint.get_stateInvariantOfInvariant()void setInvariant(@CheckForNull
                  Constraint value)
Invariant' containment
 reference.
 
 value - the new value of the 'Invariant' containment reference.getInvariant()java.util.Collection<Lifeline> getCovered()
Lifeline.
 It is bidirectional and its opposite is
 'state Invariant Of Covered'.
 
 
 
 References the Lifeline on which the StateInvariant appears.
 getCovered in interface InteractionFragmentUMLPackage.getStateInvariant_Covered(), 
Lifeline.get_stateInvariantOfCovered()