Interface InternalCDOClassInfo
-
- All Superinterfaces:
org.eclipse.emf.common.notify.Adapter,CDOClassInfo
public interface InternalCDOClassInfo extends CDOClassInfo
If the meaning of this type isn't clear, there really should be more of a description here...- Since:
- 4.2
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceInternalCDOClassInfo.PersistenceFilterEncapsulation of a rule for filtering the persistent values of a feature in some model element.
-
Field Summary
Fields Modifier and Type Field Description static intNO_SLOT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternalCDOClassInfo.PersistenceFiltergetPersistenceFilter(org.eclipse.emf.ecore.EStructuralFeature feature)Obtains a rule that filters/transforms the persist values of the givenfeature.intgetPersistentFeatureIndex(int featureID)intgetPersistentFeatureIndex(org.eclipse.emf.ecore.EStructuralFeature feature)InternalCDORevisiongetRevisionForID(CDOID id)intgetSettingsFeatureCount()Returns the number offeatureswhose values are always stored in theCDOObjectImpl.eSettingsarray, whether an object is inCDOState.TRANSIENTor not.intgetSettingsFeatureIndex(int featureID)Returns the index of the specifiedfeaturein theCDOObjectImpl.eSettingsarray, orNO_SLOTif the feature isnon-transientorsingle-valued.intgetTransientFeatureCount()Returns the number offeatureswhose values are additionally stored in theCDOObjectImpl.eSettingsarray, if an object is inCDOState.TRANSIENT.intgetTransientFeatureIndex(int featureID)intgetTransientFeatureIndex(org.eclipse.emf.ecore.EStructuralFeature feature)-
Methods inherited from interface org.eclipse.emf.common.notify.Adapter
getTarget, isAdapterForType, notifyChanged, setTarget
-
Methods inherited from interface org.eclipse.emf.cdo.common.model.CDOClassInfo
getAllPersistentContainments, getAllPersistentFeatures, getAllPersistentMapFeatures, getAllPersistentReferences, getEClass, getFeatureIndex, getFeatureIndex, hasPersistentFeatureMaps, hasPersistentOpposite, isPersistent, isPersistent, isResource, isResourceFolder, isResourceNode
-
-
-
-
Field Detail
-
NO_SLOT
static final int NO_SLOT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRevisionForID
InternalCDORevision getRevisionForID(CDOID id)
-
getPersistentFeatureIndex
int getPersistentFeatureIndex(org.eclipse.emf.ecore.EStructuralFeature feature) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException- if the specified feature is notpersistent.- See Also:
getPersistentFeatureIndex(int)
-
getPersistentFeatureIndex
int getPersistentFeatureIndex(int featureID) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException- if the specified feature is notpersistent.- See Also:
getPersistentFeatureIndex(EStructuralFeature)
-
getSettingsFeatureCount
int getSettingsFeatureCount()
Returns the number offeatureswhose values are always stored in theCDOObjectImpl.eSettingsarray, whether an object is inCDOState.TRANSIENTor not.These are the
transientand/ormany-valuedfeatures.- See Also:
getSettingsFeatureIndex(int)
-
getSettingsFeatureIndex
int getSettingsFeatureIndex(int featureID)
Returns the index of the specifiedfeaturein theCDOObjectImpl.eSettingsarray, orNO_SLOTif the feature isnon-transientorsingle-valued.- See Also:
getSettingsFeatureCount()
-
getTransientFeatureCount
int getTransientFeatureCount()
Returns the number offeatureswhose values are additionally stored in theCDOObjectImpl.eSettingsarray, if an object is inCDOState.TRANSIENT.These are the
non-transientand/orsingle-valuedfeatures.- See Also:
getTransientFeatureIndex(int)
-
getTransientFeatureIndex
int getTransientFeatureIndex(int featureID)
Returns the index of the specifiedfeaturein theCDOObjectImpl.eSettingsarray, orNO_SLOTif the feature istransientormany-valued- See Also:
getTransientFeatureCount()
-
getTransientFeatureIndex
int getTransientFeatureIndex(org.eclipse.emf.ecore.EStructuralFeature feature)
- See Also:
getTransientFeatureIndex(int)
-
getPersistenceFilter
InternalCDOClassInfo.PersistenceFilter getPersistenceFilter(org.eclipse.emf.ecore.EStructuralFeature feature)
Obtains a rule that filters/transforms the persist values of the givenfeature.- Parameters:
feature- a feature to be persisted- Returns:
- a persistence filter rule for the
feature, ornullif it has no filter but just follows the default persistence rules
-
-