Package com._1c.g5.v8.dt.md.model
Class CommonAttributeInitializer
- java.lang.Object
-
- com._1c.g5.v8.dt.md.model.CommonAttributeInitializer
-
- All Implemented Interfaces:
IMdObjectInitializer<CommonAttribute>
public class CommonAttributeInitializer extends Object implements IMdObjectInitializer<CommonAttribute>
CommonAttributemetadata 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 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 CommonAttributeInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonAttributecreate(IV8Project v8project, Version version)Creates metadata object for given configuration and runtime versionorg.eclipse.emf.ecore.EObjectcreateChildObject(org.eclipse.emf.ecore.EClass childType, org.eclipse.emf.ecore.EObject context, Version version)Createscontextchild object of typechildType
-
-
-
Field Detail
-
mdTypeUtil
@Inject protected MdTypeUtil mdTypeUtil
-
-
Method Detail
-
create
public CommonAttribute create(IV8Project v8project, Version version)
Description copied from interface:IMdObjectInitializerCreates metadata object for given configuration and runtime version- Specified by:
createin interfaceIMdObjectInitializer<CommonAttribute>- 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:IMdObjectInitializerCreatescontextchild object of typechildType- Specified by:
createChildObjectin interfaceIMdObjectInitializer<CommonAttribute>- 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
-
-