|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.ecore.impl.FlatEObjectImpl
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
org.eclipse.emf.ocl.uml.impl.ConstraintImpl
public class ConstraintImpl
An implementation of the model object 'Constraint'.
The following features are implemented:
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList<E extends Object & Adapter> |
| Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected OCLExpression |
body
The cached value of the ' Body' containment reference |
protected EList |
constrainedElement
The cached value of the ' Constrained Element' reference list |
static String |
copyright
|
protected static String |
INSTANCE_VAR_NAME_EDEFAULT
The default value of the ' Instance Var Name' attribute |
protected String |
stereotype
The cached value of the ' Stereotype' attribute |
protected static String |
STEREOTYPE_EDEFAULT
The default value of the ' Stereotype' attribute |
| Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
|---|
name, NAME_EDEFAULT |
| Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
| Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
|---|
eContents, eCrossReferences, eProxyURI |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
| Fields inherited from interface org.eclipse.emf.ocl.uml.Constraint |
|---|
BODY, DEFINITION, DERIVATION, INITIAL, INVARIANT, POSTCONDITION, PRECONDITION |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
ConstraintImpl()
|
| Method Summary | |
|---|---|
Object |
accept(Visitor v)
|
NotificationChain |
basicSetBody(OCLExpression newBody,
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)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
OCLExpression |
getBody()
|
EList |
getConstrainedElement()
|
String |
getInstanceVarName()
|
String |
getStereotype()
|
void |
setBody(OCLExpression newBody)
|
void |
setInstanceVarName(String instanceVarName)
Sets the instance var name |
void |
setStereotype(String newStereotype)
|
String |
toString()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
|---|
eContents, eCrossReferences, getName, getNameGen, setName |
| Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eInverseAdd, eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
| Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
|---|
eIsProxy, eProperties, eProxyURI, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
|---|
getName, setName |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
|---|
public static final String copyright
protected static final String INSTANCE_VAR_NAME_EDEFAULT
Instance Var Name' attribute.
getInstanceVarName()protected OCLExpression body
Body' containment reference.
getBody()protected EList constrainedElement
Constrained Element' reference list.
getConstrainedElement()protected static final String STEREOTYPE_EDEFAULT
Stereotype' attribute.
getStereotype()protected String stereotype
Stereotype' attribute.
getStereotype()| Constructor Detail |
|---|
protected ConstraintImpl()
| Method Detail |
|---|
protected EClass eStaticClass()
eStaticClass in class ENamedElementImplpublic OCLExpression getBody()
getBody in interface Constraint
public NotificationChain basicSetBody(OCLExpression newBody,
NotificationChain msgs)
public void setBody(OCLExpression newBody)
setBody in interface ConstraintnewBody - the new value of the 'Body' containment reference.Constraint.getBody()public String getInstanceVarName()
getInstanceVarName in interface Constraintpublic void setInstanceVarName(String instanceVarName)
setInstanceVarName in interface Constraintpublic Object accept(Visitor v)
Visitable
accept in interface Visitable
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
eInverseRemove in class EModelElementImpl
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class ENamedElementImpl
public void eSet(int featureID,
Object newValue)
eSet in interface InternalEObjecteSet in class ENamedElementImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ENamedElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ENamedElementImplpublic EList getConstrainedElement()
getConstrainedElement in interface Constraintpublic String getStereotype()
getStereotype in interface ConstraintConstraint.setStereotype(String),
UMLPackage.getConstraint_Stereotype()public void setStereotype(String newStereotype)
setStereotype in interface ConstraintnewStereotype - the new value of the 'Stereotype' attribute.Constraint.getStereotype()public String toString()
toString in class ENamedElementImpl
|
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 | |||||||||