org.eclipse.emf.emfstore.server.model.versionspec
Interface ESVersionSpec

All Known Subinterfaces:
ESAncestorVersionSpec, ESBranchVersionSpec, ESDateVersionSpec, ESHeadVersionSpec, ESPagedUpdateVersionSpec, ESPrimaryVersionSpec, ESTagVersionSpec
All Known Implementing Classes:
ESAncestorVersionSpecImpl, ESBranchVersionSpecImpl, ESDateVersionSpecImpl, ESHeadVersionSpecImpl, ESPagedUpdateVersionSpecImpl, ESPrimaryVersionSpecImpl, ESTagVersionSpecImpl, ESVersionSpecImpl

public interface ESVersionSpec

Represents a version specifier.

A version specifier has a branch name which identifies the respective branch.

Author:
wesendon, emueller

Field Summary
static String BASE
          BASE identifier.
static String BRANCH_DEFAULT_NAME
          The default branch name 'trunk'.
static ESVersionFactory FACTORY
          The factory used for creating ESVersionSpecs.
static String GLOBAL
          Global identifier.
static String HEAD
          HEAD identifier.
 
Method Summary
 String getBranch()
          Returns the branch name.
 

Field Detail

HEAD

static final String HEAD
HEAD identifier.

See Also:
Constant Field Values

BASE

static final String BASE
BASE identifier.

See Also:
Constant Field Values

BRANCH_DEFAULT_NAME

static final String BRANCH_DEFAULT_NAME
The default branch name 'trunk'.

See Also:
Constant Field Values

GLOBAL

static final String GLOBAL
Global identifier.

See Also:
Constant Field Values

FACTORY

static final ESVersionFactory FACTORY
The factory used for creating ESVersionSpecs.

Method Detail

getBranch

String getBranch()
Returns the branch name.

Returns:
the branch name of this version specifier


Copyright © 2015. All Rights Reserved.