org.eclipse.emf.emfstore.internal.server.model.impl.api.query
Class ESModelElementQueryImpl
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<ESModelElementQuery,ModelElementQuery>
org.eclipse.emf.emfstore.internal.server.model.impl.api.query.ESModelElementQueryImpl
- All Implemented Interfaces:
- InternalAPIDelegator<ESModelElementQuery,ModelElementQuery>, ESHistoryQuery<ESModelElementQuery>, ESModelElementQuery, ESRangeQuery<ESModelElementQuery>
public class ESModelElementQueryImpl
- extends ESRangeQueryImpl<ESModelElementQuery,ModelElementQuery>
- implements ESModelElementQuery
Mapping between ESModelElementQuery
and ModelElementQuery
.
The model element query is a specialization of the ESRangeQueryImpl
, which allows to additionally alter the
results produced by the range query on selected elements.
- Author:
- emueller
Methods inherited from class org.eclipse.emf.emfstore.internal.server.model.impl.api.query.ESRangeQueryImpl |
getLowerLimit, getSource, getUpperLimit, isIncludeAllVersions, isIncludeChangePackages, isIncludeIncoming, isIncludeOutgoing, setIncludeAllVersions, setIncludeChangePackages, setIncludeIncoming, setIncludeOutgoing, setLowerLimit, setSource, setUpperLimit |
ESModelElementQueryImpl
public ESModelElementQueryImpl(ModelElementQuery query)
- Constructor.
- Parameters:
query
- the delegate
getModelElementIds
public List<ESModelElementId> getModelElementIds()
- Returns all model element IDs this query is filtering for.
- Specified by:
getModelElementIds
in interface ESModelElementQuery
- Returns:
- a list of model elements IDs for which this query is filtering for
- See Also:
ESModelElementQuery.getModelElementIds()
addModelElementId
public void addModelElementId(ESModelElementId id)
- Adds the ID of a model element that the query should filter for.
- Specified by:
addModelElementId
in interface ESModelElementQuery
- Parameters:
id
- the ID of a model element- See Also:
ESModelElementQuery.addModelElementId(org.eclipse.emf.emfstore.common.model.ESModelElementId)
removeModelElementId
public void removeModelElementId(ESModelElementId id)
- Removes the ID of a model element from this query.
- Specified by:
removeModelElementId
in interface ESModelElementQuery
- Parameters:
id
- the ID of the model element to be removed- See Also:
ESModelElementQuery.removeModelElementId(org.eclipse.emf.emfstore.common.model.ESModelElementId)
Copyright © 2015. All Rights Reserved.