Package com._1c.g5.v8.dt.dcs.settings
Class SettingsContext
java.lang.Object
com._1c.g5.v8.dt.dcs.settings.SettingsContext
The DTO that holds the necessary data for the current DCS settings build and data request features
-
Constructor Summary
ConstructorsConstructorDescriptionSettingsContext
(IDtProject dtProject, IBmModel bmModel, IMdTypeIndex mdTypeIndex, IBmEmfIndexManager emfIndexManager) Constructs an instance of the contextSettingsContext
(IDtProject dtProject, IBmModel bmModel, IMdTypeIndex mdTypeIndex, IBmEmfIndexManager emfIndexManager, boolean isDynamicList) Constructs an instance of the context -
Method Summary
Modifier and TypeMethodDescriptionGets the correspondingIBmModel
Gets the correspondingIDtProject
Gets theIBmEmfIndexManager
Gets theIMdTypeIndex
boolean
Checks thatSettingsContext
created for dcs in dynamic list
-
Constructor Details
-
SettingsContext
public SettingsContext(IDtProject dtProject, IBmModel bmModel, IMdTypeIndex mdTypeIndex, IBmEmfIndexManager emfIndexManager) Constructs an instance of the context- Parameters:
dtProject
- TheIDtProject
reference. May not benull
bmModel
- CorrespondingIBmModel
. May not benull
mdTypeIndex
- The reference to theIMdTypeIndex
service. May not benull
emfIndexManager
- The reference to theIBmEmfIndexManager
service. May not benull
-
SettingsContext
public SettingsContext(IDtProject dtProject, IBmModel bmModel, IMdTypeIndex mdTypeIndex, IBmEmfIndexManager emfIndexManager, boolean isDynamicList) Constructs an instance of the context- Parameters:
dtProject
- TheIDtProject
reference. May not benull
bmModel
- CorrespondingIBmModel
. May not benull
mdTypeIndex
- The reference to theIMdTypeIndex
service. May not benull
emfIndexManager
- The reference to theIBmEmfIndexManager
service. May not benull
isDynamicList
-true
ifSettingsContext
created for dcs in dynamic list,false
otherwise
-
-
Method Details
-
getBmModel
Gets the correspondingIBmModel
- Returns:
- The
IBmModel
. May not benull
-
getDtProject
Gets the correspondingIDtProject
- Returns:
- The
IDtProject
. May not benull
-
getEmfIndexManager
Gets theIBmEmfIndexManager
- Returns:
- The reference to the
IBmEmfIndexManager
service. May not benull
-
getMdTypeIndex
Gets theIMdTypeIndex
- Returns:
- The reference to the
IMdTypeIndex
service. May not benull
-
isDynamicList
public boolean isDynamicList()Checks thatSettingsContext
created for dcs in dynamic list- Returns:
true
ifSettingsContext
created for dcs in dynamic list,false
otherwise
-