public class BasicFeatureMap extends EDataTypeEList<FeatureMap.Entry> implements FeatureMap.Internal, FeatureMap.Internal.Wrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicFeatureMap.FeatureEIterator<E>
-------------------------------------------
|
static class |
BasicFeatureMap.FeatureMapEObjectImpl
Temporary for testing purposes only.
|
static class |
BasicFeatureMap.ResolvingFeatureEIterator<E>
-------------------------------------------
|
protected class |
BasicFeatureMap.ValueListIteratorImpl<E1> |
EDataTypeEList.Unsettable<E>EcoreEList.Dynamic<E>, EcoreEList.Generic<E>, EcoreEList.UnmodifiableEList<E>FeatureMap.Internal.WrapperFeatureMap.Entry, FeatureMap.Internal, FeatureMap.ValueListIterator<E>InternalEList.Unsettable<E>| Modifier and Type | Field and Description |
|---|---|
protected FeatureMapUtil.Validator |
featureMapValidator |
protected FeatureMap.Internal.Wrapper |
wrapper |
featureIDdataClass, owner| Constructor and Description |
|---|
BasicFeatureMap(InternalEObject owner,
int featureID) |
BasicFeatureMap(InternalEObject owner,
int featureID,
EStructuralFeature eStructuralFeature) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(EStructuralFeature feature,
int index,
java.lang.Object object) |
boolean |
add(EStructuralFeature feature,
java.lang.Object object) |
boolean |
add(FeatureMap.Entry object) |
void |
add(int index,
EStructuralFeature feature,
java.lang.Object object) |
void |
add(int index,
FeatureMap.Entry object) |
boolean |
addAll(java.util.Collection<? extends FeatureMap.Entry> collection) |
boolean |
addAll(EStructuralFeature feature,
java.util.Collection<?> collection) |
boolean |
addAll(EStructuralFeature feature,
int index,
java.util.Collection<?> collection) |
boolean |
addAll(int index,
java.util.Collection<? extends FeatureMap.Entry> collection) |
boolean |
addAll(int index,
EStructuralFeature feature,
java.util.Collection<?> collection) |
boolean |
addAllUnique(java.util.Collection<? extends FeatureMap.Entry> collection)
Adds the objects without verifying uniqueness.
|
boolean |
addAllUnique(FeatureMap.Entry.Internal[] entries,
int start,
int end) |
boolean |
addAllUnique(int index,
FeatureMap.Entry.Internal[] entries,
int start,
int end) |
void |
addUnique(EStructuralFeature feature,
int index,
java.lang.Object object) |
void |
addUnique(EStructuralFeature feature,
java.lang.Object object) |
void |
addUnique(FeatureMap.Entry.Internal entry) |
void |
addUnique(FeatureMap.Entry object)
Adds the object without verifying uniqueness.
|
NotificationChain |
basicAdd(EStructuralFeature feature,
java.lang.Object object,
NotificationChain notifications) |
boolean |
basicContains(EStructuralFeature feature,
java.lang.Object object) |
boolean |
basicContainsAll(EStructuralFeature feature,
java.util.Collection<?> collection) |
int |
basicIndexOf(EStructuralFeature feature,
java.lang.Object object) |
java.util.Iterator<java.lang.Object> |
basicIterator(EStructuralFeature feature) |
int |
basicLastIndexOf(EStructuralFeature feature,
java.lang.Object object) |
java.util.List<java.lang.Object> |
basicList(EStructuralFeature feature) |
java.util.ListIterator<java.lang.Object> |
basicListIterator(EStructuralFeature feature) |
java.util.ListIterator<java.lang.Object> |
basicListIterator(EStructuralFeature feature,
int index) |
NotificationChain |
basicRemove(EStructuralFeature feature,
java.lang.Object object,
NotificationChain notifications) |
NotificationChain |
basicRemove(java.lang.Object object,
NotificationChain notifications)
Removes the object with without updating the inverse.
|
java.lang.Object[] |
basicToArray(EStructuralFeature feature) |
<T> T[] |
basicToArray(EStructuralFeature feature,
T[] array) |
void |
clear(EStructuralFeature feature) |
boolean |
contains(EStructuralFeature feature,
java.lang.Object object) |
protected boolean |
contains(EStructuralFeature feature,
java.lang.Object object,
boolean resolve) |
boolean |
containsAll(EStructuralFeature feature,
java.util.Collection<?> collection) |
protected FeatureMap.Entry |
createEntry(EStructuralFeature eStructuralFeature,
java.lang.Object value) |
protected NotificationImpl |
createNotification(int eventType,
EStructuralFeature feature,
java.lang.Object oldObject,
java.lang.Object newObject,
int index,
boolean wasSet) |
protected FeatureMap.Entry.Internal |
createRawEntry(EStructuralFeature eStructuralFeature,
java.lang.Object value) |
protected boolean |
doAdd(FeatureMap.Entry object) |
void |
doAdd(int index,
FeatureMap.Entry object) |
boolean |
doAddAll(java.util.Collection<? extends FeatureMap.Entry> collection) |
boolean |
doAddAll(int index,
java.util.Collection<? extends FeatureMap.Entry> collection) |
FeatureMap.Entry |
doSet(int index,
FeatureMap.Entry object) |
protected int |
entryIndex(EStructuralFeature feature,
int index) |
FeatureMap |
featureMap() |
java.lang.Object |
get(EStructuralFeature feature,
boolean resolve) |
java.lang.Object |
get(EStructuralFeature feature,
int index,
boolean resolve) |
EStructuralFeature |
getEStructuralFeature(int index) |
int |
getModCount() |
java.lang.Object |
getValue(int index) |
FeatureMap.Internal.Wrapper |
getWrapper() |
protected boolean |
hasInverse() |
protected boolean |
hasShadow() |
int |
indexOf(EStructuralFeature feature,
java.lang.Object object) |
protected int |
indexOf(EStructuralFeature feature,
java.lang.Object object,
boolean resolve) |
NotificationChain |
inverseAdd(FeatureMap.Entry.Internal entry,
NotificationChain notifications) |
NotificationChain |
inverseAdd(FeatureMap.Entry object,
NotificationChain notifications) |
NotificationChain |
inverseRemove(FeatureMap.Entry.Internal entry,
NotificationChain notifications) |
NotificationChain |
inverseRemove(FeatureMap.Entry object,
NotificationChain notifications) |
NotificationChain |
inverseTouch(java.lang.Object object,
NotificationChain notifications) |
boolean |
isEmpty(EStructuralFeature feature) |
protected boolean |
isMany(EStructuralFeature feature) |
protected boolean |
isResolveProxies(EStructuralFeature feature) |
boolean |
isSet(EStructuralFeature feature) |
java.util.Iterator<java.lang.Object> |
iterator(EStructuralFeature feature) |
int |
lastIndexOf(EStructuralFeature feature,
java.lang.Object object) |
protected int |
lastIndexOf(EStructuralFeature feature,
java.lang.Object object,
boolean resolve) |
<T> <any> |
list(EStructuralFeature feature) |
java.util.ListIterator<java.lang.Object> |
listIterator(EStructuralFeature feature) |
java.util.ListIterator<java.lang.Object> |
listIterator(EStructuralFeature feature,
int index) |
java.lang.Object |
move(EStructuralFeature feature,
int targetIndex,
int sourceIndex) |
void |
move(EStructuralFeature feature,
int index,
java.lang.Object object) |
FeatureMap.Entry |
move(int targetIndex,
int sourceIndex) |
protected java.lang.Object[] |
newData(int capacity) |
java.lang.Object |
remove(EStructuralFeature feature,
int index) |
boolean |
remove(EStructuralFeature feature,
java.lang.Object object) |
boolean |
removeAll(EStructuralFeature feature,
java.util.Collection<?> collection) |
protected FeatureMap.Entry |
resolve(int index,
FeatureMap.Entry entry) |
protected EObject |
resolveProxy(EObject eObject) |
java.lang.Object |
resolveProxy(EStructuralFeature feature,
int entryIndex,
int index,
java.lang.Object object) |
boolean |
retainAll(EStructuralFeature feature,
java.util.Collection<?> collection) |
java.lang.Object |
set(EStructuralFeature feature,
int index,
java.lang.Object object) |
void |
set(EStructuralFeature feature,
java.lang.Object object) |
FeatureMap.Entry |
set(int index,
FeatureMap.Entry object) |
void |
set(java.lang.Object newValue)
Set the value held by the feature of the object.
|
EStructuralFeature.Setting |
setting(EStructuralFeature feature) |
java.lang.Object |
setUnique(EStructuralFeature feature,
int index,
java.lang.Object object) |
java.lang.Object |
setValue(int index,
java.lang.Object value) |
void |
setWrapper(FeatureMap.Internal.Wrapper wrapper) |
NotificationChain |
shadowAdd(FeatureMap.Entry.Internal entry,
NotificationChain notifications) |
NotificationChain |
shadowAdd(FeatureMap.Entry object,
NotificationChain notifications) |
NotificationChain |
shadowRemove(FeatureMap.Entry.Internal entry,
NotificationChain notifications) |
NotificationChain |
shadowRemove(FeatureMap.Entry object,
NotificationChain notifications) |
NotificationChain |
shadowSet(FeatureMap.Entry oldObject,
FeatureMap.Entry newObject,
NotificationChain notifications) |
protected boolean |
shouldUnset(EStructuralFeature feature,
java.lang.Object value) |
int |
size(EStructuralFeature feature) |
java.lang.Object[] |
toArray(EStructuralFeature feature) |
protected java.lang.Object[] |
toArray(EStructuralFeature feature,
boolean resolve) |
<T> T[] |
toArray(EStructuralFeature feature,
T[] array) |
protected <T> T[] |
toArray(EStructuralFeature feature,
T[] array,
boolean resolve) |
void |
unset(EStructuralFeature feature) |
protected FeatureMap.Entry |
validate(int index,
FeatureMap.Entry object) |
FeatureMap.ValueListIterator<java.lang.Object> |
valueListIterator() |
FeatureMap.ValueListIterator<java.lang.Object> |
valueListIterator(int index) |
getFeatureID, isEObjectcontains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasManyInverse, hasNavigableInverse, hasProxies, indexOf, isContainment, isInstance, isNotificationRequired, isSet, lastIndexOf, resolve, resolve, toArray, toArray, unsetbasicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEObjectaddAllUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray, setUniqueget, getEStructuralFeature, isSet, unsetprotected FeatureMap.Internal.Wrapper wrapper
protected final FeatureMapUtil.Validator featureMapValidator
public BasicFeatureMap(InternalEObject owner, int featureID)
public BasicFeatureMap(InternalEObject owner, int featureID, EStructuralFeature eStructuralFeature)
public FeatureMap.Internal.Wrapper getWrapper()
getWrapper in interface FeatureMap.Internalpublic void setWrapper(FeatureMap.Internal.Wrapper wrapper)
setWrapper in interface FeatureMap.Internalpublic FeatureMap featureMap()
featureMap in interface FeatureMap.Internal.Wrapperprotected java.lang.Object[] newData(int capacity)
newData in class EcoreEList<FeatureMap.Entry>protected FeatureMap.Entry validate(int index, FeatureMap.Entry object)
validate in class EcoreEList<FeatureMap.Entry>protected FeatureMap.Entry createEntry(EStructuralFeature eStructuralFeature, java.lang.Object value)
protected FeatureMap.Entry.Internal createRawEntry(EStructuralFeature eStructuralFeature, java.lang.Object value)
protected NotificationImpl createNotification(int eventType,
EStructuralFeature feature,
java.lang.Object oldObject,
java.lang.Object newObject,
int index,
boolean wasSet)
protected boolean isMany(EStructuralFeature feature)
protected boolean hasInverse()
protected boolean hasShadow()
protected int entryIndex(EStructuralFeature feature, int index)
protected boolean isResolveProxies(EStructuralFeature feature)
public java.lang.Object resolveProxy(EStructuralFeature feature, int entryIndex, int index, java.lang.Object object)
resolveProxy in interface FeatureMap.Internalprotected EObject resolveProxy(EObject eObject)
resolveProxy in class EcoreEList<FeatureMap.Entry>public int getModCount()
getModCount in interface FeatureMap.Internalpublic EStructuralFeature getEStructuralFeature(int index)
getEStructuralFeature in interface FeatureMappublic java.lang.Object getValue(int index)
getValue in interface FeatureMappublic java.lang.Object setValue(int index,
java.lang.Object value)
setValue in interface FeatureMappublic NotificationChain shadowAdd(FeatureMap.Entry object, NotificationChain notifications)
public NotificationChain shadowAdd(FeatureMap.Entry.Internal entry, NotificationChain notifications)
public NotificationChain inverseAdd(FeatureMap.Entry object, NotificationChain notifications)
inverseAdd in class EcoreEList<FeatureMap.Entry>public NotificationChain inverseAdd(FeatureMap.Entry.Internal entry, NotificationChain notifications)
public NotificationChain shadowRemove(FeatureMap.Entry object, NotificationChain notifications)
public NotificationChain shadowRemove(FeatureMap.Entry.Internal entry, NotificationChain notifications)
public NotificationChain inverseRemove(FeatureMap.Entry object, NotificationChain notifications)
inverseRemove in class EcoreEList<FeatureMap.Entry>public NotificationChain inverseRemove(FeatureMap.Entry.Internal entry, NotificationChain notifications)
public NotificationChain shadowSet(FeatureMap.Entry oldObject, FeatureMap.Entry newObject, NotificationChain notifications)
public NotificationChain inverseTouch(java.lang.Object object,
NotificationChain notifications)
public FeatureMap.Entry move(int targetIndex, int sourceIndex)
public FeatureMap.Entry set(int index, FeatureMap.Entry object)
public FeatureMap.Entry doSet(int index, FeatureMap.Entry object)
public boolean add(FeatureMap.Entry object)
protected boolean doAdd(FeatureMap.Entry object)
public void add(int index,
FeatureMap.Entry object)
public void doAdd(int index,
FeatureMap.Entry object)
public boolean addAll(java.util.Collection<? extends FeatureMap.Entry> collection)
public boolean doAddAll(java.util.Collection<? extends FeatureMap.Entry> collection)
public boolean addAll(int index,
java.util.Collection<? extends FeatureMap.Entry> collection)
public boolean doAddAll(int index,
java.util.Collection<? extends FeatureMap.Entry> collection)
public int size(EStructuralFeature feature)
size in interface FeatureMap.Internalpublic boolean isEmpty(EStructuralFeature feature)
isEmpty in interface FeatureMap.Internalpublic boolean contains(EStructuralFeature feature, java.lang.Object object)
contains in interface FeatureMap.Internalpublic boolean basicContains(EStructuralFeature feature, java.lang.Object object)
basicContains in interface FeatureMap.Internalprotected boolean contains(EStructuralFeature feature, java.lang.Object object, boolean resolve)
public boolean containsAll(EStructuralFeature feature, java.util.Collection<?> collection)
containsAll in interface FeatureMap.Internalpublic boolean basicContainsAll(EStructuralFeature feature, java.util.Collection<?> collection)
basicContainsAll in interface FeatureMap.Internalpublic int indexOf(EStructuralFeature feature, java.lang.Object object)
indexOf in interface FeatureMap.Internalpublic int basicIndexOf(EStructuralFeature feature, java.lang.Object object)
basicIndexOf in interface FeatureMap.Internalprotected int indexOf(EStructuralFeature feature, java.lang.Object object, boolean resolve)
public int lastIndexOf(EStructuralFeature feature, java.lang.Object object)
lastIndexOf in interface FeatureMap.Internalpublic int basicLastIndexOf(EStructuralFeature feature, java.lang.Object object)
basicLastIndexOf in interface FeatureMap.Internalprotected int lastIndexOf(EStructuralFeature feature, java.lang.Object object, boolean resolve)
public java.util.Iterator<java.lang.Object> iterator(EStructuralFeature feature)
iterator in interface FeatureMap.Internalpublic java.util.ListIterator<java.lang.Object> listIterator(EStructuralFeature feature)
listIterator in interface FeatureMap.Internalpublic java.util.ListIterator<java.lang.Object> listIterator(EStructuralFeature feature, int index)
listIterator in interface FeatureMap.Internalpublic FeatureMap.ValueListIterator<java.lang.Object> valueListIterator()
valueListIterator in interface FeatureMappublic FeatureMap.ValueListIterator<java.lang.Object> valueListIterator(int index)
valueListIterator in interface FeatureMappublic <T> <any> list(EStructuralFeature feature)
list in interface FeatureMappublic EStructuralFeature.Setting setting(EStructuralFeature feature)
setting in interface FeatureMap.Internalpublic java.util.List<java.lang.Object> basicList(EStructuralFeature feature)
basicList in interface FeatureMap.Internalpublic java.util.Iterator<java.lang.Object> basicIterator(EStructuralFeature feature)
basicIterator in interface FeatureMap.Internalpublic java.util.ListIterator<java.lang.Object> basicListIterator(EStructuralFeature feature)
basicListIterator in interface FeatureMap.Internalpublic java.util.ListIterator<java.lang.Object> basicListIterator(EStructuralFeature feature, int index)
basicListIterator in interface FeatureMap.Internalpublic java.lang.Object[] toArray(EStructuralFeature feature)
toArray in interface FeatureMap.Internalpublic java.lang.Object[] basicToArray(EStructuralFeature feature)
basicToArray in interface FeatureMap.Internalprotected java.lang.Object[] toArray(EStructuralFeature feature, boolean resolve)
public <T> T[] toArray(EStructuralFeature feature, T[] array)
toArray in interface FeatureMap.Internalpublic <T> T[] basicToArray(EStructuralFeature feature, T[] array)
basicToArray in interface FeatureMap.Internalprotected <T> T[] toArray(EStructuralFeature feature, T[] array, boolean resolve)
public void set(EStructuralFeature feature, java.lang.Object object)
set in interface FeatureMapprotected boolean shouldUnset(EStructuralFeature feature, java.lang.Object value)
public void add(int index,
EStructuralFeature feature,
java.lang.Object object)
add in interface FeatureMappublic boolean add(EStructuralFeature feature, java.lang.Object object)
add in interface FeatureMappublic void add(EStructuralFeature feature, int index, java.lang.Object object)
add in interface FeatureMap.Internalpublic boolean addAll(int index,
EStructuralFeature feature,
java.util.Collection<?> collection)
addAll in interface FeatureMappublic boolean addAll(EStructuralFeature feature, java.util.Collection<?> collection)
addAll in interface FeatureMappublic boolean addAll(EStructuralFeature feature, int index, java.util.Collection<?> collection)
addAll in interface FeatureMap.Internalpublic void addUnique(EStructuralFeature feature, java.lang.Object object)
addUnique in interface FeatureMap.Internalpublic void addUnique(EStructuralFeature feature, int index, java.lang.Object object)
addUnique in interface FeatureMap.Internalpublic void addUnique(FeatureMap.Entry object)
InternalEListaddUnique in interface InternalEList<FeatureMap.Entry>public void addUnique(FeatureMap.Entry.Internal entry)
addUnique in interface FeatureMap.Internalpublic boolean addAllUnique(java.util.Collection<? extends FeatureMap.Entry> collection)
InternalEListaddAllUnique in interface FeatureMap.InternaladdAllUnique in interface InternalEList<FeatureMap.Entry>public boolean addAllUnique(FeatureMap.Entry.Internal[] entries, int start, int end)
addAllUnique in interface FeatureMap.Internalpublic boolean addAllUnique(int index,
FeatureMap.Entry.Internal[] entries,
int start,
int end)
addAllUnique in interface FeatureMap.Internalpublic NotificationChain basicAdd(EStructuralFeature feature, java.lang.Object object, NotificationChain notifications)
basicAdd in interface FeatureMap.Internalpublic boolean remove(EStructuralFeature feature, java.lang.Object object)
remove in interface FeatureMap.Internalpublic java.lang.Object remove(EStructuralFeature feature, int index)
remove in interface FeatureMap.Internalpublic boolean removeAll(EStructuralFeature feature, java.util.Collection<?> collection)
removeAll in interface FeatureMap.Internalpublic NotificationChain basicRemove(EStructuralFeature feature, java.lang.Object object, NotificationChain notifications)
basicRemove in interface FeatureMap.Internalpublic boolean retainAll(EStructuralFeature feature, java.util.Collection<?> collection)
retainAll in interface FeatureMap.Internalpublic void clear(EStructuralFeature feature)
clear in interface FeatureMap.Internalpublic void move(EStructuralFeature feature, int index, java.lang.Object object)
move in interface FeatureMap.Internalpublic java.lang.Object move(EStructuralFeature feature, int targetIndex, int sourceIndex)
move in interface FeatureMap.Internalpublic java.lang.Object get(EStructuralFeature feature, boolean resolve)
get in interface FeatureMappublic java.lang.Object get(EStructuralFeature feature, int index, boolean resolve)
get in interface FeatureMap.Internalpublic java.lang.Object set(EStructuralFeature feature, int index, java.lang.Object object)
set in interface FeatureMap.Internalpublic java.lang.Object setUnique(EStructuralFeature feature, int index, java.lang.Object object)
setUnique in interface FeatureMap.Internalpublic boolean isSet(EStructuralFeature feature)
isSet in interface FeatureMappublic void unset(EStructuralFeature feature)
unset in interface FeatureMappublic NotificationChain basicRemove(java.lang.Object object,
NotificationChain notifications)
InternalEListbasicRemove in interface InternalEList<FeatureMap.Entry>public void set(java.lang.Object newValue)
EStructuralFeature.Settingset in interface EStructuralFeature.Settingset in class EcoreEList<FeatureMap.Entry>newValue - the newValue.EObject.eSet(EStructuralFeature, Object)protected FeatureMap.Entry resolve(int index, FeatureMap.Entry entry)
resolve in class EDataTypeEList<FeatureMap.Entry>Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature