Class CommonCommandInitializer

java.lang.Object
com._1c.g5.v8.dt.md.model.CommonCommandInitializer
All Implemented Interfaces:
IMdObjectInitializer<CommonCommand>

public class CommonCommandInitializer extends Object implements IMdObjectInitializer<CommonCommand>
CommonCommand metadata object initializer
  • Constructor Details

    • CommonCommandInitializer

      public CommonCommandInitializer()
  • Method Details

    • create

      public CommonCommand create(IV8Project v8project, Version version)
      Description copied from interface: IMdObjectInitializer
      Creates metadata object for given configuration and runtime version
      Specified by:
      create in interface IMdObjectInitializer<CommonCommand>
      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<CommonCommand>
      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