public class ConstraintImpl extends NamedElementImpl implements Constraint
The following features are implemented:
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(Visitor<R> visitor)
Accept a visit from a visitor and return the result of a call to the derived type-specific visitXXX in the visitor.
|
NotificationChain |
basicSetOwnedSpecification(LanguageExpression newOwnedSpecification,
NotificationChain msgs) |
NotificationChain |
basicSetOwningPostContext(Operation newOwningPostContext,
NotificationChain msgs) |
NotificationChain |
basicSetOwningPreContext(Operation newOwningPreContext,
NotificationChain msgs) |
NotificationChain |
basicSetOwningState(State newOwningState,
NotificationChain msgs) |
NotificationChain |
basicSetOwningTransition(Transition newOwningTransition,
NotificationChain msgs) |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
Object |
eInvoke(int operationID,
<any> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
List<Element> |
getConstrainedElements() |
Namespace |
getContext()
Returns the value of the 'Context' reference.
|
LanguageExpression |
getOwnedSpecification() |
Operation |
getOwningPostContext() |
Operation |
getOwningPreContext() |
State |
getOwningState() |
Transition |
getOwningTransition() |
List<Constraint> |
getRedefinedConstraints() |
boolean |
isIsCallable() |
boolean |
isSetContext() |
void |
setIsCallable(boolean newIsCallable) |
void |
setOwnedSpecification(LanguageExpression newOwnedSpecification) |
void |
setOwningPostContext(Operation newOwningPostContext) |
void |
setOwningPreContext(Operation newOwningPreContext) |
void |
setOwningState(State newOwningState) |
void |
setOwningTransition(Transition newOwningTransition) |
String |
toString() |
boolean |
validateUniqueName(DiagnosticChain diagnostics,
Map<Object,Object> context) |
getName, setName
allOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
getESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloaded
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
allOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValue
public List<Element> getConstrainedElements()
getConstrainedElements
in interface Constraint
PivotPackage.getConstraint_ConstrainedElements()
public LanguageExpression getOwnedSpecification()
getOwnedSpecification
in interface Constraint
Constraint.setOwnedSpecification(LanguageExpression)
,
PivotPackage.getConstraint_OwnedSpecification()
,
LanguageExpression.getOwningConstraint()
public NotificationChain basicSetOwnedSpecification(LanguageExpression newOwnedSpecification, NotificationChain msgs)
public void setOwnedSpecification(LanguageExpression newOwnedSpecification)
setOwnedSpecification
in interface Constraint
newOwnedSpecification
- the new value of the 'Owned Specification' containment reference.Constraint.getOwnedSpecification()
public Operation getOwningPostContext()
getOwningPostContext
in interface Constraint
Constraint.setOwningPostContext(Operation)
,
PivotPackage.getConstraint_OwningPostContext()
,
Operation.getOwnedPostconditions()
public NotificationChain basicSetOwningPostContext(Operation newOwningPostContext, NotificationChain msgs)
public void setOwningPostContext(Operation newOwningPostContext)
setOwningPostContext
in interface Constraint
newOwningPostContext
- the new value of the 'Owning Post Context' container reference.Constraint.getOwningPostContext()
public Operation getOwningPreContext()
getOwningPreContext
in interface Constraint
Constraint.setOwningPreContext(Operation)
,
PivotPackage.getConstraint_OwningPreContext()
,
Operation.getOwnedPreconditions()
public NotificationChain basicSetOwningPreContext(Operation newOwningPreContext, NotificationChain msgs)
public void setOwningPreContext(Operation newOwningPreContext)
setOwningPreContext
in interface Constraint
newOwningPreContext
- the new value of the 'Owning Pre Context' container reference.Constraint.getOwningPreContext()
public void setIsCallable(boolean newIsCallable)
setIsCallable
in interface Constraint
newIsCallable
- the new value of the 'Is Callable' attribute.Constraint.isIsCallable()
public State getOwningState()
getOwningState
in interface Constraint
Constraint.setOwningState(State)
,
PivotPackage.getConstraint_OwningState()
,
State.getOwnedStateInvariant()
public NotificationChain basicSetOwningState(State newOwningState, NotificationChain msgs)
public void setOwningState(State newOwningState)
setOwningState
in interface Constraint
newOwningState
- the new value of the 'Owning State' container reference.Constraint.getOwningState()
public Transition getOwningTransition()
getOwningTransition
in interface Constraint
Constraint.setOwningTransition(Transition)
,
PivotPackage.getConstraint_OwningTransition()
,
Transition.getOwnedGuard()
public NotificationChain basicSetOwningTransition(Transition newOwningTransition, NotificationChain msgs)
public void setOwningTransition(Transition newOwningTransition)
setOwningTransition
in interface Constraint
newOwningTransition
- the new value of the 'Owning Transition' container reference.Constraint.getOwningTransition()
public List<Constraint> getRedefinedConstraints()
getRedefinedConstraints
in interface Constraint
PivotPackage.getConstraint_RedefinedConstraints()
public boolean validateUniqueName(DiagnosticChain diagnostics, Map<Object,Object> context)
validateUniqueName
in interface Constraint
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class ElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in class NamedElementImpl
public void eSet(int featureID, Object newValue)
eSet
in class NamedElementImpl
public void eUnset(int featureID)
eUnset
in class NamedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in class NamedElementImpl
public Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke
in class ElementImpl
InvocationTargetException
public <R> R accept(Visitor<R> visitor)
Element
public Namespace getContext()
Constraint
If the meaning of the 'Context' reference isn't clear, there really should be more of a description here...
getContext
in interface Constraint
PivotPackage.getConstraint_Context()
public boolean isIsCallable()
isIsCallable
in interface Constraint
Constraint.setIsCallable(boolean)
,
PivotPackage.getConstraint_IsCallable()
public boolean isSetContext()
public String toString()
NamedElementImpl
toString
in class NamedElementImpl
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.