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>
BasicIMdObjectInitializer
implementation
-
-
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 MdTypeUtil
mdTypeUtil
-
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.EObject
createChildObject(org.eclipse.emf.ecore.EClass childType, org.eclipse.emf.ecore.EObject context, Version version)
Createscontext
child object of typechildType
protected IEObjectProvider
getTypeProvider(Version version)
Returns type provider for given versionprotected <T extends AbstractMdType>
TinitTypesUUID(T type)
Generates UUIDs for produced typeprotected org.eclipse.emf.ecore.EObject
newTabularSectionAttribute(org.eclipse.emf.ecore.EClass attributeType, Version version)
Creates new tabular section attribute ofattributeType
type-
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:IMdObjectInitializer
Createscontext
child object of typechildType
- Specified by:
createChildObject
in 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
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 (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 ofattributeType
type- Parameters:
attributeType
- actual type of tabular section attribute (must be successor ofTabularSectionAttribute
)version
- project runtime version- Returns:
- new tabular section attribute of
attributeType
type
-
-