public class PointerCDORevision extends SyntheticCDORevision
synthetic
revision that represents the initial period of an object in a
branch
when the object is still associated with a revision from one of the baseline branches. It
always has version
zero
and can only appear in
branches below the main
branch.DEPTH_INFINITE, DEPTH_NONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKED
INVALID_DATE, UNSPECIFIED_DATE
UNSPECIFIED_VERSION
NIL
Constructor and Description |
---|
PointerCDORevision(EClass eClass,
CDOID id,
CDOBranch branch,
long revised,
CDOBranchVersion target) |
Modifier and Type | Method and Description |
---|---|
long |
getRevised() |
CDOBranchVersion |
getTarget() |
long |
getTimeStamp()
Returns the time stamp of this branch point, or the fixed special time stamp
unspecified if this branch point marks the head of a branch. |
int |
getVersion()
Returns the version number of this branch version.
|
void |
setRevised(long revised) |
String |
toString() |
freeze, getBranch, getID
add, adjustBranches, adjustReferences, bypassPermissionChecks, clear, clearValues, compare, compareTo, contains, convertEObjects, copy, get, getContainerID, getContainingFeatureID, getList, getList, getPermission, getResourceID, getResourceNodeName, getValue, hashCode, indexOf, isEmpty, isFrozen, isListPreserving, isUnchunked, lastIndexOf, merge, move, read, readValues, remove, set, setBranchPoint, setContainerID, setContainingFeatureID, setID, setList, setListPreserving, setPermission, setResourceID, setUnchunked, setValue, setVersion, size, toArray, toArray, unset, write, write, writeValues
accept, accept, adjustForCommit, data, equals, getAllPersistentFeatures, getClassInfo, getEClass, getFeatureIndex, getProperRevision, getRevisionForID, hashCode, initClassInfo, isHistorical, isReadable, isResource, isResourceFolder, isResourceNode, isValid, isValid, isWritable, revision
public PointerCDORevision(EClass eClass, CDOID id, CDOBranch branch, long revised, CDOBranchVersion target)
public final int getVersion()
CDOBranchVersion
getVersion
in interface CDOBranchVersion
getVersion
in interface CDOIDAndVersion
getVersion
in interface CDOVersionProvider
getVersion
in class StubCDORevision
public long getTimeStamp()
CDOBranchPoint
unspecified
if this branch point marks the head
of a branch.getTimeStamp
in interface CDOBranchPoint
getTimeStamp
in interface CDOTimeProvider
getTimeStamp
in class StubCDORevision
public long getRevised()
getRevised
in interface CDORevisable
getRevised
in class StubCDORevision
public void setRevised(long revised)
setRevised
in interface InternalCDORevision
setRevised
in class StubCDORevision
public CDOBranchVersion getTarget()
public String toString()
toString
in class AbstractCDORevision
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html