Package com._1c.g5.aef2.models.value
Class ValueWorkingCopy<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.aef2.models.value.ValueWorkingCopy<T>
- All Implemented Interfaces:
IEditableModel
,IModel
,IValue<T>
,IValidable
- Direct Known Subclasses:
ISingleLanguageFormattedTextModel.SingleLanguageFormattedTextWorkingCopy
Value working copy – editable proxy buffer for another value.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com._1c.g5.aef2.models.value.Value
addValueListener, createWorkingCopy, discard, dispose, 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, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, removeValidator, 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, getComponent, removeModelListener, setComponent
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate
-
Constructor Details
-
ValueWorkingCopy
Instantiates a new value working copy.- Parameters:
original
- the original value.
-
-
Method Details
-
validate
public org.eclipse.core.runtime.IStatus validate()Description copied from interface:IValidable
Validates this object state.- Specified by:
validate
in interfaceIValidable
- Overrides:
validate
in classValidable
- Returns:
- the validation status.
-
getChange
- Returns:
- change describing the modifications done to the model.
-
isOnline
public boolean isOnline() -
getOriginalModel
Returns the original value model.- Returns:
- the original value model.
-