Class BmCommonAttributeDataSeparationModel
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.EditableModel
-
- com._1c.g5.aef2.models.value.Value<T>
-
- com._1c.g5.v8.dt.aef2.bm.models.BmValue<CommonAttributeDataSeparation>
-
- com._1c.g5.v8.dt.md.ui.aef.models.BmCommonAttributeDataSeparationModel
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<CommonAttributeDataSeparation,IBmObject>
,IValue<CommonAttributeDataSeparation>
,IValidable
,IModelApiAwareModel
,IBmCommonAttributeDataSeparationModel
public class BmCommonAttributeDataSeparationModel extends BmValue<CommonAttributeDataSeparation> implements IBmCommonAttributeDataSeparationModel
The Bm model implementation forCommonAttributeDataSeparation
-
-
Constructor Summary
Constructors Constructor Description BmCommonAttributeDataSeparationModel(CommonAttribute commonAttribute, IConfigurationProvider configurationProvider, com.google.inject.Provider<IRuntimeVersionSupport> runtimeVersionSupportProvider, com.google.inject.Provider<IModelObjectFactory> modelObjectFactoryProvider, com.google.inject.Provider<ITopObjectFqnGenerator> topObjectFqnGeneratorProvider)
Create instance ofBmCommonAttributeDataSeparationModel
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommonAttribute
getCommonAttribute()
The model contextCommonAttribute
objectConfiguration
getConfiguration()
The currentConfiguration
objectvoid
setDataHistoryUse()
Sets use of data historyprotected void
setObjectValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, CommonAttributeDataSeparation newValue)
Sets the new value of the provided model object feature during the commit.
The method is invoked within the task, so the given objects have the relevant state (e.g.void
setSessionParameterNames(String valueSessionParameterName, String useSessionParameterName)
Set names ofSessionParameter
-s to set refer from contextCommonAttribute
-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmValue
adapt, createTask, dispose, getChange, getModelApi, getObject, getObjectValue, getProperty, processBmValueChange, setModelApi
-
Methods inherited from class com._1c.g5.aef2.models.value.Value
addValueListener, createWorkingCopy, discard, get, getCommittedValue, getUncommittedValue, getValidatorTarget, isEqual, notifyValueChanged, queueNotifyValueChanged, removeValueListener, set, setCommittedValue, setUncommittedValue, setValue, toString
-
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, removeValidator, validate, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.v8.dt.aef2.IModelApiAwareModel
getModelApi, setModelApi
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Methods inherited from interface com._1c.g5.aef2.models.value.IValue
addValueListener, createWorkingCopy, get, isEqual, removeValueListener, set
-
-
-
-
Constructor Detail
-
BmCommonAttributeDataSeparationModel
public BmCommonAttributeDataSeparationModel(CommonAttribute commonAttribute, IConfigurationProvider configurationProvider, com.google.inject.Provider<IRuntimeVersionSupport> runtimeVersionSupportProvider, com.google.inject.Provider<IModelObjectFactory> modelObjectFactoryProvider, com.google.inject.Provider<ITopObjectFqnGenerator> topObjectFqnGeneratorProvider)
Create instance ofBmCommonAttributeDataSeparationModel
- Parameters:
commonAttribute
- the contextCommonAttribute
object, cannot benull
configurationProvider
- the instance ofIConfigurationProvider
, cannot benull
runtimeVersionSupportProvider
- provider ofIRuntimeVersionSupport
, cannot benull
modelObjectFactoryProvider
- provider ofIModelObjectFactory
, cannot benull
topObjectFqnGeneratorProvider
- provider ofITopObjectFqnGenerator
, cannot benull
-
-
Method Detail
-
getConfiguration
public Configuration getConfiguration()
Description copied from interface:IBmCommonAttributeDataSeparationModel
The currentConfiguration
object- Specified by:
getConfiguration
in interfaceIBmCommonAttributeDataSeparationModel
- Returns:
- current
Configuration
object, nevernull
-
getCommonAttribute
public CommonAttribute getCommonAttribute()
Description copied from interface:IBmCommonAttributeDataSeparationModel
The model contextCommonAttribute
object- Specified by:
getCommonAttribute
in interfaceIBmCommonAttributeDataSeparationModel
- Returns:
- model context, never
null
-
setObjectValue
protected void setObjectValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, CommonAttributeDataSeparation newValue)
Description copied from class:BmValue
Sets the new value of the provided model object feature during the commit.
The method is invoked within the task, so the given objects have the relevant state (e.g. attached to transaction).- Overrides:
setObjectValue
in classBmValue<CommonAttributeDataSeparation>
- Parameters:
object
- the object to set new value, cannot benull
.feature
- the feture to set, cannot benull
.newValue
- the new value to set, can benull
.
-
setSessionParameterNames
public void setSessionParameterNames(String valueSessionParameterName, String useSessionParameterName)
Description copied from interface:IBmCommonAttributeDataSeparationModel
Set names ofSessionParameter
-s to set refer from contextCommonAttribute
- Specified by:
setSessionParameterNames
in interfaceIBmCommonAttributeDataSeparationModel
- Parameters:
valueSessionParameterName
- name ofSessionParameter
for using as value data separation, can benull
useSessionParameterName
- name ofSessionParameter
for using as flag for use data separation, can benull
-
setDataHistoryUse
public void setDataHistoryUse()
Description copied from interface:IBmCommonAttributeDataSeparationModel
Sets use of data history- Specified by:
setDataHistoryUse
in interfaceIBmCommonAttributeDataSeparationModel
-
-