|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectENamedElementImpl
org.eclipse.ocl.ecore.impl.ConstraintImpl
public class ConstraintImpl
An implementation of the model object 'Constraint'.
The following features are implemented:
Field Summary | |
---|---|
protected |
constrainedElements
The cached value of the ' Constrained Elements ' reference list |
protected ExpressionInOCL<EClassifier,EParameter> |
specification
The cached value of the ' Specification ' containment reference |
protected java.lang.String |
stereotype
The cached value of the ' Stereotype ' attribute |
protected static java.lang.String |
STEREOTYPE_EDEFAULT
The default value of the ' Stereotype ' attribute |
Constructor Summary | |
---|---|
protected |
ConstraintImpl()
|
Method Summary | |
---|---|
NotificationChain |
basicSetSpecification(ExpressionInOCL<EClassifier,EParameter> newSpecification,
NotificationChain msgs)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
|
getConstrainedElements()
|
ExpressionInOCL<EClassifier,EParameter> |
getSpecification()
|
java.lang.String |
getStereotype()
|
void |
setSpecification(ExpressionInOCL<EClassifier,EParameter> newSpecification)
|
void |
setStereotype(java.lang.String newStereotype)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ExpressionInOCL<EClassifier,EParameter> specification
Specification
' containment reference.
getSpecification()
protectedconstrainedElements
Constrained Elements
' reference list.
getConstrainedElements()
protected static final java.lang.String STEREOTYPE_EDEFAULT
Stereotype
' attribute.
getStereotype()
protected java.lang.String stereotype
Stereotype
' attribute.
getStereotype()
Constructor Detail |
---|
protected ConstraintImpl()
Method Detail |
---|
protected EClass eStaticClass()
public ExpressionInOCL<EClassifier,EParameter> getSpecification()
getSpecification
in interface Constraint
Constraint.setSpecification(ExpressionInOCL)
,
EcorePackage.getConstraint_Specification()
public NotificationChain basicSetSpecification(ExpressionInOCL<EClassifier,EParameter> newSpecification, NotificationChain msgs)
public void setSpecification(ExpressionInOCL<EClassifier,EParameter> newSpecification)
setSpecification
in interface Constraint
newSpecification
- the new value of the 'Specification' containment reference.Constraint.getSpecification()
publicgetConstrainedElements()
getConstrainedElements
in interface Constraint
EcorePackage.getConstraint_ConstrainedElements()
public java.lang.String getStereotype()
getStereotype
in interface Constraint
Constraint.setStereotype(String)
,
EcorePackage.getConstraint_Stereotype()
public void setStereotype(java.lang.String newStereotype)
setStereotype
in interface Constraint
newStereotype
- the new value of the 'Stereotype' attribute.Constraint.getStereotype()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, java.lang.Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public java.lang.String toString()
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |