Package com._1c.g5.v8.dt.export.xml
Class SubObjectsManager
- java.lang.Object
-
- com._1c.g5.v8.dt.export.xml.SubObjectsManager
-
public class SubObjectsManager extends Object
This manager can answer what EReference of the EClass refer to the sub-objects
-
-
Constructor Summary
Constructors Constructor Description SubObjectsManager()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<org.eclipse.emf.ecore.EReference>
getSubordinateObjectReferences(org.eclipse.emf.ecore.EClass owner)
Gets Sub-objects list for EClassList<Supplier<org.eclipse.emf.ecore.EObject>>
getSubordinateObjects(org.eclipse.emf.ecore.EObject eObject, boolean subordinateObjects, boolean externalProperties, Version version)
Method gets suppliers of subordinate objects and external properties (in terms of 1C:Enterprise) of the given parent object.
-
-
-
Method Detail
-
getSubordinateObjectReferences
public com.google.common.collect.ImmutableList<org.eclipse.emf.ecore.EReference> getSubordinateObjectReferences(org.eclipse.emf.ecore.EClass owner)
Gets Sub-objects list for EClass- Parameters:
owner
-EClass
- Returns:
ImmutableList
<EReference>
-
getSubordinateObjects
public List<Supplier<org.eclipse.emf.ecore.EObject>> getSubordinateObjects(org.eclipse.emf.ecore.EObject eObject, boolean subordinateObjects, boolean externalProperties, Version version)
Method gets suppliers of subordinate objects and external properties (in terms of 1C:Enterprise) of the given parent object.
Note that, all modules of given object will be return as proxies
- Parameters:
eObject
- parent object, cannot benull
subordinateObjects
- iftrue
result list will be contain all subordinate objects of given object, iffalse
not.externalProperties
- iftrue
result list will be contain all external properties of given object, iffalse
not.version
- the 1C:Runtime version, cannot benull
- Returns:
- list of suppliers of subordinate objects and external properties, never
null
, can be empty
-
-