Package com._1c.g5.v8.dt.md.model
Class ConstantInitializer
- java.lang.Object
-
- com._1c.g5.v8.dt.md.model.BasicMdObjectInitializer<Constant>
-
- com._1c.g5.v8.dt.md.model.ConstantInitializer
-
- All Implemented Interfaces:
IMdObjectInitializer<Constant>
public class ConstantInitializer extends BasicMdObjectInitializer<Constant>
Constant
metadata object initializer
-
-
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 inherited from class com._1c.g5.v8.dt.md.model.BasicMdObjectInitializer
mdTypeUtil
-
Fields inherited from interface com._1c.g5.v8.dt.md.model.IMdObjectInitializer
INITIALIZERS
-
-
Constructor Summary
Constructors Constructor Description ConstantInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Constant
create(IV8Project v8project, Version version)
Creates metadata object for given configuration and runtime versionorg.eclipse.emf.ecore.EObject
createChildObject(org.eclipse.emf.ecore.EClass childType, org.eclipse.emf.ecore.EObject context, Version version)
Createscontext
child object of typechildType
-
Methods inherited from class com._1c.g5.v8.dt.md.model.BasicMdObjectInitializer
createDefault, getTypeProvider, initTypesUUID, newCommand, newManagedForm
-
-
-
-
Method Detail
-
create
public Constant create(IV8Project v8project, Version version)
Description copied from interface:IMdObjectInitializer
Creates metadata object for given configuration and runtime version- Parameters:
v8project
- the project parameters (maybenull
)version
- the 1C:Enterprise runtime version to create object for, (notnull
)- Returns:
- properly initialized metadata object (never
null
)
-
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<Constant>
- Overrides:
createChildObject
in classBasicMdObjectInitializer<Constant>
- 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
-
-