Interface Constraint
- All Superinterfaces:
BaseElement
,Cloneable
,Comparable
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,PackageableElement
,ParameterableElement
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
- All Known Subinterfaces:
DurationConstraint
,InteractionConstraint
,IntervalConstraint
,TimeConstraint
A Constraint is a condition or restriction expressed in natural language text or in a machine readable language for the purpose of declaring some of the semantics of an Element or set of Elements.
The following features are supported:
Constrained Element
Context
Specification
Owning State
action Of Local Postcondition
extend Of Condition
Owning Transition
protocol Transition Of Pre Condition
parameter Set Of Condition
message Of Guard
Body Context
Post Context
Pre Context
behavior Of Postcondition
behavior Of Precondition
state Invariant Of Invariant
action Of Local Precondition
transition Of Guard
- See Also:
- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'action Of Local Postcondition' container reference.Returns the value of the 'action Of Local Precondition' container reference.Returns the value of the 'behavior Of Postcondition' reference.Returns the value of the 'behavior Of Precondition' reference.Returns the value of the 'extend Of Condition' container reference.Returns the value of the 'message Of Guard' container reference.Returns the value of the 'parameter Set Of Condition' container reference.Returns the value of the 'protocol Transition Of Pre Condition' reference.Returns the value of the 'state Invariant Of Invariant' container reference.Returns the value of the 'transition Of Guard' reference.Returns the value of the 'Body Context' reference.Returns the value of the 'Constrained Element' reference list.Returns the value of the 'Context' container reference.Returns the value of the 'Owning State' reference.Returns the value of the 'Owning Transition' reference.Returns the value of the 'Post Context' reference.Returns the value of the 'Pre Context' reference.Returns the value of the 'Specification' containment reference.boolean
void
Sets the value of the 'action Of Local Postcondition
' container reference.void
Sets the value of the 'action Of Local Precondition
' container reference.void
Sets the value of the 'behavior Of Postcondition
' reference.void
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
Sets the value of the 'parameter Set Of Condition
' container reference.void
Sets the value of the 'protocol Transition Of Pre Condition
' reference.void
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
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
Sets the value of the 'Specification
' containment reference.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetID
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
Methods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
get_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, setNamespace
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.PackageableElement
get_componentOfPackagedElement, get_elementImportOfImportedElement, get_manifestationOfUtilizedElement, getOwningPackage, getVisibility, has_elementImportOfImportedElement, has_manifestationOfUtilizedElement, set_componentOfPackagedElement, setOwningPackage, setVisibility
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.auxiliaryconstructs.mdtemplates.ParameterableElement
get_templateParameterOfDefault, get_templateParameterOfOwnedDefault, get_templateParameterSubstitutionOfActual, get_templateParameterSubstitutionOfOwnedActual, getOwningTemplateParameter, getTemplateParameter, has_templateParameterOfDefault, has_templateParameterSubstitutionOfActual, set_templateParameterOfOwnedDefault, set_templateParameterSubstitutionOfOwnedActual, setOwningTemplateParameter, setTemplateParameter
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
-
Method Details
-
getConstrainedElement
Returns the value of the 'Constrained Element' reference list. The list contents are of typeElement
. It is bidirectional and its opposite is 'constraint Of Constrained Element
'. The ordered set of Elements referenced by this Constraint.- Returns:
- the value of the 'Constrained Element' reference list.
- See Also:
- Model:
- opposite="_constraintOfConstrainedElement"
- Generated:
-
getSpecification
Returns the value of the 'Specification' containment reference. It is bidirectional and its opposite is 'Owning Constraint
'. A condition that must be true when evaluated in order for the Constraint to be satisfied.- Returns:
- the value of the 'Specification' containment reference.
- See Also:
- Model:
- opposite="owningConstraint" containment="true" resolveProxies="true" required="true" ordered="false"
- Generated:
-
setSpecification
Sets the value of the 'Specification
' containment reference.- Parameters:
value
- the new value of the 'Specification' containment reference.- See Also:
- Generated:
-
getContext
Returns the value of the 'Context' container reference. It is bidirectional and its opposite is 'Owned Rule
'. Specifies the Namespace that owns the Constraint.- Returns:
- the value of the 'Context' container reference.
- See Also:
- Model:
- opposite="ownedRule" transient="false" ordered="false"
- Generated:
-
setContext
Sets the value of the 'Context
' container reference.- Parameters:
value
- the new value of the 'Context' container reference.- See Also:
- Generated:
-
getBodyContext
Returns the value of the 'Body Context' reference. It is bidirectional and its opposite is 'Body Condition
'.If the meaning of the 'Body Context' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Body Context' reference.
- See Also:
- Model:
- opposite="bodyCondition" ordered="false"
- Generated:
-
setBodyContext
Sets the value of the 'Body Context
' reference.- Parameters:
value
- the new value of the 'Body Context' reference.- See Also:
- Generated:
-
get_parameterSetOfCondition
Returns the value of the 'parameter Set Of Condition' container reference. It is bidirectional and its opposite is 'Condition
'.If the meaning of the 'parameter Set Of Condition' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'parameter Set Of Condition' container reference.
- See Also:
- Model:
- opposite="condition" transient="false" ordered="false"
- Generated:
-
set_parameterSetOfCondition
Sets the value of the 'parameter Set Of Condition
' container reference.- Parameters:
value
- the new value of the 'parameter Set Of Condition' container reference.- See Also:
- Generated:
-
get_messageOfGuard
Returns the value of the 'message Of Guard' container reference. It is bidirectional and its opposite is 'Guard
'.If the meaning of the 'message Of Guard' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'message Of Guard' container reference.
- See Also:
- Model:
- opposite="guard" transient="false" ordered="false"
- Generated:
-
set_messageOfGuard
Sets the value of the 'message Of Guard
' container reference.- Parameters:
value
- the new value of the 'message Of Guard' container reference.- See Also:
- Generated:
-
get_stateInvariantOfInvariant
Returns the value of the 'state Invariant Of Invariant' container reference. It is bidirectional and its opposite is 'Invariant
'.If the meaning of the 'state Invariant Of Invariant' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'state Invariant Of Invariant' container reference.
- See Also:
- Model:
- opposite="invariant" transient="false" ordered="false"
- Generated:
-
set_stateInvariantOfInvariant
Sets the value of the 'state Invariant Of Invariant
' container reference.- Parameters:
value
- the new value of the 'state Invariant Of Invariant' container reference.- See Also:
- Generated:
-
get_transitionOfGuard
Returns the value of the 'transition Of Guard' reference. It is bidirectional and its opposite is 'Guard
'.If the meaning of the 'transition Of Guard' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'transition Of Guard' reference.
- See Also:
- Model:
- opposite="guard" ordered="false"
- Generated:
-
set_transitionOfGuard
Sets the value of the 'transition Of Guard
' reference.- Parameters:
value
- the new value of the 'transition Of Guard' reference.- See Also:
- Generated:
-
getOwningState
Returns the value of the 'Owning State' reference. It is bidirectional and its opposite is 'State Invariant
'.If the meaning of the 'Owning State' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Owning State' reference.
- See Also:
- Model:
- opposite="stateInvariant" ordered="false"
- Generated:
-
setOwningState
Sets the value of the 'Owning State
' reference.- Parameters:
value
- the new value of the 'Owning State' reference.- See Also:
- Generated:
-
getOwningTransition
Returns the value of the 'Owning Transition' reference. It is bidirectional and its opposite is 'Post Condition
'.If the meaning of the 'Owning Transition' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Owning Transition' reference.
- See Also:
- Model:
- opposite="postCondition" ordered="false"
- Generated:
-
setOwningTransition
Sets the value of the 'Owning Transition
' reference.- Parameters:
value
- the new value of the 'Owning Transition' reference.- See Also:
- Generated:
-
get_protocolTransitionOfPreCondition
Returns the value of the 'protocol Transition Of Pre Condition' reference. It is bidirectional and its opposite is '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...
- Returns:
- the value of the 'protocol Transition Of Pre Condition' reference.
- See Also:
- Model:
- opposite="preCondition" ordered="false"
- Generated:
-
set_protocolTransitionOfPreCondition
Sets the value of the 'protocol Transition Of Pre Condition
' reference.- Parameters:
value
- the new value of the 'protocol Transition Of Pre Condition' reference.- See Also:
- Generated:
-
get_behaviorOfPrecondition
Returns the value of the 'behavior Of Precondition' reference. It is bidirectional and its opposite is 'Precondition
'.If the meaning of the 'behavior Of Precondition' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'behavior Of Precondition' reference.
- See Also:
- Model:
- opposite="precondition" ordered="false"
- Generated:
-
set_behaviorOfPrecondition
Sets the value of the 'behavior Of Precondition
' reference.- Parameters:
value
- the new value of the 'behavior Of Precondition' reference.- See Also:
- Generated:
-
get_behaviorOfPostcondition
Returns the value of the 'behavior Of Postcondition' reference. It is bidirectional and its opposite is 'Postcondition
'.If the meaning of the 'behavior Of Postcondition' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'behavior Of Postcondition' reference.
- See Also:
- Model:
- opposite="postcondition" ordered="false"
- Generated:
-
set_behaviorOfPostcondition
Sets the value of the 'behavior Of Postcondition
' reference.- Parameters:
value
- the new value of the 'behavior Of Postcondition' reference.- See Also:
- Generated:
-
get_actionOfLocalPrecondition
Returns the value of the 'action Of Local Precondition' container reference. It is bidirectional and its opposite is '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...
- Returns:
- the value of the 'action Of Local Precondition' container reference.
- See Also:
- Model:
- opposite="localPrecondition" transient="false" ordered="false"
- Generated:
-
set_actionOfLocalPrecondition
Sets the value of the 'action Of Local Precondition
' container reference.- Parameters:
value
- the new value of the 'action Of Local Precondition' container reference.- See Also:
- Generated:
-
get_actionOfLocalPostcondition
Returns the value of the 'action Of Local Postcondition' container reference. It is bidirectional and its opposite is '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...
- Returns:
- the value of the 'action Of Local Postcondition' container reference.
- See Also:
- Model:
- opposite="localPostcondition" transient="false" ordered="false"
- Generated:
-
set_actionOfLocalPostcondition
Sets the value of the 'action Of Local Postcondition
' container reference.- Parameters:
value
- the new value of the 'action Of Local Postcondition' container reference.- See Also:
- Generated:
-
getPreContext
Returns the value of the 'Pre Context' reference. It is bidirectional and its opposite is 'Precondition
'.If the meaning of the 'Pre Context' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Pre Context' reference.
- See Also:
- Model:
- opposite="precondition" ordered="false"
- Generated:
-
setPreContext
Sets the value of the 'Pre Context
' reference.- Parameters:
value
- the new value of the 'Pre Context' reference.- See Also:
- Generated:
-
getPostContext
Returns the value of the 'Post Context' reference. It is bidirectional and its opposite is 'Postcondition
'.If the meaning of the 'Post Context' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Post Context' reference.
- See Also:
- Model:
- opposite="postcondition" ordered="false"
- Generated:
-
setPostContext
Sets the value of the 'Post Context
' reference.- Parameters:
value
- the new value of the 'Post Context' reference.- See Also:
- Generated:
-
get_extendOfCondition
Returns the value of the 'extend Of Condition' container reference. It is bidirectional and its opposite is 'Condition
'.If the meaning of the 'extend Of Condition' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'extend Of Condition' container reference.
- See Also:
- Model:
- opposite="condition" transient="false" ordered="false"
- Generated:
-
set_extendOfCondition
Sets the value of the 'extend Of Condition
' container reference.- Parameters:
value
- the new value of the 'extend Of Condition' container reference.- See Also:
- Generated:
-
hasConstrainedElement
boolean hasConstrainedElement() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-