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 |
---|
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 ViewAndState(InternalCDOView view, CDOState state)
public InternalCDOView.ViewAndState getViewAndState(CDOState state)
public static InternalCDOView.ViewAndState[] create(InternalCDOView view)
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html