Package com._1c.g5.v8.dt.ui.aef.models
Class BmVersionedValue<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.ui.aef.models.BmVersionedValue<T>
-
- Type Parameters:
T
- the type of editing object.
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<T,IBmObject>
,IValue<T>
,IValidable
,IModelApiAwareModel
,IVersionedModel
public class BmVersionedValue<T> extends BmValue<T> implements IVersionedModel
Represents a version-aware BM object feature value.
-
-
Constructor Summary
Constructors Constructor Description BmVersionedValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Instantiates a new BM value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Version
getVersion()
Gets the version.-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmValue
adapt, createTask, dispose, getChange, getModelApi, getObject, getObjectValue, getProperty, processBmValueChange, setModelApi, setObjectValue
-
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
-
BmVersionedValue
public BmVersionedValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Instantiates a new BM value.- Parameters:
object
- the object.feature
- the object feature.version
- the version, cannot benull
.
-
-
Method Detail
-
getVersion
public Version getVersion()
Description copied from interface:IVersionedModel
Gets the version.- Specified by:
getVersion
in interfaceIVersionedModel
- Returns:
- the version.
-
-