public interface Constraint extends PackageableElement
The following features are supported:
Constrained ElementContextSpecificationOwning Stateaction Of Local Postconditionextend Of ConditionOwning Transitionprotocol Transition Of Pre Conditionparameter Set Of Conditionmessage Of GuardBody ContextPost ContextPre Contextbehavior Of Postconditionbehavior Of Preconditionstate Invariant Of Invariantaction Of Local Preconditiontransition Of GuardUMLPackage.getConstraint()| Modifier and Type | Method and Description |
|---|---|
Action |
get_actionOfLocalPostcondition()
Returns the value of the 'action Of Local Postcondition' container reference.
|
Action |
get_actionOfLocalPrecondition()
Returns the value of the 'action Of Local Precondition' container reference.
|
Behavior |
get_behaviorOfPostcondition()
Returns the value of the 'behavior Of Postcondition' reference.
|
Behavior |
get_behaviorOfPrecondition()
Returns the value of the 'behavior Of Precondition' reference.
|
Extend |
get_extendOfCondition()
Returns the value of the 'extend Of Condition' container reference.
|
Message |
get_messageOfGuard()
Returns the value of the 'message Of Guard' container reference.
|
ParameterSet |
get_parameterSetOfCondition()
Returns the value of the 'parameter Set Of Condition' container reference.
|
ProtocolTransition |
get_protocolTransitionOfPreCondition()
Returns the value of the 'protocol Transition Of Pre Condition' reference.
|
StateInvariant |
get_stateInvariantOfInvariant()
Returns the value of the 'state Invariant Of Invariant' container reference.
|
Transition |
get_transitionOfGuard()
Returns the value of the 'transition Of Guard' reference.
|
Operation |
getBodyContext()
Returns the value of the 'Body Context' reference.
|
java.util.List<Element> |
getConstrainedElement()
Returns the value of the 'Constrained Element' reference list.
|
Namespace |
getContext()
Returns the value of the 'Context' container reference.
|
State |
getOwningState()
Returns the value of the 'Owning State' reference.
|
ProtocolTransition |
getOwningTransition()
Returns the value of the 'Owning Transition' reference.
|
Operation |
getPostContext()
Returns the value of the 'Post Context' reference.
|
Operation |
getPreContext()
Returns the value of the 'Pre Context' reference.
|
ValueSpecification |
getSpecification()
Returns the value of the 'Specification' containment reference.
|
boolean |
hasConstrainedElement() |
void |
set_actionOfLocalPostcondition(Action value)
Sets the value of the '
action Of Local Postcondition' container reference. |
void |
set_actionOfLocalPrecondition(Action value)
Sets the value of the '
action Of Local Precondition' container reference. |
void |
set_behaviorOfPostcondition(Behavior value)
Sets the value of the '
behavior Of Postcondition' reference. |
void |
set_behaviorOfPrecondition(Behavior value)
Sets the value of the '
behavior Of Precondition' reference. |
void |
set_extendOfCondition(Extend value)
Sets the value of the '
extend Of Condition' container reference. |
void |
set_messageOfGuard(Message value)
Sets the value of the '
message Of Guard' container reference. |
void |
set_parameterSetOfCondition(ParameterSet value)
Sets the value of the '
parameter Set Of Condition' container reference. |
void |
set_protocolTransitionOfPreCondition(ProtocolTransition value)
Sets the value of the '
protocol Transition Of Pre Condition' reference. |
void |
set_stateInvariantOfInvariant(StateInvariant value)
Sets the value of the '
state Invariant Of Invariant' container reference. |
void |
set_transitionOfGuard(Transition value)
Sets the value of the '
transition Of Guard' reference. |
void |
setBodyContext(Operation value)
Sets the value of the '
Body Context' reference. |
void |
setContext(Namespace value)
Sets the value of the '
Context' container reference. |
void |
setOwningState(State value)
Sets the value of the '
Owning State' reference. |
void |
setOwningTransition(ProtocolTransition value)
Sets the value of the '
Owning Transition' reference. |
void |
setPostContext(Operation value)
Sets the value of the '
Post Context' reference. |
void |
setPreContext(Operation value)
Sets the value of the '
Pre Context' reference. |
void |
setSpecification(ValueSpecification value)
Sets the value of the '
Specification' containment reference. |
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibilityget_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespaceget_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameterget_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, refOutermostCompositejava.util.List<Element> getConstrainedElement()
Element.
It is bidirectional and its opposite is 'constraint Of Constrained Element'.
The ordered set of Elements referenced by this Constraint.
UMLPackage.getConstraint_ConstrainedElement(),
Element.get_constraintOfConstrainedElement()ValueSpecification getSpecification()
Owning Constraint'.
A condition that must be true when evaluated in order for the Constraint to be satisfied.
setSpecification(ValueSpecification),
UMLPackage.getConstraint_Specification(),
ValueSpecification.getOwningConstraint()void setSpecification(ValueSpecification value)
Specification' containment reference.
value - the new value of the 'Specification' containment reference.getSpecification()Namespace getContext()
Owned Rule'.
Specifies the Namespace that owns the Constraint.
setContext(Namespace),
UMLPackage.getConstraint_Context(),
Namespace.getOwnedRule()void setContext(Namespace value)
Context' container reference.
value - the new value of the 'Context' container reference.getContext()Operation getBodyContext()
Body Condition'.
If the meaning of the 'Body Context' reference isn't clear, there really should be more of a description here...
setBodyContext(Operation),
UMLPackage.getConstraint_BodyContext(),
Operation.getBodyCondition()void setBodyContext(Operation value)
Body Context' reference.
value - the new value of the 'Body Context' reference.getBodyContext()ParameterSet get_parameterSetOfCondition()
Condition'.
If the meaning of the 'parameter Set Of Condition' container reference isn't clear, there really should be more of a description here...
set_parameterSetOfCondition(ParameterSet),
UMLPackage.getConstraint__parameterSetOfCondition(),
ParameterSet.getCondition()void set_parameterSetOfCondition(ParameterSet value)
parameter Set Of Condition' container reference.
value - the new value of the 'parameter Set Of Condition' container reference.get_parameterSetOfCondition()Message get_messageOfGuard()
Guard'.
If the meaning of the 'message Of Guard' container reference isn't clear, there really should be more of a description here...
set_messageOfGuard(Message),
UMLPackage.getConstraint__messageOfGuard(),
Message.getGuard()void set_messageOfGuard(Message value)
message Of Guard' container reference.
value - the new value of the 'message Of Guard' container reference.get_messageOfGuard()StateInvariant get_stateInvariantOfInvariant()
Invariant'.
If the meaning of the 'state Invariant Of Invariant' container reference isn't clear, there really should be more of a description here...
set_stateInvariantOfInvariant(StateInvariant),
UMLPackage.getConstraint__stateInvariantOfInvariant(),
StateInvariant.getInvariant()void set_stateInvariantOfInvariant(StateInvariant value)
state Invariant Of Invariant' container reference.
value - the new value of the 'state Invariant Of Invariant' container reference.get_stateInvariantOfInvariant()Transition get_transitionOfGuard()
Guard'.
If the meaning of the 'transition Of Guard' reference isn't clear, there really should be more of a description here...
set_transitionOfGuard(Transition),
UMLPackage.getConstraint__transitionOfGuard(),
Transition.getGuard()void set_transitionOfGuard(Transition value)
transition Of Guard' reference.
value - the new value of the 'transition Of Guard' reference.get_transitionOfGuard()State getOwningState()
State Invariant'.
If the meaning of the 'Owning State' container reference isn't clear, there really should be more of a description here...
setOwningState(State),
UMLPackage.getConstraint_OwningState(),
State.getStateInvariant()void setOwningState(State value)
Owning State' reference.
value - the new value of the 'Owning State' reference.getOwningState()ProtocolTransition getOwningTransition()
Post Condition'.
If the meaning of the 'Owning Transition' reference isn't clear, there really should be more of a description here...
setOwningTransition(ProtocolTransition),
UMLPackage.getConstraint_OwningTransition(),
ProtocolTransition.getPostCondition()void setOwningTransition(ProtocolTransition value)
Owning Transition' reference.
value - the new value of the 'Owning Transition' reference.getOwningTransition()ProtocolTransition get_protocolTransitionOfPreCondition()
Pre Condition'.
If the meaning of the 'protocol Transition Of Pre Condition' reference isn't clear, there really should be more of a description here...
set_protocolTransitionOfPreCondition(ProtocolTransition),
UMLPackage.getConstraint__protocolTransitionOfPreCondition(),
ProtocolTransition.getPreCondition()void set_protocolTransitionOfPreCondition(ProtocolTransition value)
protocol Transition Of Pre Condition' reference.
value - the new value of the 'protocol Transition Of Pre Condition' reference.get_protocolTransitionOfPreCondition()Behavior get_behaviorOfPrecondition()
Precondition'.
If the meaning of the 'behavior Of Precondition' reference isn't clear, there really should be more of a description here...
set_behaviorOfPrecondition(Behavior),
UMLPackage.getConstraint__behaviorOfPrecondition(),
Behavior.getPrecondition()void set_behaviorOfPrecondition(Behavior value)
behavior Of Precondition' reference.
value - the new value of the 'behavior Of Precondition' reference.get_behaviorOfPrecondition()Behavior get_behaviorOfPostcondition()
Postcondition'.
If the meaning of the 'behavior Of Postcondition' reference isn't clear, there really should be more of a description here...
set_behaviorOfPostcondition(Behavior),
UMLPackage.getConstraint__behaviorOfPostcondition(),
Behavior.getPostcondition()void set_behaviorOfPostcondition(Behavior value)
behavior Of Postcondition' reference.
value - the new value of the 'behavior Of Postcondition' reference.get_behaviorOfPostcondition()Action get_actionOfLocalPrecondition()
Local Precondition'.
If the meaning of the 'action Of Local Precondition' container reference isn't clear, there really should be more of a description here...
set_actionOfLocalPrecondition(Action),
UMLPackage.getConstraint__actionOfLocalPrecondition(),
Action.getLocalPrecondition()void set_actionOfLocalPrecondition(Action value)
action Of Local Precondition' container reference.
value - the new value of the 'action Of Local Precondition' container reference.get_actionOfLocalPrecondition()Action get_actionOfLocalPostcondition()
Local Postcondition'.
If the meaning of the 'action Of Local Postcondition' container reference isn't clear, there really should be more of a description here...
set_actionOfLocalPostcondition(Action),
UMLPackage.getConstraint__actionOfLocalPostcondition(),
Action.getLocalPostcondition()void set_actionOfLocalPostcondition(Action value)
action Of Local Postcondition' container reference.
value - the new value of the 'action Of Local Postcondition' container reference.get_actionOfLocalPostcondition()Operation getPreContext()
Precondition'.
If the meaning of the 'Pre Context' reference isn't clear, there really should be more of a description here...
setPreContext(Operation),
UMLPackage.getConstraint_PreContext(),
Operation.getPrecondition()void setPreContext(Operation value)
Pre Context' reference.
value - the new value of the 'Pre Context' reference.getPreContext()Operation getPostContext()
Postcondition'.
If the meaning of the 'Post Context' reference isn't clear, there really should be more of a description here...
setPostContext(Operation),
UMLPackage.getConstraint_PostContext(),
Operation.getPostcondition()void setPostContext(Operation value)
Post Context' reference.
value - the new value of the 'Post Context' reference.getPostContext()Extend get_extendOfCondition()
Condition'.
If the meaning of the 'extend Of Condition' container reference isn't clear, there really should be more of a description here...
set_extendOfCondition(Extend),
UMLPackage.getConstraint__extendOfCondition(),
Extend.getCondition()void set_extendOfCondition(Extend value)
extend Of Condition' container reference.
value - the new value of the 'extend Of Condition' container reference.get_extendOfCondition()boolean hasConstrainedElement()
throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException