Class BasicTabularSectionInitializer<M extends BasicTabularSection>

java.lang.Object
com._1c.g5.v8.dt.md.model.BasicTabularSectionInitializer<M>
All Implemented Interfaces:
IMdObjectInitializer<M>
Direct Known Subclasses:
BusinessProcessTabularSectionInitializer, CatalogTabularSectionInitializer, ChartOfAccountsTabularSectionInitializer, ChartOfCalculationTypesTabularSectionInitializer, ChartOfCharacteristicTypesTabularSectionInitializer, DataProcessorTabularSectionInitializer, DocumentTabularSectionInitializer, ExchangePlanTabularSectionInitializer, ReportTabularSectionInitializer, TaskTabularSectionInitializer

public abstract class BasicTabularSectionInitializer<M extends BasicTabularSection> extends Object implements IMdObjectInitializer<M>
Basic IMdObjectInitializer implementation
  • Field Details

    • mdTypeUtil

      @Inject protected MdTypeUtil mdTypeUtil
  • Constructor Details

    • BasicTabularSectionInitializer

      public BasicTabularSectionInitializer()
  • Method Details

    • 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<M extends BasicTabularSection>
      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
    • initTypesUUID

      protected <T extends AbstractMdType> T initTypesUUID(T type)
      Generates UUIDs for produced type
    • getTypeProvider

      protected IEObjectProvider getTypeProvider(Version version)
      Returns type provider for given version
      Parameters:
      version - the version (not null)
      Returns:
      the type provider appropriate for given version
    • newTabularSectionAttribute

      protected org.eclipse.emf.ecore.EObject newTabularSectionAttribute(org.eclipse.emf.ecore.EClass attributeType, Version version)
      Creates new tabular section attribute of attributeType type
      Parameters:
      attributeType - actual type of tabular section attribute (must be successor of TabularSectionAttribute)
      version - project runtime version
      Returns:
      new tabular section attribute of attributeType type