Package com._1c.g5.v8.dt.md.model
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>
BasicIMdObjectInitializerimplementation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com._1c.g5.v8.dt.md.model.IMdObjectInitializer
IMdObjectInitializer.IReferenceUpdater<T extends MdObject>
-
-
Field Summary
Fields Modifier and Type Field Description protected MdTypeUtilmdTypeUtil-
Fields inherited from interface com._1c.g5.v8.dt.md.model.IMdObjectInitializer
INITIALIZERS
-
-
Constructor Summary
Constructors Constructor Description BasicTabularSectionInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EObjectcreateChildObject(org.eclipse.emf.ecore.EClass childType, org.eclipse.emf.ecore.EObject context, Version version)Createscontextchild object of typechildTypeprotected IEObjectProvidergetTypeProvider(Version version)Returns type provider for given versionprotected <T extends AbstractMdType>
TinitTypesUUID(T type)Generates UUIDs for produced typeprotected org.eclipse.emf.ecore.EObjectnewTabularSectionAttribute(org.eclipse.emf.ecore.EClass attributeType, Version version)Creates new tabular section attribute ofattributeTypetype-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.v8.dt.md.model.IMdObjectInitializer
create
-
-
-
-
Field Detail
-
mdTypeUtil
@Inject protected MdTypeUtil mdTypeUtil
-
-
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:IMdObjectInitializerCreatescontextchild object of typechildType- Specified by:
createChildObjectin interfaceIMdObjectInitializer<M extends BasicTabularSection>- Parameters:
childType- the child object type (notnull)context- the parent object (notnull)version- the 1C:Enterprise runtime version (notnull)- Returns:
- properly initialized metadata child object or
nullif 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 (notnull)- 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 ofattributeTypetype- Parameters:
attributeType- actual type of tabular section attribute (must be successor ofTabularSectionAttribute)version- project runtime version- Returns:
- new tabular section attribute of
attributeTypetype
-
-