public abstract class SyntheticCDORevision extends StubCDORevision
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.
Synthetic revisions are used for two slightly different purposes:
cache
optimization.
Instances of this marker revision are not supposed to be exposed outside of a revision manager
. They are mainly used in the communication between a revision manager and its associated revision
loader
.
DEPTH_INFINITE, DEPTH_NONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKED
INVALID_DATE, UNSPECIFIED_DATE
UNSPECIFIED_VERSION
NIL
Constructor and Description |
---|
SyntheticCDORevision(EClass eClass,
CDOID id,
CDOBranch branch) |
Modifier and Type | Method and Description |
---|---|
void |
freeze() |
InternalCDOBranch |
getBranch()
Returns the branch of this branch version.
|
CDOID |
getID() |
add, adjustBranches, adjustReferences, bypassPermissionChecks, clear, clearValues, compare, compareTo, contains, convertEObjects, copy, get, getContainerID, getContainingFeatureID, getList, getList, getPermission, getResourceID, getResourceNodeName, getRevised, getTimeStamp, getValue, getVersion, hashCode, indexOf, isEmpty, isFrozen, isListPreserving, isUnchunked, lastIndexOf, merge, move, read, readValues, remove, set, setBranchPoint, setContainerID, setContainingFeatureID, setID, setList, setListPreserving, setPermission, setResourceID, setRevised, 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, toString
public CDOID getID()
getID
in interface CDOIdentifiable
getID
in class StubCDORevision
public InternalCDOBranch getBranch()
CDOBranchVersion
getBranch
in interface CDOBranchPoint
getBranch
in interface CDOBranchProvider
getBranch
in interface CDOBranchVersion
getBranch
in interface InternalCDORevision
getBranch
in class StubCDORevision
public void freeze()
freeze
in interface InternalCDORevision
freeze
in class StubCDORevision
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