org.eclipse.emf.cdo.spi.common.revision
Interface InternalCDORevision
- All Superinterfaces:
- CDOBranchPoint, CDOBranchVersion, CDOIDAndVersion, CDOReferenceAdjustable, CDORevisable, CDORevision, CDORevisionData, CDORevisionKey
- All Known Implementing Classes:
- AbstractCDORevision, BaseCDORevision, DelegatingCDORevision, DetachedCDORevision, PointerCDORevision, StubCDORevision, SyntheticCDORevision
- public interface InternalCDORevision
- extends CDORevision, CDORevisionData, CDOReferenceAdjustable
- Since:
- 2.0
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
Method Summary |
void |
add(EStructuralFeature feature,
int index,
Object value)
|
void |
adjustForCommit(CDOBranch branch,
long timeStamp)
|
void |
clear(EStructuralFeature feature)
|
InternalCDORevisionDelta |
compare(CDORevision origin)
|
void |
convertEObjects(CDOIDProvider oidProvider)
|
InternalCDORevision |
copy()
|
void |
freeze()
|
CDOClassInfo |
getClassInfo()
|
CDOList |
getList(EStructuralFeature feature)
|
CDOList |
getList(EStructuralFeature feature,
int initialCapacity)
|
Object |
getValue(EStructuralFeature feature)
Should never return CDORevisionData.NIL |
boolean |
isUnchunked()
|
Object |
move(EStructuralFeature feature,
int targetIndex,
int sourceIndex)
|
void |
read(CDODataInput in)
|
Object |
remove(EStructuralFeature feature,
int index)
|
Object |
set(EStructuralFeature feature,
int index,
Object value)
|
void |
setBranchPoint(CDOBranchPoint branchPoint)
|
void |
setContainerID(Object containerID)
|
void |
setContainingFeatureID(int containingFeatureID)
|
void |
setID(CDOID id)
|
void |
setList(EStructuralFeature feature,
InternalCDOList list)
|
void |
setPermission(CDOPermission permission)
|
void |
setResourceID(CDOID resourceID)
|
void |
setRevised(long revised)
|
void |
setUnchunked()
|
Object |
setValue(EStructuralFeature feature,
Object value)
|
void |
setVersion(int version)
|
void |
unset(EStructuralFeature feature)
|
void |
write(CDODataOutput out,
int referenceChunk)
|
void |
write(CDODataOutput out,
int referenceChunk,
CDOBranchPoint securityContext)
|
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevision |
data, getEClass, getPermission, isHistorical, isReadable, isResource, isResourceFolder, isResourceNode, isValid, isValid, isWritable, merge |
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionData |
contains, get, getContainerID, getContainingFeatureID, getResourceID, hashCode, indexOf, isEmpty, lastIndexOf, revision, size, toArray, toArray |
getClassInfo
CDOClassInfo getClassInfo()
- Since:
- 3.0
setID
void setID(CDOID id)
setVersion
void setVersion(int version)
setBranchPoint
void setBranchPoint(CDOBranchPoint branchPoint)
- Since:
- 3.0
setRevised
void setRevised(long revised)
setResourceID
void setResourceID(CDOID resourceID)
setContainerID
void setContainerID(Object containerID)
setContainingFeatureID
void setContainingFeatureID(int containingFeatureID)
adjustForCommit
void adjustForCommit(CDOBranch branch,
long timeStamp)
- Since:
- 3.0
add
void add(EStructuralFeature feature,
int index,
Object value)
clear
void clear(EStructuralFeature feature)
move
Object move(EStructuralFeature feature,
int targetIndex,
int sourceIndex)
remove
Object remove(EStructuralFeature feature,
int index)
set
Object set(EStructuralFeature feature,
int index,
Object value)
unset
void unset(EStructuralFeature feature)
getValue
Object getValue(EStructuralFeature feature)
- Should never return
CDORevisionData.NIL
setValue
Object setValue(EStructuralFeature feature,
Object value)
setList
void setList(EStructuralFeature feature,
InternalCDOList list)
getList
CDOList getList(EStructuralFeature feature)
getList
CDOList getList(EStructuralFeature feature,
int initialCapacity)
- Parameters:
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.
read
void read(CDODataInput in)
throws IOException
- Throws:
IOException
- Since:
- 3.0
write
void write(CDODataOutput out,
int referenceChunk)
throws IOException
- Throws:
IOException
- Since:
- 3.0
write
void write(CDODataOutput out,
int referenceChunk,
CDOBranchPoint securityContext)
throws IOException
- Throws:
IOException
- Since:
- 4.1
convertEObjects
void convertEObjects(CDOIDProvider oidProvider)
- Since:
- 3.0
compare
InternalCDORevisionDelta compare(CDORevision origin)
- Specified by:
compare
in interface CDORevision
- Since:
- 3.0
copy
InternalCDORevision copy()
- Specified by:
copy
in interface CDORevision
- Since:
- 3.0
setPermission
void setPermission(CDOPermission permission)
- Since:
- 4.1
freeze
void freeze()
- Since:
- 4.0
isUnchunked
boolean isUnchunked()
- Since:
- 4.1
setUnchunked
void setUnchunked()
- Since:
- 4.1
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.