|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl<U,T>
org.eclipse.emf.emfstore.internal.server.model.impl.api.query.ESHistoryQueryImpl<ESPathQuery,PathQuery>
org.eclipse.emf.emfstore.internal.server.model.impl.api.query.ESPathQueryImpl
public class ESPathQueryImpl
Mapping between ESPathQuery and PathQuery.
A path query additionally considers a target version beside the source version, i.e. it is possible to specify a version range.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.emf.emfstore.server.model.query.ESHistoryQuery |
|---|
FACTORY |
| Constructor Summary | |
|---|---|
ESPathQueryImpl(PathQuery pathQuery)
Constructor. |
|
| Method Summary | |
|---|---|
ESPrimaryVersionSpec |
getSource()
Returns the ESPrimaryVersionSpec this history query is pointing to. |
ESPrimaryVersionSpec |
getTarget()
Returns the target ESPrimaryVersionSpec. |
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. |
void |
setTarget(ESPrimaryVersionSpec target)
Sets the target ESPrimaryVersionSpec. |
| 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 ESPathQueryImpl(PathQuery pathQuery)
pathQuery - the delegate| Method Detail |
|---|
public ESPrimaryVersionSpec getSource()
ESPrimaryVersionSpec this history query is pointing to.
getSource in interface ESHistoryQuery<ESPathQuery>ESHistoryQuery.getSource()public void setSource(ESPrimaryVersionSpec versionSpec)
setSource in interface ESHistoryQuery<ESPathQuery>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)
ESChangePackages
are included in the query.
setIncludeChangePackages in interface ESHistoryQuery<ESPathQuery>includeChangePackages - true, if change packages should be included in the query, false otherwiseESHistoryQuery.setIncludeChangePackages(boolean)public boolean isIncludeChangePackages()
ESChangePackages are included in the query.
isIncludeChangePackages in interface ESHistoryQuery<ESPathQuery>true, if change packages are included in the query, false otherwiseESHistoryQuery.isIncludeChangePackages()public void setIncludeAllVersions(boolean includeAllVersion)
setIncludeAllVersions in interface ESHistoryQuery<ESPathQuery>includeAllVersion - true, if branches should be considered, false otherwiseESHistoryQuery.setIncludeAllVersions(boolean)public boolean isIncludeAllVersions()
isIncludeAllVersions in interface ESHistoryQuery<ESPathQuery>true, if branches are considered by the query, false otherwiseESHistoryQuery.isIncludeAllVersions()public ESPrimaryVersionSpec getTarget()
ESPrimaryVersionSpec.
getTarget in interface ESPathQueryESPathQuery.getTarget()public void setTarget(ESPrimaryVersionSpec target)
ESPrimaryVersionSpec.
setTarget in interface ESPathQuerytarget - the target version to be used by the queryESPathQuery.setTarget(org.eclipse.emf.emfstore.server.model.versionspec.ESPrimaryVersionSpec)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||