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.
FACTORY| Constructor and Description |
|---|
ESModelElementQueryImpl(ModelElementQuery query)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addModelElementId(ESModelElementId id)
Adds the ID of a model element that the query should filter for.
|
List<ESModelElementId> |
getModelElementIds()
Returns all model element IDs this query is filtering for.
|
void |
removeModelElementId(ESModelElementId id)
Removes the ID of a model element from this query.
|
getLowerLimit, getSource, getUpperLimit, isIncludeAllVersions, isIncludeChangePackages, isIncludeIncoming, isIncludeOutgoing, setIncludeAllVersions, setIncludeChangePackages, setIncludeIncoming, setIncludeOutgoing, setLowerLimit, setSource, setUpperLimitequals, hashCode, toInternalAPIgetClass, notify, notifyAll, toString, wait, wait, waitgetLowerLimit, getUpperLimit, isIncludeIncoming, isIncludeOutgoing, setIncludeIncoming, setIncludeOutgoing, setLowerLimit, setUpperLimitgetSource, isIncludeAllVersions, isIncludeChangePackages, setIncludeAllVersions, setIncludeChangePackages, setSourcepublic ESModelElementQueryImpl(ModelElementQuery query)
query - the delegatepublic List<ESModelElementId> getModelElementIds()
getModelElementIds in interface ESModelElementQueryESModelElementQuery.getModelElementIds()public void addModelElementId(ESModelElementId id)
addModelElementId in interface ESModelElementQueryid - the ID of a model elementESModelElementQuery.addModelElementId(org.eclipse.emf.emfstore.common.model.ESModelElementId)public void removeModelElementId(ESModelElementId id)
removeModelElementId in interface ESModelElementQueryid - the ID of the model element to be removedESModelElementQuery.removeModelElementId(org.eclipse.emf.emfstore.common.model.ESModelElementId)Copyright © 2017. All rights reserved.