public class ConstraintImpl extends ENamedElementImpl implements Constraint
The following features are implemented:
| Modifier and Type | Method and Description |
|---|---|
NotificationChain |
basicSetSpecification(ExpressionInOCL<EClassifier,EParameter> newSpecification,
NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
void |
eUnset(int featureID) |
<any> |
getConstrainedElements() |
ExpressionInOCL<EClassifier,EParameter> |
getSpecification() |
String |
getStereotype() |
void |
setSpecification(ExpressionInOCL<EClassifier,EParameter> newSpecification) |
void |
setStereotype(String newStereotype) |
String |
toString() |
public ExpressionInOCL<EClassifier,EParameter> getSpecification()
getSpecification in interface ConstraintConstraint.setSpecification(ExpressionInOCL),
EcorePackage.getConstraint_Specification()public NotificationChain basicSetSpecification(ExpressionInOCL<EClassifier,EParameter> newSpecification, NotificationChain msgs)
public void setSpecification(ExpressionInOCL<EClassifier,EParameter> newSpecification)
setSpecification in interface ConstraintnewSpecification - the new value of the 'Specification' containment reference.Constraint.getSpecification()public <any> getConstrainedElements()
getConstrainedElements in interface ConstraintEcorePackage.getConstraint_ConstrainedElements()public String getStereotype()
getStereotype in interface ConstraintConstraint.setStereotype(String),
EcorePackage.getConstraint_Stereotype()public void setStereotype(String newStereotype)
setStereotype in interface ConstraintnewStereotype - the new value of the 'Stereotype' attribute.Constraint.getStereotype()public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID,
Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public String toString()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.