Interface IQuery<TResult,TRoot>
-
- Type Parameters:
TResult
- - is returning object's type.TRoot
- - is type of mapping root model(IMappingRoot
).
- All Known Implementing Classes:
AllElements
,FindAllParameterizedCommandByCommand
,FirstElement
,GroupItemQuery.ExistsGroupItemCriteria
,GroupItemQuery.FindGroupItemCriteria
,IsPersistedAutoCommand
public interface IQuery<TResult,TRoot>
The interface for the description of inquiries of selection of data from aMapping
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TResult
select(TRoot root, Map<Object,? extends List<IMappingModel<? extends org.eclipse.emf.ecore.EObject>>> mapping)
The method selects data fromMapping
.
-
-
-
Method Detail
-
select
TResult select(TRoot root, Map<Object,? extends List<IMappingModel<? extends org.eclipse.emf.ecore.EObject>>> mapping)
The method selects data fromMapping
. Data can get from mapping root model(IMappingRoot
) or map of relation between domain model and basic mapping model (TBasicModel
).- Parameters:
root
- - is root mapping object.mapping
- - is map of relation (domain model - basic mapping model)- Returns:
- the result of query.
-
-