Class ConstantInitializer

    • Constructor Detail

      • ConstantInitializer

        public ConstantInitializer()
    • Method Detail

      • create

        public Constant create​(IV8Project v8project,
                               Version version)
        Description copied from interface: IMdObjectInitializer
        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

        public org.eclipse.emf.ecore.EObject createChildObject​(org.eclipse.emf.ecore.EClass childType,
                                                               org.eclipse.emf.ecore.EObject context,
                                                               Version version)
        Description copied from interface: IMdObjectInitializer
        Creates context child object of type childType
        Specified by:
        createChildObject in interface IMdObjectInitializer<Constant>
        Overrides:
        createChildObject in class BasicMdObjectInitializer<Constant>
        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