Package com._1c.g5.v8.dt.md.model
Class ConfigurationInitializer
- java.lang.Object
-
- com._1c.g5.v8.dt.md.model.ConfigurationInitializer
-
- All Implemented Interfaces:
IMdObjectInitializer<Configuration>
public class ConfigurationInitializer extends Object implements IMdObjectInitializer<Configuration>
Configuration
metada 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 interface com._1c.g5.v8.dt.md.model.IMdObjectInitializer
INITIALIZERS
-
-
Constructor Summary
Constructors Constructor Description ConfigurationInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
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
-
-
-
Method Detail
-
create
public Configuration create(IV8Project v8project, Version version)
Description copied from interface:IMdObjectInitializer
Creates metadata object for given configuration and runtime version- Specified by:
create
in interfaceIMdObjectInitializer<Configuration>
- 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<Configuration>
- 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
-
-