Schnittstelle InternalCDORevision
- Alle Superschnittstellen:
CDOBranchAdjustable
,CDOBranchPoint
,CDOBranchProvider
,CDOBranchVersion
,CDOIDAndVersion
,CDOIdentifiable
,CDOReferenceAdjustable
,CDORevisable
,CDORevision
,CDORevisionData
,CDORevisionKey
,CDOTimeProvider
,CDOVersionProvider
- Alle bekannten Implementierungsklassen:
AbstractCDORevision
,BaseCDORevision
,DelegatingCDORevision
,DetachedCDORevision
,PointerCDORevision
,StubCDORevision
,SyntheticCDORevision
public interface InternalCDORevision
extends CDORevision, CDORevisionData, CDOReferenceAdjustable, CDOBranchAdjustable
If the meaning of this type isn't clear, there really should be more of a description here...
- Seit:
- 2.0
- Autor:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
Feldübersicht
FelderVon Schnittstelle geerbte Felder org.eclipse.emf.cdo.common.branch.CDOBranchPoint
INVALID_DATE, UNSPECIFIED_DATE
Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.common.branch.CDOBranchVersion
UNSPECIFIED_VERSION
Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.common.revision.CDORevision
DEPTH_INFINITE, DEPTH_NONE, FIRST_VERSION, MAIN_BRANCH_ID, PERMISSION_PROVIDER, UNCHUNKED
Von Schnittstelle geerbte Felder org.eclipse.emf.cdo.common.revision.CDORevisionData
NIL
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
add
(EStructuralFeature feature, int index, Object value) void
adjustForCommit
(CDOBranch branch, long timeStamp) boolean
bypassPermissionChecks
(boolean on) Enables or disables permission checking for this revision.void
clear
(EStructuralFeature feature) compare
(CDORevision origin) void
convertEObjects
(CDOIDProvider oidProvider) copy()
void
freeze()
Returns the branch of this branch version.getList
(EStructuralFeature feature) Veraltet.getList
(EStructuralFeature feature, int initialCapacity) Veraltet.As of 4.7 use eithergetListOrNull(EStructuralFeature)
orgetOrCreateList(EStructuralFeature, int)
.getListOrNull
(EStructuralFeature feature) getOrCreateList
(EStructuralFeature feature) Same asgetOrCreateList(feature, 0)
.getOrCreateList
(EStructuralFeature feature, int initialCapacity) Returns the list that represents the passed feature, possibly creates it if needed.getValue
(EStructuralFeature feature) Should never returnCDORevisionData.NIL
boolean
isFrozen()
boolean
boolean
move
(EStructuralFeature feature, int targetIndex, int sourceIndex) void
read
(CDODataInput in) boolean
readValue
(CDODataInput in, EClass owner, EStructuralFeature feature, int i, boolean unchunked) boolean
remove
(EStructuralFeature feature, int index) set
(EStructuralFeature feature, int index, Object value) void
setBranchPoint
(CDOBranchPoint branchPoint) void
setContainerID
(Object containerID) void
setContainingFeatureID
(int containingFeatureID) default void
setContainingReference
(EReference containingReference) void
void
setList
(EStructuralFeature feature, InternalCDOList list) void
The default behavior of a revision for calls to theclear(EStructuralFeature)
andunset(EStructuralFeature)
methods is to set the feature's value to null (discarding the value itself, a List).void
setPermission
(CDOPermission permission) void
setResourceID
(CDOID resourceID) void
setRevised
(long revised) void
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) void
writeValue
(CDODataOutput out, EClass owner, EStructuralFeature feature, int i, int referenceChunk) void
writeValues
(CDODataOutput out, int referenceChunk) Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.spi.common.branch.CDOBranchAdjustable
adjustBranches
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.branch.CDOBranchPoint
getTimeStamp
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.branch.CDOBranchVersion
getVersion
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDOIDAndVersion
getVersion
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.id.CDOIdentifiable
getID
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.spi.common.revision.CDOReferenceAdjustable
adjustReferences
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDORevisable
getRevised
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDORevision
data, getEClass, getPermission, isHistorical, isReadable, isResource, isResourceFolder, isResourceNode, isValid, isValid, isWritable, merge
Von Schnittstelle geerbte Methoden org.eclipse.emf.cdo.common.revision.CDORevisionData
accept, accept, accept, calculateContainingReferenceID, contains, get, getContainerID, getContainingFeatureID, getContainingReference, getResourceID, hashCode, indexOf, isEmpty, lastIndexOf, revision, size, toArray, toArray
-
Felddetails
-
DO_NOT_CREATE_LIST
static final int DO_NOT_CREATE_LIST- Seit:
- 4.7
- Siehe auch:
-
-
Methodendetails
-
getClassInfo
InternalCDOClassInfo getClassInfo()- Angegeben von:
getClassInfo
in SchnittstelleCDORevision
- Seit:
- 4.2
-
getBranch
InternalCDOBranch getBranch()Beschreibung aus Schnittstelle kopiert:CDOBranchVersion
Returns the branch of this branch version.- Angegeben von:
getBranch
in SchnittstelleCDOBranchPoint
- Angegeben von:
getBranch
in SchnittstelleCDOBranchProvider
- Angegeben von:
getBranch
in SchnittstelleCDOBranchVersion
- Seit:
- 4.2
-
getRevisionForID
- Seit:
- 4.2
-
getProperRevision
InternalCDORevision getProperRevision()- Seit:
- 4.2
-
setID
-
setVersion
void setVersion(int version) -
setBranchPoint
- Seit:
- 3.0
-
setRevised
void setRevised(long revised) -
setResourceID
-
setContainerID
-
setContainingFeatureID
void setContainingFeatureID(int containingFeatureID) -
setContainingReference
- Seit:
- 4.26
- Siehe auch:
-
adjustForCommit
- Seit:
- 3.0
-
add
-
clear
-
move
-
remove
-
set
-
unset
-
getValue
Should never returnCDORevisionData.NIL
-
setValue
-
setList
-
getList
Veraltet.As of 4.7 use eithergetListOrNull(EStructuralFeature)
orgetOrCreateList(EStructuralFeature)
. -
getList
Veraltet.As of 4.7 use eithergetListOrNull(EStructuralFeature)
orgetOrCreateList(EStructuralFeature, int)
. -
getListOrNull
- Seit:
- 4.7
-
getOrCreateList
Same asgetOrCreateList(feature, 0)
.Warning: Must be used with caution because list creation for an
unsettable
feature implies a transition from UNSET to SET!- Seit:
- 4.7
-
getOrCreateList
Returns the list that represents the passed feature, possibly creates it if needed.Warning: Must be used with caution because list creation for an
unsettable
feature implies a transition from UNSET to SET!- Parameter:
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 returnnull
in this case.- Seit:
- 4.7
- Siehe auch:
-
read
- Löst aus:
IOException
- Seit:
- 3.0
-
readValues
- Löst aus:
IOException
- Seit:
- 4.3
-
readValue
boolean readValue(CDODataInput in, EClass owner, EStructuralFeature feature, int i, boolean unchunked) throws IOException - Löst aus:
IOException
- Seit:
- 4.26
-
write
- Löst aus:
IOException
- Seit:
- 3.0
-
write
void write(CDODataOutput out, int referenceChunk, CDOBranchPoint securityContext) throws IOException - Löst aus:
IOException
- Seit:
- 4.1
-
writeValues
- Löst aus:
IOException
- Seit:
- 4.3
-
writeValue
void writeValue(CDODataOutput out, EClass owner, EStructuralFeature feature, int i, int referenceChunk) throws IOException - Löst aus:
IOException
- Seit:
- 4.26
-
convertEObjects
- Seit:
- 3.0
-
compare
- Angegeben von:
compare
in SchnittstelleCDORevision
- Seit:
- 3.0
-
copy
InternalCDORevision copy()- Angegeben von:
copy
in SchnittstelleCDORevision
- Seit:
- 3.0
-
clearValues
EStructuralFeature[] clearValues()- Seit:
- 4.2
-
getResourceNodeName
String getResourceNodeName()- Seit:
- 4.3
-
setPermission
- Seit:
- 4.1
-
bypassPermissionChecks
boolean bypassPermissionChecks(boolean on) Enables or disables permission checking for this revision.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).
- Seit:
- 4.3
-
isListPreserving
boolean isListPreserving()- Seit:
- 4.3
-
setListPreserving
void setListPreserving()The default behavior of a revision for calls to theclear(EStructuralFeature)
andunset(EStructuralFeature)
methods is to set the feature's value to null (discarding the value itself, a List). By calling thissetListPreserving()
method the default behavior is changed; instead of setting the feature's value to null, theList.clear()
method is called on the feature's list instance.- Seit:
- 4.3
-
freeze
void freeze()- Seit:
- 4.0
-
isFrozen
boolean isFrozen()- Seit:
- 4.2
-
isUnchunked
boolean isUnchunked()- Seit:
- 4.1
-
setUnchunked
void setUnchunked()- Seit:
- 4.1
-
getListOrNull(EStructuralFeature)
orgetOrCreateList(EStructuralFeature)
.