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_DATE
Fields inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchVersion
UNSPECIFIED_VERSION
Fields inherited from interface org.eclipse.emf.cdo.common.revision.CDORevision
DEPTH_INFINITE, DEPTH_NONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKED
Fields inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionData
NIL
Fields inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision
DO_NOT_CREATE_LIST
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractCDORevision
(InternalCDOClassInfo classInfo) protected
AbstractCDORevision
(EClass eClass) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(CDORevisionValueVisitor visitor) void
accept
(CDORevisionValueVisitor visitor, Predicate<EStructuralFeature> filter) void
accept
(CDORevisionValueVisitor visitor, org.eclipse.net4j.util.Predicate<EStructuralFeature> filter) Deprecated.void
adjustForCommit
(CDOBranch branch, long timeStamp) data()
boolean
protected EStructuralFeature[]
final InternalCDOClassInfo
final EClass
protected int
getFeatureIndex
(EStructuralFeature feature) getList
(EStructuralFeature feature) Deprecated.getList
(EStructuralFeature feature, int initialCapacity) Deprecated.int
hashCode()
protected void
initClassInfo
(EClass eClass) boolean
Returnstrue
exactly ifCDOBranchPoint.getTimeStamp()
does not returnCDOBranchPoint.UNSPECIFIED_DATE
,false
otherwise.boolean
boolean
boolean
boolean
boolean
isValid
(long timeStamp) boolean
isValid
(CDOBranchPoint branchPoint) boolean
revision()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.emf.cdo.spi.common.branch.CDOBranchAdjustable
adjustBranches
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchPoint
getTimeStamp
Methods inherited from interface org.eclipse.emf.cdo.common.branch.CDOBranchVersion
getVersion
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDOIDAndVersion
getVersion
Methods inherited from interface org.eclipse.emf.cdo.common.id.CDOIdentifiable
getID
Methods inherited from interface org.eclipse.emf.cdo.spi.common.revision.CDOReferenceAdjustable
adjustReferences
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisable
getRevised
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevision
getPermission, merge
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionData
contains, get, getContainerID, getContainingFeatureID, getResourceID, hashCode, indexOf, isEmpty, lastIndexOf, size, toArray, toArray
Methods 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:
getClassInfo
in interfaceCDORevision
- Specified by:
getClassInfo
in interfaceInternalCDORevision
- Since:
- 4.2
-
getEClass
- Specified by:
getEClass
in interfaceCDORevision
-
getRevisionForID
- Specified by:
getRevisionForID
in interfaceInternalCDORevision
- Since:
- 4.2
-
getProperRevision
- Specified by:
getProperRevision
in interfaceInternalCDORevision
- Since:
- 4.2
-
isResourceNode
public boolean isResourceNode()- Specified by:
isResourceNode
in interfaceCDORevision
-
isResourceFolder
public boolean isResourceFolder()- Specified by:
isResourceFolder
in interfaceCDORevision
-
isResource
public boolean isResource()- Specified by:
isResource
in interfaceCDORevision
-
data
- Specified by:
data
in interfaceCDORevision
-
revision
- Specified by:
revision
in interfaceCDORevisionData
-
isHistorical
public boolean isHistorical()Description copied from interface:CDORevision
Returnstrue
exactly ifCDOBranchPoint.getTimeStamp()
does not returnCDOBranchPoint.UNSPECIFIED_DATE
,false
otherwise.- Specified by:
isHistorical
in interfaceCDORevision
- Since:
- 3.0
-
isValid
public boolean isValid(long timeStamp) - Specified by:
isValid
in interfaceCDORevision
-
isValid
- Specified by:
isValid
in interfaceCDORevision
- Since:
- 4.0
-
isReadable
public boolean isReadable()- Specified by:
isReadable
in interfaceCDORevision
- Since:
- 4.1
-
isWritable
public boolean isWritable()- Specified by:
isWritable
in interfaceCDORevision
- Since:
- 4.1
-
accept
- Specified by:
accept
in interfaceCDORevisionData
- Since:
- 4.2
-
accept
@Deprecated public void accept(CDORevisionValueVisitor visitor, org.eclipse.net4j.util.Predicate<EStructuralFeature> filter) Deprecated.- Specified by:
accept
in interfaceCDORevisionData
- Since:
- 4.2
-
accept
- Specified by:
accept
in interfaceCDORevisionData
- Since:
- 4.9
-
adjustForCommit
- Specified by:
adjustForCommit
in interfaceInternalCDORevision
- Since:
- 3.0
-
hashCode
public int hashCode() -
equals
-
toString
-
getList
Deprecated.- Specified by:
getList
in interfaceInternalCDORevision
-
getList
Deprecated.- Specified by:
getList
in interfaceInternalCDORevision
-
initClassInfo
- Since:
- 4.2
-
getAllPersistentFeatures
- Since:
- 3.0
-
getFeatureIndex
- Since:
- 3.0
-