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
    Default constructor
  • Method Summary

    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 EClass
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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&ltEReference&gt
    • 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 be null
      subordinateObjects - if true result list will be contain all subordinate objects of given object, if false not.
      externalProperties - if true result list will be contain all external properties of given object, if false not.
      version - the 1C:Runtime version, cannot be null
      Returns:
      list of suppliers of subordinate objects and external properties, never null, can be empty