Package com._1c.g5.v8.dt.ql.resource
Class QlDerivedStateComputer.GetterObjectByType
- java.lang.Object
-
- com._1c.g5.v8.dt.ql.resource.QlDerivedStateComputer.GetterObjectByType
-
- Enclosing class:
- QlDerivedStateComputer
public static class QlDerivedStateComputer.GetterObjectByType extends Object
Special class for creating lazy proxy for Ql
-
-
Constructor Summary
Constructors Constructor Description GetterObjectByType(org.eclipse.xtext.scoping.IScopeProvider scopeProvider, org.eclipse.xtext.naming.IQualifiedNameConverter qualifiedNameConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends org.eclipse.emf.ecore.EObject>
voidcreateProxyForDbView(Collection<T> list, org.eclipse.emf.ecore.EStructuralFeature context, org.eclipse.emf.ecore.EReference eRef, org.eclipse.xtext.linking.lazy.LazyURIEncoder encoder)
Creates proxy for each object inlist
.<T extends org.eclipse.emf.ecore.EObject>
voidcreateProxyForFunction(Collection<T> list, org.eclipse.emf.ecore.EReference eRef, org.eclipse.xtext.linking.lazy.LazyURIEncoder encoder)
Creates proxy for each object inlist
.<T extends org.eclipse.emf.ecore.EObject>
voiddiscardProxy(Collection<T> list, org.eclipse.emf.ecore.EReference eRef)
Discard proxy for each object inlist
.void
discardProxyForFunction(Collection<FunctionInvocationExpression> list)
Discard proxy for each object inlist
.<T extends org.eclipse.emf.ecore.EObject>
List<T>getAllObjects(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EClass clazz)
Gets all objects of define types<T extends org.eclipse.emf.ecore.EObject>
List<T>getAllObjects(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass clazz)
Gets all objects of define types
-
-
-
Method Detail
-
getAllObjects
public <T extends org.eclipse.emf.ecore.EObject> List<T> getAllObjects(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.ecore.EClass clazz)
Gets all objects of define types- Parameters:
resource
-Resource
for getting objects, can benull
clazz
- class of getting objects, can't benull
- Returns:
- list of object of defined class, or
null
ifresource == null
-
getAllObjects
public <T extends org.eclipse.emf.ecore.EObject> List<T> getAllObjects(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EClass clazz)
Gets all objects of define types- Parameters:
resource
-Resource
for getting objects, can benull
clazz
- class of getting objects, can't benull
- Returns:
- list of object of defined class, or
null
ifresource == null
-
createProxyForDbView
public <T extends org.eclipse.emf.ecore.EObject> void createProxyForDbView(Collection<T> list, org.eclipse.emf.ecore.EStructuralFeature context, org.eclipse.emf.ecore.EReference eRef, org.eclipse.xtext.linking.lazy.LazyURIEncoder encoder)
Creates proxy for each object inlist
. Proxy is created for define feature (eRef
)- Parameters:
list
- list of objects, can't benull
context
- actual context, can't benull
eRef
- actual feature for creating proxy, can't benull
-
createProxyForFunction
public <T extends org.eclipse.emf.ecore.EObject> void createProxyForFunction(Collection<T> list, org.eclipse.emf.ecore.EReference eRef, org.eclipse.xtext.linking.lazy.LazyURIEncoder encoder)
Creates proxy for each object inlist
. Proxy is created for define feature (eRef
)- Parameters:
list
- list of objects, can't benull
eRef
- actual feature for creating proxy, can't benull
-
discardProxy
public <T extends org.eclipse.emf.ecore.EObject> void discardProxy(Collection<T> list, org.eclipse.emf.ecore.EReference eRef)
Discard proxy for each object inlist
. Proxy is discarded for define feature (eRef
)- Parameters:
list
- list of objects, can't benull
eRef
- actual feature for creating proxy, can't benull
-
discardProxyForFunction
public void discardProxyForFunction(Collection<FunctionInvocationExpression> list)
Discard proxy for each object inlist
. Proxy is discarded for define feature (eRef
) Proxy will be discarded if it is lazy proxy- Parameters:
list
- list of objects, can't benull
-
-