|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.ecore.impl.EStoreEObjectImpl.EStoreImpl
This class is for testing purposes only and will be removed.
| Nested Class Summary | |
static class |
EStoreEObjectImpl.EStoreImpl.Entry
|
| Field Summary | |
protected Map |
map
|
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject.EStore |
NO_INDEX |
| Constructor Summary | |
EStoreEObjectImpl.EStoreImpl()
|
|
| Method Summary | |
void |
add(InternalEObject eObject,
EStructuralFeature feature,
int index,
Object value)
Adds the value at the index in the content of the object's feature. |
void |
clear(InternalEObject eObject,
EStructuralFeature feature)
Removes all values form the content of the object's feature |
boolean |
contains(InternalEObject eObject,
EStructuralFeature feature,
Object value)
Returns whether the content of the object's feature contains the given value. |
EObject |
create(EClass eClass)
Creates a new instance of the class. |
Object |
get(InternalEObject eObject,
EStructuralFeature feature,
int index)
Returns the value at the index in the content of the object's feature. |
InternalEObject |
getContainer(InternalEObject eObject)
Returns the object's container. |
EStructuralFeature |
getContainingFeature(InternalEObject eObject)
Returns the object's containing feature. |
protected EList |
getList(EStoreEObjectImpl.EStoreImpl.Entry entry)
|
int |
hashCode(InternalEObject eObject,
EStructuralFeature feature)
Returns the hash code of the content of the object's feature. |
int |
indexOf(InternalEObject eObject,
EStructuralFeature feature,
Object value)
Returns the first index of the given value in the content of the object's feature. |
boolean |
isEmpty(InternalEObject eObject,
EStructuralFeature feature)
Returns whether the content of the object's feature is empty. |
boolean |
isSet(InternalEObject eObject,
EStructuralFeature feature)
Returns whether the object's feature is considered set. |
int |
lastIndexOf(InternalEObject eObject,
EStructuralFeature feature,
Object value)
Returns the last index of the given value in the content of the object's feature. |
Object |
move(InternalEObject eObject,
EStructuralFeature feature,
int targetIndex,
int sourceIndex)
Moves the value at the source index in the content of the object's feature
to the target index. |
Object |
remove(InternalEObject eObject,
EStructuralFeature feature,
int index)
Removes the value at the index in the content of the object's feature. |
Object |
set(InternalEObject eObject,
EStructuralFeature feature,
int index,
Object value)
Sets the value at the index in the content of the object's feature. |
int |
size(InternalEObject eObject,
EStructuralFeature feature)
Returns the number of values in the content of the object's feature. |
Object[] |
toArray(InternalEObject eObject,
EStructuralFeature feature)
Returns a new array of the values in the content of the object's feature. |
Object[] |
toArray(InternalEObject eObject,
EStructuralFeature feature,
Object[] array)
Returns an array of the values in the content of the object's feature.
|
void |
unset(InternalEObject eObject,
EStructuralFeature feature)
Unsets the feature of the object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Map map
| Constructor Detail |
public EStoreEObjectImpl.EStoreImpl()
| Method Detail |
protected EList getList(EStoreEObjectImpl.EStoreImpl.Entry entry)
public Object get(InternalEObject eObject,
EStructuralFeature feature,
int index)
InternalEObject.EStorecontent of the object's feature.
get in interface InternalEObject.EStoreeObject - the object in question.feature - a feature of the object.index - an index within the content or InternalEObject.EStore.NO_INDEX.
public Object set(InternalEObject eObject,
EStructuralFeature feature,
int index,
Object value)
InternalEObject.EStorecontent of the object's feature.
set in interface InternalEObject.EStoreeObject - the object in question.feature - a feature of the object.index - an index within the content or InternalEObject.EStore.NO_INDEX.value - the new value.
public void add(InternalEObject eObject,
EStructuralFeature feature,
int index,
Object value)
InternalEObject.EStorecontent of the object's feature.
add in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.index - an index within the content.value - the value to add.
public Object remove(InternalEObject eObject,
EStructuralFeature feature,
int index)
InternalEObject.EStorecontent of the object's feature.
remove in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.index - the index within the feature's content of the value to remove.
public Object move(InternalEObject eObject,
EStructuralFeature feature,
int targetIndex,
int sourceIndex)
InternalEObject.EStorecontent of the object's feature
to the target index.
move in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.targetIndex - the index within the feature's content to which to move the value.sourceIndex - the index within the feature's content of the value to move.
public void clear(InternalEObject eObject,
EStructuralFeature feature)
InternalEObject.EStorecontent of the object's feature
clear in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.
public boolean isSet(InternalEObject eObject,
EStructuralFeature feature)
InternalEObject.EStore
isSet in interface InternalEObject.EStoreeObject - the object in question.feature - a feature of the object.
true if the object's feature is considered set.
public void unset(InternalEObject eObject,
EStructuralFeature feature)
InternalEObject.EStore
unset in interface InternalEObject.EStoreeObject - the object in question.feature - a feature of the object.
public int size(InternalEObject eObject,
EStructuralFeature feature)
InternalEObject.EStorecontent of the object's feature.
size in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.
public int indexOf(InternalEObject eObject,
EStructuralFeature feature,
Object value)
InternalEObject.EStorecontent of the object's feature.
indexOf in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.value - the value in question.
public int lastIndexOf(InternalEObject eObject,
EStructuralFeature feature,
Object value)
InternalEObject.EStorecontent of the object's feature.
lastIndexOf in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.value - the value in question.
public Object[] toArray(InternalEObject eObject,
EStructuralFeature feature)
InternalEObject.EStorecontent of the object's feature.
toArray in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.
public Object[] toArray(InternalEObject eObject,
EStructuralFeature feature,
Object[] array)
InternalEObject.EStorecontent of the object's feature.
The given array will be used, unless it's too small, in which case a new array of the same type is allocated instead.
toArray in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.array - the array to fill.
public boolean isEmpty(InternalEObject eObject,
EStructuralFeature feature)
InternalEObject.EStorecontent of the object's feature is empty.
isEmpty in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.
true if the content of the object's feature is empty.
public boolean contains(InternalEObject eObject,
EStructuralFeature feature,
Object value)
InternalEObject.EStorecontent of the object's feature contains the given value.
contains in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.value - the value in question.
true if the content of the object's feature contains the given value.
public int hashCode(InternalEObject eObject,
EStructuralFeature feature)
InternalEObject.EStorecontent of the object's feature.
hashCode in interface InternalEObject.EStoreeObject - the object in question.feature - a many-valued feature of the object.
public InternalEObject getContainer(InternalEObject eObject)
InternalEObject.EStorecontainer.
getContainer in interface InternalEObject.EStoreEObject.eContainer()public EStructuralFeature getContainingFeature(InternalEObject eObject)
InternalEObject.EStorecontaining feature.
getContainingFeature in interface InternalEObject.EStoreEObject.eContainingFeature()public EObject create(EClass eClass)
InternalEObject.EStore
create in interface InternalEObject.EStoreeClass - the class to instantiate.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||