public interface CDOBranchVersion extends CDOBranchProvider, CDOVersionProvider
branch
and an integer version
number.
It is often used in the context of
CDORevisionManager.getRevisionByVersion()
.
CDOBranch.getVersion(int)
CDOBranch
Modifier and Type | Field and Description |
---|---|
static int |
FIRST_VERSION
|
static int |
UNSPECIFIED_VERSION
The fixed special version number unspecified.
|
Modifier and Type | Method and Description |
---|---|
CDOBranch |
getBranch()
Returns the branch of this branch version.
|
int |
getVersion()
Returns the version number of this branch version.
|
static final int UNSPECIFIED_VERSION
static final int FIRST_VERSION
revision
of an object
that
is committed to a particular branch .CDOBranch getBranch()
getBranch
in interface CDOBranchProvider
int getVersion()
getVersion
in interface CDOVersionProvider
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