Class CommonQuery
- java.lang.Object
-
- com._1c.g5.v8.dt.form.mapping.core.query.CommonQuery
-
-
Constructor Summary
Constructors Constructor Description CommonQuery()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <TRoot> IQuery<List<IMappingModel<? extends org.eclipse.emf.ecore.EObject>>,TRoot>
all(Class<? extends TRoot> clazz, Object domain)
Creates an query for a choice all mapping model connected with the domain model from argument (domain
).static <TRoot> IQuery<IMappingModel<? extends org.eclipse.emf.ecore.EObject>,TRoot>
first(Class<? extends TRoot> clazz, Object domain)
Creates an query for a choice of the first mapping model connected with the domain model from argument (domain
).static <TRoot> IQuery<IMappingModel<? extends org.eclipse.emf.ecore.EObject>,TRoot>
first(Object domain)
Creates an query for a choice of the first mapping model connected with the domain model from argument (domain
).
-
-
-
Method Detail
-
first
public static <TRoot> IQuery<IMappingModel<? extends org.eclipse.emf.ecore.EObject>,TRoot> first(Class<? extends TRoot> clazz, Object domain)
Creates an query for a choice of the first mapping model connected with the domain model from argument (domain
).- Parameters:
clazz
- - the class of root mapping model(IMappingRoot
).domain
- - the domain model for which searching related mapping model.- Returns:
- the query for select first mapping model.
-
first
public static <TRoot> IQuery<IMappingModel<? extends org.eclipse.emf.ecore.EObject>,TRoot> first(Object domain)
Creates an query for a choice of the first mapping model connected with the domain model from argument (domain
).- Parameters:
domain
- - the domain model for which searching related mapping model.- Returns:
- the query for select first mapping model.
-
all
public static <TRoot> IQuery<List<IMappingModel<? extends org.eclipse.emf.ecore.EObject>>,TRoot> all(Class<? extends TRoot> clazz, Object domain)
Creates an query for a choice all mapping model connected with the domain model from argument (domain
).- Parameters:
clazz
- - the class of root mapping model(IMappingRoot
).domain
- - the domain model for which searching related mapping models.- Returns:
- the query for select all mapping model.
-
-