public static final class InternalCDOView.ViewAndState extends Object
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.Modifier and Type | Field and Description |
---|---|
CDOState |
state |
static InternalCDOView.ViewAndState |
TRANSIENT |
InternalCDOView |
view |
Constructor and Description |
---|
InternalCDOView.ViewAndState(InternalCDOView view,
CDOState state) |
Modifier and Type | Method and Description |
---|---|
static InternalCDOView.ViewAndState[] |
create(InternalCDOView view) |
InternalCDOView.ViewAndState |
getViewAndState(CDOState state) |
String |
toString() |
public static final InternalCDOView.ViewAndState TRANSIENT
public final InternalCDOView view
public final CDOState state
public InternalCDOView.ViewAndState(InternalCDOView view, CDOState state)
public InternalCDOView.ViewAndState getViewAndState(CDOState state)
public static InternalCDOView.ViewAndState[] create(InternalCDOView view)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.