Interface IMdObjectInitializer<T extends MdObject>

    • Field Detail

      • INITIALIZERS

        static final String INITIALIZERS
        Special key. Used for naming injection of registered initializers implementation providers
        See Also:
        Constant Field Values
    • Method Detail

      • create

        T create​(IV8Project v8project,
                 Version version)
        Creates metadata object for given configuration and runtime version
        Parameters:
        v8project - the project parameters (maybe null)
        version - the 1C:Enterprise runtime version to create object for, (not null)
        Returns:
        properly initialized metadata object (never null)
      • createChildObject

        org.eclipse.emf.ecore.EObject createChildObject​(org.eclipse.emf.ecore.EClass childType,
                                                        org.eclipse.emf.ecore.EObject context,
                                                        Version version)
        Creates context child object of type childType
        Parameters:
        childType - the child object type (not null)
        context - the parent object (not null)
        version - the 1C:Enterprise runtime version (not null)
        Returns:
        properly initialized metadata child object or null if there cannot be child object