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>
Basic
IMdObjectInitializer
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
FieldsFields inherited from interface com._1c.g5.v8.dt.md.model.IMdObjectInitializer
INITIALIZERS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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
typeMethods 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 Details
-
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
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
Generates UUIDs for produced type -
getTypeProvider
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
-