Class AbstractCDORevision
java.lang.Object
org.eclipse.emf.cdo.spi.common.revision.AbstractCDORevision
- All Implemented Interfaces:
CDOBranchPoint,CDOBranchProvider,CDOBranchVersion,CDOIdentifiable,CDOIDAndVersion,CDORevisable,CDORevision,CDORevisionData,CDORevisionKey,CDOTimeProvider,CDOVersionProvider,CDOBranchAdjustable,CDOReferenceAdjustable,InternalCDORevision
- Direct Known Subclasses:
BaseCDORevision,StubCDORevision
If the meaning of this type isn't clear, there really should be more of a description here...
- Since:
- 2.0
- Author:
- Eike Stepper
-
Field Summary
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATEFields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchVersion
UNSPECIFIED_VERSIONFields inherited from interface org.eclipse.emf.cdo.common.revision.CDORevision
DEPTH_INFINITE, DEPTH_NONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKEDFields inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionData
NILFields inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision
DO_NOT_CREATE_LIST -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractCDORevision(InternalCDOClassInfo classInfo) protectedAbstractCDORevision(EClass eClass) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CDORevisionValueVisitor visitor) voidaccept(CDORevisionValueVisitor visitor, Predicate<EStructuralFeature> filter) voidaccept(CDORevisionValueVisitor visitor, org.eclipse.net4j.util.Predicate<EStructuralFeature> filter) Deprecated.voidadjustForCommit(CDOBranch branch, long timeStamp) data()booleanprotected EStructuralFeature[]final InternalCDOClassInfofinal EClassprotected intgetFeatureIndex(EStructuralFeature feature) getList(EStructuralFeature feature) Deprecated.getList(EStructuralFeature feature, int initialCapacity) Deprecated.inthashCode()protected voidinitClassInfo(EClass eClass) booleanReturnstrueexactly ifCDOBranchPoint.getTimeStamp()does not returnCDOBranchPoint.UNSPECIFIED_DATE,falseotherwise.booleanbooleanbooleanbooleanbooleanisValid(long timeStamp) booleanisValid(CDOBranchPoint branchPoint) booleanrevision()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.cdo.spi.common.branch.CDOBranchAdjustable
adjustBranchesMethods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
getTimeStampMethods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchVersion
getVersionMethods inherited from interface org.eclipse.emf.cdo.common.revision.CDOIDAndVersion
getVersionMethods inherited from interface org.eclipse.emf.cdo.common.id.CDOIdentifiable
getIDMethods inherited from interface org.eclipse.emf.cdo.spi.common.revision.CDOReferenceAdjustable
adjustReferencesMethods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisable
getRevisedMethods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevision
getPermission, mergeMethods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionData
contains, get, getContainerID, getContainingFeatureID, getResourceID, hashCode, indexOf, isEmpty, lastIndexOf, size, toArray, toArrayMethods inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision
add, bypassPermissionChecks, clear, clearValues, compare, convertEObjects, copy, freeze, getBranch, getListOrNull, getOrCreateList, getOrCreateList, getResourceNodeName, getValue, isFrozen, isListPreserving, isUnchunked, move, read, readValues, remove, set, setBranchPoint, setContainerID, setContainingFeatureID, setID, setList, setListPreserving, setPermission, setResourceID, setRevised, setUnchunked, setValue, setVersion, unset, write, write, writeValues
-
Constructor Details
-
AbstractCDORevision
- Since:
- 3.0
-
AbstractCDORevision
- Since:
- 4.2
-
-
Method Details
-
getClassInfo
- Specified by:
getClassInfoin interfaceCDORevision- Specified by:
getClassInfoin interfaceInternalCDORevision- Since:
- 4.2
-
getEClass
- Specified by:
getEClassin interfaceCDORevision
-
getRevisionForID
- Specified by:
getRevisionForIDin interfaceInternalCDORevision- Since:
- 4.2
-
getProperRevision
- Specified by:
getProperRevisionin interfaceInternalCDORevision- Since:
- 4.2
-
isResourceNode
public boolean isResourceNode()- Specified by:
isResourceNodein interfaceCDORevision
-
isResourceFolder
public boolean isResourceFolder()- Specified by:
isResourceFolderin interfaceCDORevision
-
isResource
public boolean isResource()- Specified by:
isResourcein interfaceCDORevision
-
data
- Specified by:
datain interfaceCDORevision
-
revision
- Specified by:
revisionin interfaceCDORevisionData
-
isHistorical
public boolean isHistorical()Description copied from interface:CDORevisionReturnstrueexactly ifCDOBranchPoint.getTimeStamp()does not returnCDOBranchPoint.UNSPECIFIED_DATE,falseotherwise.- Specified by:
isHistoricalin interfaceCDORevision- Since:
- 3.0
-
isValid
public boolean isValid(long timeStamp) - Specified by:
isValidin interfaceCDORevision
-
isValid
- Specified by:
isValidin interfaceCDORevision- Since:
- 4.0
-
isReadable
public boolean isReadable()- Specified by:
isReadablein interfaceCDORevision- Since:
- 4.1
-
isWritable
public boolean isWritable()- Specified by:
isWritablein interfaceCDORevision- Since:
- 4.1
-
accept
- Specified by:
acceptin interfaceCDORevisionData- Since:
- 4.2
-
accept
@Deprecated public void accept(CDORevisionValueVisitor visitor, org.eclipse.net4j.util.Predicate<EStructuralFeature> filter) Deprecated.- Specified by:
acceptin interfaceCDORevisionData- Since:
- 4.2
-
accept
- Specified by:
acceptin interfaceCDORevisionData- Since:
- 4.9
-
adjustForCommit
- Specified by:
adjustForCommitin interfaceInternalCDORevision- Since:
- 3.0
-
hashCode
public int hashCode() -
equals
-
toString
-
getList
Deprecated.- Specified by:
getListin interfaceInternalCDORevision
-
getList
Deprecated.- Specified by:
getListin interfaceInternalCDORevision
-
initClassInfo
- Since:
- 4.2
-
getAllPersistentFeatures
- Since:
- 3.0
-
getFeatureIndex
- Since:
- 3.0
-