|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.ecore.xcore.interpreter.XcoreSettingDelegate
public class XcoreSettingDelegate
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.SettingDelegate |
---|
EStructuralFeature.Internal.SettingDelegate.Factory |
Constructor Summary | |
---|---|
XcoreSettingDelegate()
|
Method Summary | |
---|---|
java.lang.Object |
dynamicGet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int dynamicFeatureID,
boolean resolve,
boolean coreType)
Returns the value of the feature of this owner. |
NotificationChain |
dynamicInverseAdd(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int dynamicFeatureID,
InternalEObject otherEnd,
NotificationChain notifications)
Adds the object at the other end of a bidirectional reference to the appropriate feature and returns accumulated notifications. |
NotificationChain |
dynamicInverseRemove(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int dynamicFeatureID,
InternalEObject otherEnd,
NotificationChain notifications)
Removes the object at the other end of a bidirectional reference from the appropriate feature and returns accumulated notifications. |
boolean |
dynamicIsSet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int dynamicFeatureID)
Returns whether the feature of the owner is considered to be set. |
void |
dynamicSet(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int dynamicFeatureID,
java.lang.Object newValue)
Sets the value of the given feature of the owner to the new value. |
EStructuralFeature.Setting |
dynamicSetting(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int dynamicFeatureID)
Returns a setting that can be used to access the owner's feature. |
void |
dynamicUnset(InternalEObject owner,
EStructuralFeature.Internal.DynamicValueHolder settings,
int dynamicFeatureID)
Unsets the value of the given feature of the owner. |
void |
initialize(org.eclipse.xtext.xbase.XBlockExpression getBody,
org.eclipse.xtext.xbase.XBlockExpression setBody,
org.eclipse.xtext.xbase.XBlockExpression isSetBody,
org.eclipse.xtext.xbase.XBlockExpression unsetBody,
EStructuralFeature eStructuralFeature,
XcoreInterpreter interpreter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XcoreSettingDelegate()
Method Detail |
---|
public void initialize(org.eclipse.xtext.xbase.XBlockExpression getBody, org.eclipse.xtext.xbase.XBlockExpression setBody, org.eclipse.xtext.xbase.XBlockExpression isSetBody, org.eclipse.xtext.xbase.XBlockExpression unsetBody, EStructuralFeature eStructuralFeature, XcoreInterpreter interpreter)
public EStructuralFeature.Setting dynamicSetting(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int dynamicFeatureID)
EStructuralFeature.Internal.SettingDelegate
dynamicSetting
in interface EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.
InternalEObject.eSetting(EStructuralFeature)
public java.lang.Object dynamicGet(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int dynamicFeatureID, boolean resolve, boolean coreType)
EStructuralFeature.Internal.SettingDelegate
dynamicGet
in interface EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.resolve
- whether to resolve.coreType
- return the core EMF object if value is a non-EMF wrapper/view.
EObject.eGet(EStructuralFeature, boolean)
public void dynamicSet(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int dynamicFeatureID, java.lang.Object newValue)
EStructuralFeature.Internal.SettingDelegate
dynamicSet
in interface EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.newValue
- the new value for the feature.EObject.eSet(EStructuralFeature, Object)
public boolean dynamicIsSet(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int dynamicFeatureID)
EStructuralFeature.Internal.SettingDelegate
dynamicIsSet
in interface EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.
EObject.eIsSet(EStructuralFeature)
public void dynamicUnset(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int dynamicFeatureID)
EStructuralFeature.Internal.SettingDelegate
dynamicUnset
in interface EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.EObject.eUnset(EStructuralFeature)
public NotificationChain dynamicInverseAdd(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int dynamicFeatureID, InternalEObject otherEnd, NotificationChain notifications)
EStructuralFeature.Internal.SettingDelegate
dynamicInverseAdd
in interface EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.otherEnd
- the object to inverse add.notifications
- the incoming accumulated notifications.
InternalEObject.eInverseAdd(org.eclipse.emf.ecore.InternalEObject, int, java.lang.Class>, org.eclipse.emf.common.notify.NotificationChain)
public NotificationChain dynamicInverseRemove(InternalEObject owner, EStructuralFeature.Internal.DynamicValueHolder settings, int dynamicFeatureID, InternalEObject otherEnd, NotificationChain notifications)
EStructuralFeature.Internal.SettingDelegate
dynamicInverseRemove
in interface EStructuralFeature.Internal.SettingDelegate
owner
- the owner of the feature.settings
- the owner's array of cached values.dynamicFeatureID
- the feature's index in the owner's cached dynamic values.otherEnd
- the object to inverse remove.notifications
- the incoming accumulated notifications.
InternalEObject.eInverseRemove(org.eclipse.emf.ecore.InternalEObject, int, java.lang.Class>, org.eclipse.emf.common.notify.NotificationChain)
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |