public static class FeatureMapUtil.FeatureValue extends java.lang.Object implements EStructuralFeature.Setting
Modifier and Type | Field and Description |
---|---|
protected EStructuralFeature |
feature |
protected FeatureMap.Internal |
featureMap |
Constructor and Description |
---|
FeatureMapUtil.FeatureValue(EStructuralFeature feature,
FeatureMap.Internal featureMap) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(boolean resolve)
Returns the value held by the feature of the object;
it optionally
resolves the value. |
EObject |
getEObject()
Returns the object holding a value.
|
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object.
|
java.lang.Object |
getFeature() |
int |
getFeatureID() |
boolean |
isSet()
Returns whether a value is held by the feature of the object.
|
void |
set(java.lang.Object newValue)
Set the value held by the feature of the object.
|
void |
unset()
Unsets the value held by the feature of the object.
|
protected EStructuralFeature feature
protected FeatureMap.Internal featureMap
public FeatureMapUtil.FeatureValue(EStructuralFeature feature, FeatureMap.Internal featureMap)
public java.lang.Object get(boolean resolve)
EStructuralFeature.Setting
resolves
the value.get
in interface EStructuralFeature.Setting
resolve
- whether to resolve.EObject.eGet(EStructuralFeature, boolean)
public void set(java.lang.Object newValue)
EStructuralFeature.Setting
set
in interface EStructuralFeature.Setting
newValue
- the newValue.EObject.eSet(EStructuralFeature, Object)
public boolean isSet()
EStructuralFeature.Setting
isSet
in interface EStructuralFeature.Setting
EObject.eIsSet(EStructuralFeature)
public void unset()
EStructuralFeature.Setting
unset
in interface EStructuralFeature.Setting
EObject.eUnset(EStructuralFeature)
public java.lang.Object getFeature()
public int getFeatureID()
public EStructuralFeature getEStructuralFeature()
EStructuralFeature.Setting
getEStructuralFeature
in interface EStructuralFeature.Setting
public EObject getEObject()
EStructuralFeature.Setting
getEObject
in interface EStructuralFeature.Setting