Class CommonAttributeInitializer

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

public class CommonAttributeInitializer extends Object implements IMdObjectInitializer<CommonAttribute>
CommonAttribute metadata object initializer
  • Field Details

    • mdTypeUtil

      @Inject protected MdTypeUtil mdTypeUtil
  • Constructor Details

    • CommonAttributeInitializer

      public CommonAttributeInitializer()
  • Method Details

    • create

      public CommonAttribute 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<CommonAttribute>
      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<CommonAttribute>
      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