Class GroupItemQuery.ExistsGroupItemCriteria
- java.lang.Object
-
- com._1c.g5.v8.dt.form.mapping.cmi.criteria.GroupItemQuery.ExistsGroupItemCriteria
-
- All Implemented Interfaces:
IQuery<Boolean,CommandInterfaceMapping>
- Enclosing class:
- GroupItemQuery
protected static class GroupItemQuery.ExistsGroupItemCriteria extends Object implements IQuery<Boolean,CommandInterfaceMapping>
The query for check existsGroupItem
for command an path.
-
-
Constructor Summary
Constructors Constructor Description ExistsGroupItemCriteria(Command command, AbstractDataPath path)
Creates an new query.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
select(CommandInterfaceMapping root, Map<Object,? extends List<IMappingModel<? extends org.eclipse.emf.ecore.EObject>>> mapping)
The method selects data fromMapping
.
-
-
-
Constructor Detail
-
ExistsGroupItemCriteria
public ExistsGroupItemCriteria(Command command, AbstractDataPath path)
Creates an new query.- Parameters:
command
- the checked command.(can benull
if path is notnull
).path
- the checked path. (can benull
if command is notnull
).
-
-
Method Detail
-
select
public Boolean select(CommandInterfaceMapping 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
).- Specified by:
select
in interfaceIQuery<Boolean,CommandInterfaceMapping>
- Parameters:
root
- - is root mapping object.mapping
- - is map of relation (domain model - basic mapping model)- Returns:
- the result of query.
-
-