public interface InternalCDORevision extends CDORevision, CDORevisionData, CDOReferenceAdjustable, CDOBranchAdjustable
DEPTH_INFINITE, DEPTH_NONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKED
INVALID_DATE, UNSPECIFIED_DATE
UNSPECIFIED_VERSION
NIL
data, getEClass, getPermission, isHistorical, isReadable, isResource, isResourceFolder, isResourceNode, isValid, isValid, isWritable, merge
getVersion
getID
getRevised
getTimeStamp
getVersion
accept, accept, contains, get, getContainerID, getContainingFeatureID, getResourceID, hashCode, indexOf, isEmpty, lastIndexOf, revision, size, toArray, toArray
adjustReferences
adjustBranches
InternalCDOClassInfo getClassInfo()
getClassInfo
in interface CDORevision
InternalCDOBranch getBranch()
CDOBranchVersion
getBranch
in interface CDOBranchPoint
getBranch
in interface CDOBranchVersion
InternalCDORevision getRevisionForID(CDOID id)
InternalCDORevision getProperRevision()
void setID(CDOID id)
void setVersion(int version)
void setBranchPoint(CDOBranchPoint branchPoint)
void setRevised(long revised)
void setResourceID(CDOID resourceID)
void setContainerID(Object containerID)
void setContainingFeatureID(int containingFeatureID)
void adjustForCommit(CDOBranch branch, long timeStamp)
void add(EStructuralFeature feature, int index, Object value)
void clear(EStructuralFeature feature)
Object move(EStructuralFeature feature, int targetIndex, int sourceIndex)
Object remove(EStructuralFeature feature, int index)
Object set(EStructuralFeature feature, int index, Object value)
void unset(EStructuralFeature feature)
Object getValue(EStructuralFeature feature)
CDORevisionData.NIL
Object setValue(EStructuralFeature feature, Object value)
void setList(EStructuralFeature feature, InternalCDOList list)
CDOList getList(EStructuralFeature feature)
CDOList getList(EStructuralFeature feature, int initialCapacity)
initialCapacity
- the initialCapacity of a new list to be created if this revision has no list so far (its size will always
be 0), or -1 to skip list creation and return null
in this case.void read(CDODataInput in) throws IOException
IOException
boolean readValues(CDODataInput in) throws IOException
IOException
void write(CDODataOutput out, int referenceChunk) throws IOException
IOException
void write(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext) throws IOException
IOException
void writeValues(CDODataOutput out, int referenceChunk) throws IOException
IOException
void convertEObjects(CDOIDProvider oidProvider)
InternalCDORevisionDelta compare(CDORevision origin)
compare
in interface CDORevision
InternalCDORevision copy()
copy
in interface CDORevision
EStructuralFeature[] clearValues()
String getResourceNodeName()
void setPermission(CDOPermission permission)
boolean bypassPermissionChecks(boolean on)
This method is used on the client side if the framework changes the revision on another user's behalf, e.g., during invalidation or general revision copying. It's safe to offer this method on the client side because the server is always the permission checking authority (during load or commit).
boolean isListPreserving()
void setListPreserving()
clear(EStructuralFeature)
and
unset(EStructuralFeature)
methods is to set the feature's value to null (discarding the
value itself, a List). By calling this setListPreserving()
method the default behavior
is changed; instead of setting the feature's value to null, the List.clear()
method is
called on the feature's list instance.void freeze()
boolean isFrozen()
boolean isUnchunked()
void setUnchunked()
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.