Class SubObjectsManager


  • public class SubObjectsManager
    extends Object
    This manager can answer what EReference of the EClass refer to the sub-objects
    • Constructor Detail

      • SubObjectsManager

        public SubObjectsManager()
        Default constructor
    • 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 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