public interface InternalCDOClassInfo extends CDOClassInfo
Modifier and Type | Interface and Description |
---|---|
static interface |
InternalCDOClassInfo.PersistenceFilter
Encapsulation of a rule for filtering the persistent values
of a feature in some model element.
|
Adapter.Internal
Modifier and Type | Field and Description |
---|---|
static int |
NO_SLOT |
Modifier and Type | Method and Description |
---|---|
InternalCDOClassInfo.PersistenceFilter |
getPersistenceFilter(EStructuralFeature feature)
Obtains a rule that filters/transforms the persist values of the given
feature . |
int |
getPersistentFeatureIndex(EStructuralFeature feature)
|
int |
getPersistentFeatureIndex(int featureID)
|
InternalCDORevision |
getRevisionForID(CDOID id) |
int |
getSettingsFeatureCount()
Returns the number of
features whose values are always stored in the
CDOObjectImpl.eSettings array, whether an object is in CDOState.TRANSIENT or not. |
int |
getSettingsFeatureIndex(int featureID)
Returns the index of the specified
feature in the CDOObjectImpl.eSettings array,
or NO_SLOT if the feature is non-transient or single-valued . |
int |
getTransientFeatureCount()
Returns the number of
features whose values are additionally stored in the CDOObjectImpl.eSettings array,
if an object is in CDOState.TRANSIENT . |
int |
getTransientFeatureIndex(EStructuralFeature feature) |
int |
getTransientFeatureIndex(int featureID)
Returns the index of the specified
feature in the CDOObjectImpl.eSettings array,
or NO_SLOT if the feature is transient or many-valued |
getAllPersistentContainments, getAllPersistentFeatures, getAllPersistentReferences, getEClass, getFeatureIndex, getFeatureIndex, hasPersistentOpposite, isPersistent, isPersistent, isResource, isResourceFolder, isResourceNode
getTarget, isAdapterForType, notifyChanged, setTarget
static final int NO_SLOT
InternalCDORevision getRevisionForID(CDOID id)
int getPersistentFeatureIndex(EStructuralFeature feature) throws IllegalArgumentException
IllegalArgumentException
- if the specified feature is not persistent
.getPersistentFeatureIndex(int)
int getPersistentFeatureIndex(int featureID) throws IllegalArgumentException
IllegalArgumentException
- if the specified feature is not persistent
.getPersistentFeatureIndex(EStructuralFeature)
int getSettingsFeatureCount()
features
whose values are always stored in the
CDOObjectImpl.eSettings
array, whether an object is in CDOState.TRANSIENT
or not.
These are the transient
and/or many-valued
features.
getSettingsFeatureIndex(int)
int getSettingsFeatureIndex(int featureID)
feature
in the CDOObjectImpl.eSettings
array,
or NO_SLOT
if the feature is non-transient
or single-valued
.getSettingsFeatureCount()
int getTransientFeatureCount()
features
whose values are additionally stored in the CDOObjectImpl.eSettings
array,
if an object is in CDOState.TRANSIENT
.
These are the non-transient
and/or single-valued
features.
getTransientFeatureIndex(int)
int getTransientFeatureIndex(int featureID)
feature
in the CDOObjectImpl.eSettings
array,
or NO_SLOT
if the feature is transient
or many-valued
getTransientFeatureCount()
int getTransientFeatureIndex(EStructuralFeature feature)
getTransientFeatureIndex(int)
InternalCDOClassInfo.PersistenceFilter getPersistenceFilter(EStructuralFeature feature)
feature
.feature
- a feature to be persistedfeature
, or null
if it has no filter but just follows the default persistence rulesCopyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.