org.eclipse.emf.emfstore.server.model.query
Interface ESHistoryQuery<H extends ESHistoryQuery<?>>

Type Parameters:
H - a ESHistoryQuery subtype
All Known Subinterfaces:
ESModelElementQuery, ESPathQuery, ESRangeQuery<R>
All Known Implementing Classes:
ESHistoryQueryImpl, ESModelElementQueryImpl, ESPathQueryImpl, ESRangeQueryImpl

public interface ESHistoryQuery<H extends ESHistoryQuery<?>>

A query that is used to retrieve information about the version history.

Author:
emueller, wesendom

Field Summary
static ESHistoryQueryFactory FACTORY
          Factory for creating history queries.
 
Method Summary
 ESPrimaryVersionSpec getSource()
          Returns the ESPrimaryVersionSpec this history query is pointing to.
 boolean isIncludeAllVersions()
          Whether the include all versions, i.e.
 boolean isIncludeChangePackages()
          Whether ESChangePackages are included in the query.
 void setIncludeAllVersions(boolean includeAllVersion)
          Determines whether to include all versions, i.e.
 void setIncludeChangePackages(boolean includeChangePackages)
          Determines whether ESChangePackages are included in the query.
 void setSource(ESPrimaryVersionSpec versionSpec)
          Sets the version specifier this history query should be pointing to.
 

Field Detail

FACTORY

static final ESHistoryQueryFactory FACTORY
Factory for creating history queries.

Method Detail

getSource

ESPrimaryVersionSpec getSource()
Returns the ESPrimaryVersionSpec this history query is pointing to.

Returns:
the version specifier this history query points to

setSource

void setSource(ESPrimaryVersionSpec versionSpec)
Sets the version specifier this history query should be pointing to.

Parameters:
versionSpec - the version specifier the history query should be pointing to

setIncludeChangePackages

void setIncludeChangePackages(boolean includeChangePackages)
Determines whether ESChangePackages are included in the query.

Parameters:
includeChangePackages - true, if change packages should be included in the query, false otherwise

isIncludeChangePackages

boolean isIncludeChangePackages()
Whether ESChangePackages are included in the query.

Returns:
true, if change packages are included in the query, false otherwise

setIncludeAllVersions

void setIncludeAllVersions(boolean includeAllVersion)
Determines whether to include all versions, i.e. whether branches should be considered by the history query.

Parameters:
includeAllVersion - true, if branches should be considered, false otherwise

isIncludeAllVersions

boolean isIncludeAllVersions()
Whether the include all versions, i.e. whether branches should be considered by the history query.

Returns:
true, if branches are considered by the query, false otherwise


Copyright © 2015. All Rights Reserved.