org.eclipse.emf.cdo.spi.common.revision
Class AbstractCDORevision
java.lang.Object
org.eclipse.emf.cdo.spi.common.revision.AbstractCDORevision
- All Implemented Interfaces:
- CDOBranchPoint, CDOBranchVersion, CDOIDAndVersion, CDORevisable, CDORevision, CDORevisionData, CDORevisionKey, CDOReferenceAdjustable, InternalCDORevision
- Direct Known Subclasses:
- BaseCDORevision, StubCDORevision
- public abstract class AbstractCDORevision
- extends Object
- implements InternalCDORevision
- Since:
- 2.0
Methods inherited from interface org.eclipse.emf.cdo.spi.common.revision.InternalCDORevision |
add, clear, compare, convertEObjects, copy, freeze, getList, getList, getValue, isUnchunked, move, read, remove, set, setBranchPoint, setContainerID, setContainingFeatureID, setID, setList, setPermission, setResourceID, setRevised, setUnchunked, setValue, setVersion, unset, write, write |
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionData |
contains, get, getContainerID, getContainingFeatureID, getResourceID, hashCode, indexOf, isEmpty, lastIndexOf, size, toArray, toArray |
AbstractCDORevision
protected AbstractCDORevision(EClass eClass)
- Since:
- 3.0
getClassInfo
public CDOClassInfo getClassInfo()
- Specified by:
getClassInfo
in interface InternalCDORevision
- Since:
- 3.0
getEClass
public EClass getEClass()
- Specified by:
getEClass
in interface CDORevision
isResourceNode
public boolean isResourceNode()
- Specified by:
isResourceNode
in interface CDORevision
isResourceFolder
public boolean isResourceFolder()
- Specified by:
isResourceFolder
in interface CDORevision
isResource
public boolean isResource()
- Specified by:
isResource
in interface CDORevision
data
public CDORevisionData data()
- Specified by:
data
in interface CDORevision
revision
public CDORevision revision()
- Specified by:
revision
in interface CDORevisionData
isHistorical
public boolean isHistorical()
- Description copied from interface:
CDORevision
- Returns
true
exactly if CDOBranchPoint.getTimeStamp()
does not return CDOBranchPoint.UNSPECIFIED_DATE
,
false
otherwise.
- Specified by:
isHistorical
in interface CDORevision
- Since:
- 3.0
isValid
public boolean isValid(long timeStamp)
- Specified by:
isValid
in interface CDORevision
isValid
public boolean isValid(CDOBranchPoint branchPoint)
- Specified by:
isValid
in interface CDORevision
- Since:
- 4.0
isReadable
public boolean isReadable()
- Specified by:
isReadable
in interface CDORevision
- Since:
- 4.1
isWritable
public boolean isWritable()
- Specified by:
isWritable
in interface CDORevision
- Since:
- 4.1
adjustForCommit
public void adjustForCommit(CDOBranch branch,
long timeStamp)
- Specified by:
adjustForCommit
in interface InternalCDORevision
- Since:
- 3.0
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
setClassInfo
protected void setClassInfo(CDOClassInfo classInfo)
- Since:
- 3.0
getAllPersistentFeatures
protected EStructuralFeature[] getAllPersistentFeatures()
- Since:
- 3.0
getFeatureIndex
protected int getFeatureIndex(EStructuralFeature feature)
- Since:
- 3.0
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.