Package org.eclipse.emf.spi.cdo
Class InternalCDOView.ViewAndState
java.lang.Object
org.eclipse.emf.spi.cdo.InternalCDOView.ViewAndState
- Enclosing interface:
- InternalCDOView
Optimizes the storage of
CDOObject.cdoView()
and CDOObject.cdoState()
. All objects of a view
share a small number of CDOState
literals, so they are moved into a final AbstractCDOView.viewAndStates array.
For the TRANSIENT
state, where there is no view associated with a CDOObject
, this class
maintains a static VIEW_AND_STATES
array.- Since:
- 4.2
- Author:
- Eike Stepper
-
Field Summary
Modifier and TypeFieldDescriptionfinal CDOState
static final InternalCDOView.ViewAndState
final InternalCDOView
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic InternalCDOView.ViewAndState[]
create
(InternalCDOView view) getViewAndState
(CDOState state) toString()