Package com._1c.g5.v8.dt.ql.resource
Class DynamicDbViewFieldComputer
- java.lang.Object
-
- com._1c.g5.v8.dt.ql.resource.DynamicDbViewFieldComputer
-
- All Implemented Interfaces:
IDynamicDbViewFieldComputer
public class DynamicDbViewFieldComputer extends Object implements IDynamicDbViewFieldComputer
Default implementation ofIDynamicDbViewFieldComputer
for Ql family language
-
-
Field Summary
Fields Modifier and Type Field Description static DbViewDef
UNRESOLVED_DBVIEW
-
Constructor Summary
Constructors Constructor Description DynamicDbViewFieldComputer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DbViewElement
computeDbView(org.eclipse.emf.ecore.EObject semanticElement)
GetsDbViewElement
forsemanticElement
List<DbViewElement>
computeFieldsBySemanticObject(org.eclipse.emf.ecore.EObject semanticElement)
Gets fields contained in DbView ofsemanticObject
-
-
-
Field Detail
-
UNRESOLVED_DBVIEW
public static final DbViewDef UNRESOLVED_DBVIEW
-
-
Method Detail
-
computeDbView
public DbViewElement computeDbView(org.eclipse.emf.ecore.EObject semanticElement)
Description copied from interface:IDynamicDbViewFieldComputer
GetsDbViewElement
forsemanticElement
- Specified by:
computeDbView
in interfaceIDynamicDbViewFieldComputer
- Parameters:
semanticElement
- semantic element from Ql grammar model- Returns:
- computed
DbViewElement
ornull
-
computeFieldsBySemanticObject
public List<DbViewElement> computeFieldsBySemanticObject(org.eclipse.emf.ecore.EObject semanticElement)
Description copied from interface:IDynamicDbViewFieldComputer
Gets fields contained in DbView ofsemanticObject
- Specified by:
computeFieldsBySemanticObject
in interfaceIDynamicDbViewFieldComputer
- Parameters:
semanticElement
- semantic element from Ql grammar model- Returns:
- computed list of
DbViewElement
or empty list
-
-