org.eclipse.ocl.ecore.delegate
Class OCLSettingDelegate
java.lang.Object
org.eclipse.emf.ecore.util.BasicSettingDelegate
org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless
org.eclipse.ocl.ecore.delegate.OCLSettingDelegate
- All Implemented Interfaces:
- org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate
public class OCLSettingDelegate
- extends org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless
An implementation of a setting delegate that computes OCL derived features.
- Since:
- 3.0
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.BasicSettingDelegate |
org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate |
org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate.Factory |
Fields inherited from class org.eclipse.emf.ecore.util.BasicSettingDelegate |
eStructuralFeature |
Constructor Summary |
OCLSettingDelegate(OCLDelegateDomain delegateDomain,
org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
Initializes me with my structural feature. |
Method Summary |
protected java.lang.Object |
get(org.eclipse.emf.ecore.InternalEObject owner,
boolean resolve,
boolean coreType)
|
java.lang.String |
getFeatureName()
|
protected boolean |
isSet(org.eclipse.emf.ecore.InternalEObject owner)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless |
dynamicGet, dynamicInverseAdd, dynamicInverseRemove, dynamicIsSet, dynamicSet, dynamicSetting, dynamicUnset, inverseAdd, inverseRemove, set, setting, unset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
delegateDomain
protected final OCLDelegateDomain delegateDomain
OCLSettingDelegate
public OCLSettingDelegate(OCLDelegateDomain delegateDomain,
org.eclipse.emf.ecore.EStructuralFeature structuralFeature)
- Initializes me with my structural feature.
- Parameters:
structuralFeature
- the structural feature that I handle
- Throws:
ParserException
- if the structural feature's OCL derivation is invalid
get
protected java.lang.Object get(org.eclipse.emf.ecore.InternalEObject owner,
boolean resolve,
boolean coreType)
- Specified by:
get
in class org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless
getFeatureName
public java.lang.String getFeatureName()
isSet
protected boolean isSet(org.eclipse.emf.ecore.InternalEObject owner)
- Specified by:
isSet
in class org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object