Package com._1c.g5.v8.dt.md.model
Interface IMdObjectInitializer<T extends MdObject>
-
- All Known Implementing Classes:
AbstractBasicDbObjectInitializer
,AccountingRegisterInitializer
,AccumulationRegisterInitializer
,BasicMdObjectInitializer
,BasicTabularSectionInitializer
,BotInitializer
,BusinessProcessInitializer
,BusinessProcessTabularSectionInitializer
,CalculationRegisterInitializer
,CatalogInitializer
,CatalogTabularSectionInitializer
,ChartOfAccountsInitializer
,ChartOfAccountsTabularSectionInitializer
,ChartOfCalculationTypesInitializer
,ChartOfCalculationTypesTabularSectionInitializer
,ChartOfCharacteristicTypesInitializer
,ChartOfCharacteristicTypesTabularSectionInitializer
,CommandGroupInitializer
,CommonAttributeInitializer
,CommonCommandInitializer
,CommonFormInitializer
,CommonModuleInitializer
,ConfigurationInitializer
,ConstantInitializer
,CubeInitializer
,DataProcessorInitializer
,DataProcessorTabularSectionInitializer
,DefinedTypeInitializer
,DimensionTableInitializer
,DocumentInitializer
,DocumentJournalInitializer
,DocumentNumeratorInitializer
,DocumentTabularSectionInitializer
,EnumInitializer
,EventSubscriptionInitializer
,ExchangePlanInitializer
,ExchangePlanTabularSectionInitializer
,ExternalDataProcessorInitializer
,ExternalDataSourceInitializer
,ExternalReportInitializer
,FilterCriterionInitializer
,FunctionalOptionsInitializer
,FunctionalOptionsParameterInitializer
,HttpServiceInitializer
,InformationRegisterInitializer
,IntegrationServiceChannelInitializer
,IntegrationServiceInitializer
,LanguageInitializer
,OperationInitializer
,RecalculationInitializer
,ReportInitializer
,ReportTabularSectionInitializer
,ScheduledJobInitializer
,SequenceInitializer
,SettingsStorageInitializer
,StyleInitializer
,StyleItemInitializer
,SubsystemInitializer
,TableInitializer
,TaskInitializer
,TaskTabularSectionInitializer
,URLTemplateInitializer
,WebServiceInitializer
,WsReferenceInitializer
,XdtoPackageInitializer
public interface IMdObjectInitializer<T extends MdObject>
Metadata object initializer.Implementations should be registered in
AbstractRuntimeModule.configure(com.google.inject.Binder)
for mdObject EClass.To get registered implementation providers for EClass:
@Inject @Named(IMdObjectInitializer.INITIALIZERS) private Map<EClass, Provider<? extends IMdObjectInitializer<? extends MdObject>>> initializersMap;
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IMdObjectInitializer.IReferenceUpdater<T extends MdObject>
Reference updater
-
Field Summary
Fields Modifier and Type Field Description static String
INITIALIZERS
Special key.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
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
-
-
-
Field Detail
-
INITIALIZERS
static final String INITIALIZERS
Special key. Used for naming injection of registered initializers implementation providers- See Also:
- Constant Field Values
-
-
Method Detail
-
create
T create(IV8Project v8project, Version version)
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
org.eclipse.emf.ecore.EObject createChildObject(org.eclipse.emf.ecore.EClass childType, org.eclipse.emf.ecore.EObject context, Version version)
Createscontext
child object of typechildType
- 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
-
-