public abstract static class EcoreEList.Generic<E> extends EcoreEList<E>
Ecore EList with an implementation for exhibiting the appropriate feature behaviour as well as for tracking the unset state.
At least one of EcoreEList.getEStructuralFeature() or EcoreEList.getFeatureID() must be specialized
since each delegates to the other and without specialization this will lead to stack overflow.EcoreEList.Dynamic<E>, EcoreEList.Generic<E>, EcoreEList.UnmodifiableEList<E>InternalEList.Unsettable<E>| Modifier and Type | Field and Description |
|---|---|
static int |
HAS_INSTANCE_CLASS |
static int |
HAS_MANY_INVERSE |
static int |
HAS_NAVIGABLE_INVERSE |
static int |
HAS_PROXIES |
static int |
IS_CONTAINER |
static int |
IS_CONTAINMENT |
static int |
IS_ENUM |
static int |
IS_EOBJECT |
static int |
IS_PRIMITIVE |
static int |
IS_SET |
static int |
IS_UNIQUE |
static int |
IS_UNSETTABLE |
protected int |
kind |
dataClass, owner| Constructor and Description |
|---|
Generic(int kind,
java.lang.Class<?> dataClass,
InternalEObject owner) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canContainNull() |
protected void |
didChange() |
protected boolean |
hasInstanceClass() |
protected boolean |
hasInverse() |
protected boolean |
hasManyInverse() |
protected boolean |
hasNavigableInverse() |
protected boolean |
hasProxies() |
protected boolean |
isContainer() |
protected boolean |
isContainment() |
protected boolean |
isEObject() |
protected boolean |
isInstance(java.lang.Object object) |
boolean |
isSet()
Returns whether a value is held by the feature of the object.
|
protected boolean |
isUnique() |
protected boolean |
isUnsettable() |
static int |
kind(EStructuralFeature eStructuralFeature) |
void |
unset()
Unsets the value held by the feature of the object.
|
protected boolean |
useEquals() |
static java.lang.Class<?> |
wrapperClassFor(java.lang.Class<?> javaClass) |
contains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureID, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, indexOf, inverseAdd, inverseRemove, isNotificationRequired, lastIndexOf, newData, resolve, resolve, resolve, resolveProxy, set, toArray, toArray, validatebasicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArrayclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUniquepublic static final int IS_SET
public static final int IS_UNSETTABLE
public static final int HAS_INSTANCE_CLASS
public static final int HAS_NAVIGABLE_INVERSE
public static final int HAS_MANY_INVERSE
public static final int IS_CONTAINMENT
public static final int IS_CONTAINER
public static final int IS_UNIQUE
public static final int IS_PRIMITIVE
public static final int IS_ENUM
public static final int IS_EOBJECT
public static final int HAS_PROXIES
protected int kind
public Generic(int kind,
java.lang.Class<?> dataClass,
InternalEObject owner)
public static java.lang.Class<?> wrapperClassFor(java.lang.Class<?> javaClass)
public static int kind(EStructuralFeature eStructuralFeature)
protected boolean useEquals()
protected boolean canContainNull()
protected boolean isUnique()
protected boolean hasInverse()
protected boolean hasManyInverse()
hasManyInverse in class EcoreEList<E>protected boolean hasNavigableInverse()
hasNavigableInverse in class EcoreEList<E>protected boolean isEObject()
isEObject in class EcoreEList<E>protected boolean isContainment()
isContainment in class EcoreEList<E>protected boolean hasProxies()
hasProxies in class EcoreEList<E>protected boolean hasInstanceClass()
hasInstanceClass in class EcoreEList<E>protected boolean isInstance(java.lang.Object object)
isInstance in class EcoreEList<E>protected boolean isContainer()
protected boolean isUnsettable()
public boolean isSet()
InternalEList.UnsettableisSet in interface EStructuralFeature.SettingisSet in interface InternalEList.Unsettable<E>isSet in class EcoreEList<E>EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)public void unset()
InternalEList.Unsettableunset in interface EStructuralFeature.Settingunset in interface InternalEList.Unsettable<E>unset in class EcoreEList<E>EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)protected void didChange()
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature