Package com._1c.g5.v8.dt.ui.aef.models
Class EmfVersionedValue<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.emf.models.EmfValue<T>
-
- com._1c.g5.v8.dt.ui.aef.models.EmfVersionedValue<T>
-
- Type Parameters:
T
- the type of editing object.
- All Implemented Interfaces:
IAttribute<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<org.eclipse.emf.ecore.EObject>
,IModel
,IEmfValueAttribute<T,org.eclipse.emf.ecore.EObject>
,IValue<T>
,IValidable
,IVersionedModel
public class EmfVersionedValue<T> extends EmfValue<T> implements IVersionedModel
Represents a version-aware EMF object feature value.
-
-
Constructor Summary
Constructors Constructor Description EmfVersionedValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Instantiates a new EMF 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.aef2.emf.models.EmfValue
dispose, getChange, getObject, getProperty
-
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
-
EmfVersionedValue
public EmfVersionedValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, Version version)
Instantiates a new EMF 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.
-
-