Package com._1c.g5.v8.dt.export.xml
Class SubObjectsManager
java.lang.Object
com._1c.g5.v8.dt.export.xml.SubObjectsManager
This manager can answer what EReference of the EClass refer to the sub-objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<org.eclipse.emf.ecore.EReference>getSubordinateObjectReferences(org.eclipse.emf.ecore.EClass owner) Gets Sub-objects list for EClassgetSubordinateObjects(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.
-
Constructor Details
-
SubObjectsManager
public SubObjectsManager()Default constructor
-
-
Method Details
-
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 benullsubordinateObjects- iftrueresult list will be contain all subordinate objects of given object, iffalsenot.externalProperties- iftrueresult list will be contain all external properties of given object, iffalsenot.version- the 1C:Runtime version, cannot benull- Returns:
- list of suppliers of subordinate objects and external properties, never
null, can be empty
-