Class BasicTabularSectionInitializer<M extends BasicTabularSection>

    • Field Detail

      • mdTypeUtil

        @Inject
        protected MdTypeUtil mdTypeUtil
    • Constructor Detail

      • BasicTabularSectionInitializer

        public BasicTabularSectionInitializer()
    • Method Detail

      • 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