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>
CommonAttribute 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
FieldsFields inherited from interface com._1c.g5.v8.dt.md.model.IMdObjectInitializer
INITIALIZERS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(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 Details
-
mdTypeUtil
-
-
Constructor Details
-
CommonAttributeInitializer
public CommonAttributeInitializer()
-
-
Method Details
-
create
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
-