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.Wrapper
FeatureMap.Entry, FeatureMap.Internal, FeatureMap.ValueListIterator<E>
InternalEList.Unsettable<E>
Modifier and Type | Field and Description |
---|---|
protected FeatureMapUtil.Validator |
featureMapValidator |
protected FeatureMap.Internal.Wrapper |
wrapper |
featureID
dataClass, 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, isEObject
contains, 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, unset
basicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEObject
addAllUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray, setUnique
get, getEStructuralFeature, isSet, unset
protected 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.Internal
public void setWrapper(FeatureMap.Internal.Wrapper wrapper)
setWrapper
in interface FeatureMap.Internal
public FeatureMap featureMap()
featureMap
in interface FeatureMap.Internal.Wrapper
protected 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.Internal
protected EObject resolveProxy(EObject eObject)
resolveProxy
in class EcoreEList<FeatureMap.Entry>
public int getModCount()
getModCount
in interface FeatureMap.Internal
public EStructuralFeature getEStructuralFeature(int index)
getEStructuralFeature
in interface FeatureMap
public java.lang.Object getValue(int index)
getValue
in interface FeatureMap
public java.lang.Object setValue(int index, java.lang.Object value)
setValue
in interface FeatureMap
public 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.Internal
public boolean isEmpty(EStructuralFeature feature)
isEmpty
in interface FeatureMap.Internal
public boolean contains(EStructuralFeature feature, java.lang.Object object)
contains
in interface FeatureMap.Internal
public boolean basicContains(EStructuralFeature feature, java.lang.Object object)
basicContains
in interface FeatureMap.Internal
protected boolean contains(EStructuralFeature feature, java.lang.Object object, boolean resolve)
public boolean containsAll(EStructuralFeature feature, java.util.Collection<?> collection)
containsAll
in interface FeatureMap.Internal
public boolean basicContainsAll(EStructuralFeature feature, java.util.Collection<?> collection)
basicContainsAll
in interface FeatureMap.Internal
public int indexOf(EStructuralFeature feature, java.lang.Object object)
indexOf
in interface FeatureMap.Internal
public int basicIndexOf(EStructuralFeature feature, java.lang.Object object)
basicIndexOf
in interface FeatureMap.Internal
protected int indexOf(EStructuralFeature feature, java.lang.Object object, boolean resolve)
public int lastIndexOf(EStructuralFeature feature, java.lang.Object object)
lastIndexOf
in interface FeatureMap.Internal
public int basicLastIndexOf(EStructuralFeature feature, java.lang.Object object)
basicLastIndexOf
in interface FeatureMap.Internal
protected int lastIndexOf(EStructuralFeature feature, java.lang.Object object, boolean resolve)
public java.util.Iterator<java.lang.Object> iterator(EStructuralFeature feature)
iterator
in interface FeatureMap.Internal
public java.util.ListIterator<java.lang.Object> listIterator(EStructuralFeature feature)
listIterator
in interface FeatureMap.Internal
public java.util.ListIterator<java.lang.Object> listIterator(EStructuralFeature feature, int index)
listIterator
in interface FeatureMap.Internal
public FeatureMap.ValueListIterator<java.lang.Object> valueListIterator()
valueListIterator
in interface FeatureMap
public FeatureMap.ValueListIterator<java.lang.Object> valueListIterator(int index)
valueListIterator
in interface FeatureMap
public <T> <any> list(EStructuralFeature feature)
list
in interface FeatureMap
public EStructuralFeature.Setting setting(EStructuralFeature feature)
setting
in interface FeatureMap.Internal
public java.util.List<java.lang.Object> basicList(EStructuralFeature feature)
basicList
in interface FeatureMap.Internal
public java.util.Iterator<java.lang.Object> basicIterator(EStructuralFeature feature)
basicIterator
in interface FeatureMap.Internal
public java.util.ListIterator<java.lang.Object> basicListIterator(EStructuralFeature feature)
basicListIterator
in interface FeatureMap.Internal
public java.util.ListIterator<java.lang.Object> basicListIterator(EStructuralFeature feature, int index)
basicListIterator
in interface FeatureMap.Internal
public java.lang.Object[] toArray(EStructuralFeature feature)
toArray
in interface FeatureMap.Internal
public java.lang.Object[] basicToArray(EStructuralFeature feature)
basicToArray
in interface FeatureMap.Internal
protected java.lang.Object[] toArray(EStructuralFeature feature, boolean resolve)
public <T> T[] toArray(EStructuralFeature feature, T[] array)
toArray
in interface FeatureMap.Internal
public <T> T[] basicToArray(EStructuralFeature feature, T[] array)
basicToArray
in interface FeatureMap.Internal
protected <T> T[] toArray(EStructuralFeature feature, T[] array, boolean resolve)
public void set(EStructuralFeature feature, java.lang.Object object)
set
in interface FeatureMap
protected boolean shouldUnset(EStructuralFeature feature, java.lang.Object value)
public void add(int index, EStructuralFeature feature, java.lang.Object object)
add
in interface FeatureMap
public boolean add(EStructuralFeature feature, java.lang.Object object)
add
in interface FeatureMap
public void add(EStructuralFeature feature, int index, java.lang.Object object)
add
in interface FeatureMap.Internal
public boolean addAll(int index, EStructuralFeature feature, java.util.Collection<?> collection)
addAll
in interface FeatureMap
public boolean addAll(EStructuralFeature feature, java.util.Collection<?> collection)
addAll
in interface FeatureMap
public boolean addAll(EStructuralFeature feature, int index, java.util.Collection<?> collection)
addAll
in interface FeatureMap.Internal
public void addUnique(EStructuralFeature feature, java.lang.Object object)
addUnique
in interface FeatureMap.Internal
public void addUnique(EStructuralFeature feature, int index, java.lang.Object object)
addUnique
in interface FeatureMap.Internal
public void addUnique(FeatureMap.Entry object)
InternalEList
addUnique
in interface InternalEList<FeatureMap.Entry>
public void addUnique(FeatureMap.Entry.Internal entry)
addUnique
in interface FeatureMap.Internal
public boolean addAllUnique(java.util.Collection<? extends FeatureMap.Entry> collection)
InternalEList
addAllUnique
in interface FeatureMap.Internal
addAllUnique
in interface InternalEList<FeatureMap.Entry>
public boolean addAllUnique(FeatureMap.Entry.Internal[] entries, int start, int end)
addAllUnique
in interface FeatureMap.Internal
public boolean addAllUnique(int index, FeatureMap.Entry.Internal[] entries, int start, int end)
addAllUnique
in interface FeatureMap.Internal
public NotificationChain basicAdd(EStructuralFeature feature, java.lang.Object object, NotificationChain notifications)
basicAdd
in interface FeatureMap.Internal
public boolean remove(EStructuralFeature feature, java.lang.Object object)
remove
in interface FeatureMap.Internal
public java.lang.Object remove(EStructuralFeature feature, int index)
remove
in interface FeatureMap.Internal
public boolean removeAll(EStructuralFeature feature, java.util.Collection<?> collection)
removeAll
in interface FeatureMap.Internal
public NotificationChain basicRemove(EStructuralFeature feature, java.lang.Object object, NotificationChain notifications)
basicRemove
in interface FeatureMap.Internal
public boolean retainAll(EStructuralFeature feature, java.util.Collection<?> collection)
retainAll
in interface FeatureMap.Internal
public void clear(EStructuralFeature feature)
clear
in interface FeatureMap.Internal
public void move(EStructuralFeature feature, int index, java.lang.Object object)
move
in interface FeatureMap.Internal
public java.lang.Object move(EStructuralFeature feature, int targetIndex, int sourceIndex)
move
in interface FeatureMap.Internal
public java.lang.Object get(EStructuralFeature feature, boolean resolve)
get
in interface FeatureMap
public java.lang.Object get(EStructuralFeature feature, int index, boolean resolve)
get
in interface FeatureMap.Internal
public java.lang.Object set(EStructuralFeature feature, int index, java.lang.Object object)
set
in interface FeatureMap.Internal
public java.lang.Object setUnique(EStructuralFeature feature, int index, java.lang.Object object)
setUnique
in interface FeatureMap.Internal
public boolean isSet(EStructuralFeature feature)
isSet
in interface FeatureMap
public void unset(EStructuralFeature feature)
unset
in interface FeatureMap
public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEList
basicRemove
in interface InternalEList<FeatureMap.Entry>
public void set(java.lang.Object newValue)
EStructuralFeature.Setting
set
in interface EStructuralFeature.Setting
set
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 © 2022. Licensed under the Eclipse Public License v2.0. All rights reserved.
Submit a bug or feature