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, setNameallOwnedElements, getAnnotatingComments, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuegetESObject, getETarget, getImage, getTarget, getText, setESObject, setTarget, unloadedequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetName, setNameallOwnedElements, getAnnotatingComments, getESObject, getETarget, getOwnedAnnotations, getOwnedComments, getOwnedExtensions, getValuepublic List<Element> getConstrainedElements()
getConstrainedElements in interface ConstraintPivotPackage.getConstraint_ConstrainedElements()public LanguageExpression getOwnedSpecification()
getOwnedSpecification in interface ConstraintConstraint.setOwnedSpecification(LanguageExpression),
PivotPackage.getConstraint_OwnedSpecification(),
LanguageExpression.getOwningConstraint()public NotificationChain basicSetOwnedSpecification(LanguageExpression newOwnedSpecification, NotificationChain msgs)
public void setOwnedSpecification(LanguageExpression newOwnedSpecification)
setOwnedSpecification in interface ConstraintnewOwnedSpecification - the new value of the 'Owned Specification' containment reference.Constraint.getOwnedSpecification()public Operation getOwningPostContext()
getOwningPostContext in interface ConstraintConstraint.setOwningPostContext(Operation),
PivotPackage.getConstraint_OwningPostContext(),
Operation.getOwnedPostconditions()public NotificationChain basicSetOwningPostContext(Operation newOwningPostContext, NotificationChain msgs)
public void setOwningPostContext(Operation newOwningPostContext)
setOwningPostContext in interface ConstraintnewOwningPostContext - the new value of the 'Owning Post Context' container reference.Constraint.getOwningPostContext()public Operation getOwningPreContext()
getOwningPreContext in interface ConstraintConstraint.setOwningPreContext(Operation),
PivotPackage.getConstraint_OwningPreContext(),
Operation.getOwnedPreconditions()public NotificationChain basicSetOwningPreContext(Operation newOwningPreContext, NotificationChain msgs)
public void setOwningPreContext(Operation newOwningPreContext)
setOwningPreContext in interface ConstraintnewOwningPreContext - the new value of the 'Owning Pre Context' container reference.Constraint.getOwningPreContext()public void setIsCallable(boolean newIsCallable)
setIsCallable in interface ConstraintnewIsCallable - the new value of the 'Is Callable' attribute.Constraint.isIsCallable()public State getOwningState()
getOwningState in interface ConstraintConstraint.setOwningState(State),
PivotPackage.getConstraint_OwningState(),
State.getOwnedStateInvariant()public NotificationChain basicSetOwningState(State newOwningState, NotificationChain msgs)
public void setOwningState(State newOwningState)
setOwningState in interface ConstraintnewOwningState - the new value of the 'Owning State' container reference.Constraint.getOwningState()public Transition getOwningTransition()
getOwningTransition in interface ConstraintConstraint.setOwningTransition(Transition),
PivotPackage.getConstraint_OwningTransition(),
Transition.getOwnedGuard()public NotificationChain basicSetOwningTransition(Transition newOwningTransition, NotificationChain msgs)
public void setOwningTransition(Transition newOwningTransition)
setOwningTransition in interface ConstraintnewOwningTransition - the new value of the 'Owning Transition' container reference.Constraint.getOwningTransition()public List<Constraint> getRedefinedConstraints()
getRedefinedConstraints in interface ConstraintPivotPackage.getConstraint_RedefinedConstraints()public boolean validateUniqueName(DiagnosticChain diagnostics,
Map<Object,Object> context)
validateUniqueName in interface Constraintpublic NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseAdd in class ElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class ElementImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in class NamedElementImplpublic void eSet(int featureID,
Object newValue)
eSet in class NamedElementImplpublic void eUnset(int featureID)
eUnset in class NamedElementImplpublic boolean eIsSet(int featureID)
eIsSet in class NamedElementImplpublic Object eInvoke(int operationID, <any> arguments) throws InvocationTargetException
eInvoke in class ElementImplInvocationTargetExceptionpublic <R> R accept(Visitor<R> visitor)
Elementpublic Namespace getContext()
ConstraintIf the meaning of the 'Context' reference isn't clear, there really should be more of a description here...
getContext in interface ConstraintPivotPackage.getConstraint_Context()public boolean isIsCallable()
isIsCallable in interface ConstraintConstraint.setIsCallable(boolean),
PivotPackage.getConstraint_IsCallable()public boolean isSetContext()
public String toString()
NamedElementImpltoString in class NamedElementImplCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.