|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Encapsulates the modeled information and the EMF system values of a revision
.
Field Summary | |
---|---|
static Object |
NIL
The equivalent of EStructuralFeatureImpl.NIL (i.e. explicit null ). |
Method Summary | ||
---|---|---|
boolean |
contains(EStructuralFeature feature,
Object value)
|
|
Object |
get(EStructuralFeature feature,
int index)
|
|
Object |
getContainerID()
|
|
int |
getContainingFeatureID()
Provides the input to the calculation of the feature in the container revision that actually holds this revision. |
|
CDOID |
getResourceID()
|
|
int |
hashCode(EStructuralFeature feature)
|
|
int |
indexOf(EStructuralFeature feature,
Object value)
|
|
boolean |
isEmpty(EStructuralFeature feature)
|
|
int |
lastIndexOf(EStructuralFeature feature,
Object value)
|
|
CDORevision |
revision()
|
|
int |
size(EStructuralFeature feature)
|
|
Object[] |
toArray(EStructuralFeature feature)
|
|
|
toArray(EStructuralFeature feature,
T[] array)
|
Field Detail |
---|
static final Object NIL
EStructuralFeatureImpl.NIL
(i.e. explicit null
).
Method Detail |
---|
CDORevision revision()
CDOID getResourceID()
Object getContainerID()
int getContainingFeatureID()
Usage Example:
CDORevision revision = ...;
CDORevision container = Util.getRevision(revision.data().getContainerID());
int containingFeatureID = revision.data().getContainingFeatureID();
EStructuralFeature feature = containingFeatureID <= InternalEObject.EOPPOSITE_FEATURE_BASE ?
container.getEClass().getEStructuralFeature(InternalEObject.EOPPOSITE_FEATURE_BASE - containingFeatureID) :
((EReference)revision.getEClass().getEStructuralFeature(containingFeatureID)).getEOpposite();
BasicEObjectImpl.eContainingFeature()
,
getContainerID()
Object get(EStructuralFeature feature, int index)
int size(EStructuralFeature feature)
boolean isEmpty(EStructuralFeature feature)
boolean contains(EStructuralFeature feature, Object value)
int indexOf(EStructuralFeature feature, Object value)
int lastIndexOf(EStructuralFeature feature, Object value)
<T> T[] toArray(EStructuralFeature feature, T[] array)
Object[] toArray(EStructuralFeature feature)
int hashCode(EStructuralFeature feature)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |