|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl<U,T> org.eclipse.emf.emfstore.internal.server.model.impl.api.query.ESHistoryQueryImpl<T,U> org.eclipse.emf.emfstore.internal.server.model.impl.api.query.ESRangeQueryImpl<T,U>
T
- a sub-type of ESRangeQueryImpl
U
- a sub-type of RangeQuery
public class ESRangeQueryImpl<T extends ESRangeQuery<?>,U extends RangeQuery<T>>
Mapping between ESRangeQuery
and RangeQuery
.
Field Summary |
---|
Fields inherited from interface org.eclipse.emf.emfstore.server.model.query.ESHistoryQuery |
---|
FACTORY |
Constructor Summary | |
---|---|
ESRangeQueryImpl(U rangeQuery)
Constructor. |
Method Summary | |
---|---|
int |
getLowerLimit()
Returns the lower limit of the range query. |
ESPrimaryVersionSpec |
getSource()
Returns the ESPrimaryVersionSpec this history query is pointing to. |
int |
getUpperLimit()
Returns the upper limit of the range query, |
boolean |
isIncludeAllVersions()
Whether the include all versions, i.e. |
boolean |
isIncludeChangePackages()
Whether ESChangePackage s are included in the query. |
boolean |
isIncludeIncoming()
Whether the query should consider incoming versions. |
boolean |
isIncludeOutgoing()
Whether the query should include outgoing versions. |
void |
setIncludeAllVersions(boolean includeAllVersion)
Determines whether to include all versions, i.e. |
void |
setIncludeChangePackages(boolean includeChangePackages)
Determines whether ESChangePackage s
are included in the query. |
void |
setIncludeIncoming(boolean includeIncomingVersions)
Determines whether the query should consider incoming versions. |
void |
setIncludeOutgoing(boolean includeOutgoingVersions)
Determines whether the query should consider outgoing versions. |
void |
setLowerLimit(int lowerLimit)
Sets the lower limit of the range query. |
void |
setSource(ESPrimaryVersionSpec versionSpec)
Sets the version specifier this history query should be pointing to. |
void |
setUpperLimit(int upperLimit)
Sets the upper limit of the range query. |
Methods inherited from class org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl |
---|
equals, hashCode, toInternalAPI |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ESRangeQueryImpl(U rangeQuery)
rangeQuery
- the delegateMethod Detail |
---|
public ESPrimaryVersionSpec getSource()
ESPrimaryVersionSpec
this history query is pointing to.
getSource
in interface ESHistoryQuery<T extends ESRangeQuery<?>>
ESHistoryQuery.getSource()
public void setSource(ESPrimaryVersionSpec versionSpec)
setSource
in interface ESHistoryQuery<T extends ESRangeQuery<?>>
versionSpec
- the version specifier the history query should be pointing toESHistoryQuery.setSource(org.eclipse.emf.emfstore.server.model.versionspec.ESPrimaryVersionSpec)
public void setIncludeChangePackages(boolean includeChangePackages)
ESChangePackage
s
are included in the query.
setIncludeChangePackages
in interface ESHistoryQuery<T extends ESRangeQuery<?>>
includeChangePackages
- true
, if change packages should be included in the query, false
otherwiseESHistoryQuery.setIncludeChangePackages(boolean)
public boolean isIncludeChangePackages()
ESChangePackage
s are included in the query.
isIncludeChangePackages
in interface ESHistoryQuery<T extends ESRangeQuery<?>>
true
, if change packages are included in the query, false
otherwiseESHistoryQuery.isIncludeChangePackages()
public void setIncludeAllVersions(boolean includeAllVersion)
setIncludeAllVersions
in interface ESHistoryQuery<T extends ESRangeQuery<?>>
includeAllVersion
- true
, if branches should be considered, false
otherwiseESHistoryQuery.setIncludeAllVersions(boolean)
public boolean isIncludeAllVersions()
isIncludeAllVersions
in interface ESHistoryQuery<T extends ESRangeQuery<?>>
true
, if branches are considered by the query, false
otherwiseESHistoryQuery.isIncludeAllVersions()
public int getUpperLimit()
Returns the upper limit of the range query,
The upper limit of a range query specifies how many versions after the source version will be considered by the query.
getUpperLimit
in interface ESRangeQuery<T extends ESRangeQuery<?>>
ESRangeQuery.getUpperLimit()
public void setUpperLimit(int upperLimit)
Sets the upper limit of the range query.
The upper limit of a range query specifies how many versions after the source version will be considered by the query.
setUpperLimit
in interface ESRangeQuery<T extends ESRangeQuery<?>>
upperLimit
- the upper limit of the queryESRangeQuery.setUpperLimit(int)
public int getLowerLimit()
Returns the lower limit of the range query.
The lower limit of a range query specifies how many versions ahead the source version will be considered by the query.
getLowerLimit
in interface ESRangeQuery<T extends ESRangeQuery<?>>
ESRangeQuery.getLowerLimit()
public void setLowerLimit(int lowerLimit)
Sets the lower limit of the range query.
The lower limit of a range query specifies how many versions ahead the source version will be considered by the query.
setLowerLimit
in interface ESRangeQuery<T extends ESRangeQuery<?>>
lowerLimit
- the lower limit of the queryESRangeQuery.setLowerLimit(int)
public void setIncludeIncoming(boolean includeIncomingVersions)
Determines whether the query should consider incoming versions.
Incoming versions are branches which have been merged into the source version of this query.
setIncludeIncoming
in interface ESRangeQuery<T extends ESRangeQuery<?>>
includeIncomingVersions
- should be set to true
, if incoming versions
should be considered, false
otherwiseESRangeQuery.setIncludeIncoming(boolean)
public boolean isIncludeIncoming()
Whether the query should consider incoming versions.
Incoming versions are branches which have been merged into the source version of this query.
isIncludeIncoming
in interface ESRangeQuery<T extends ESRangeQuery<?>>
ESRangeQuery.isIncludeIncoming()
public void setIncludeOutgoing(boolean includeOutgoingVersions)
Determines whether the query should consider outgoing versions.
Incoming versions are branches which have been merged into the source version of this query.
setIncludeOutgoing
in interface ESRangeQuery<T extends ESRangeQuery<?>>
includeOutgoingVersions
- should be set to true
, if outgoing versions
should be considered, false
otherwiseESRangeQuery.setIncludeOutgoing(boolean)
public boolean isIncludeOutgoing()
Whether the query should include outgoing versions.
Outgoing versions are branches which were created from the source version of this query.
isIncludeOutgoing
in interface ESRangeQuery<T extends ESRangeQuery<?>>
ESRangeQuery.isIncludeOutgoing()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |