Class BmDocumentNumeratorValue<T>
- 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<T>
-
- com._1c.g5.v8.dt.md.ui.aef.models.BmDocumentNumeratorValue<T>
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<T,IBmObject>
,IValue<T>
,IValidable
,IModelApiAwareModel
public class BmDocumentNumeratorValue<T> extends BmValue<T>
TheBmValue
successor withDocumentNumerator
-specific logic.
-
-
Constructor Summary
Constructors Constructor Description BmDocumentNumeratorValue(DocumentNumerator object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8ProjectManager v8ProjectManager)
Creates a new value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
setObjectValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, T 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.-
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, getComponent, isOnline, removeModelListener, setComponent
-
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
-
BmDocumentNumeratorValue
public BmDocumentNumeratorValue(DocumentNumerator object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8ProjectManager v8ProjectManager)
Creates a new value.- Parameters:
object
- theDocumentNumerator
object, cannot benull
.feature
- the feature to change, cannot benull
.v8ProjectManager
- theIV8ProjectManager
instance, cannot benull
.
-
-
Method Detail
-
setObjectValue
protected void setObjectValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, T 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<T>
- 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
.
-
-