Package com._1c.g5.aef2.emf.models
Class EmfValue<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>
- 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
- Direct Known Subclasses:
EmfBorderValue
,EmfCharacteristicsDescriptionDataPathModel
,EmfCharacteristicsDescriptionFieldModel
,EmfChartColorPaletteDescriptionModel
,EmfChartLineModel
,EmfChartScaleModelValue
,EmfCodeModel
,EmfColorModel
,EmfFontSelectionModel
,EmfLabelAreaModelValue
,EmfMdTypeLinkModel
,EmfMoxelSpreadsheetLineModel
,EmfNullableChartLineModel
,EmfPictureModel
,EmfSingleLanguageModel
,EmfStyleItemTypeModel
,EmfUnsettablePropertyFieldModel
,EmfValueModel
,EmfValueSelectionModel
,EmfVersionedValue
,InfobaseProxyPasswordModel
,InfobaseSettingsModel
,InfobaseTypeModel
,NavigatorTreeDialogActionBarEmfValue
,OpenIdUseAsProviderModel
,OpenIdUseAuthModel
,PublicationLinkModel
,WebServerTypeModel
public class EmfValue<T>
extends Value<T>
implements IEmfValueAttribute<T,org.eclipse.emf.ecore.EObject>
Represents a EMF value.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmfValue
(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) Instantiates a new EMF value. -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes this model.org.eclipse.emf.ecore.EObject
Returns the object that keeps the attribute.org.eclipse.emf.ecore.EStructuralFeature
Returns the property.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 Details
-
EmfValue
public EmfValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature) Instantiates a new EMF value.- Parameters:
object
- the object.feature
- the feature.
-
-
Method Details
-
getChange
-
dispose
public void dispose()Description copied from interface:IModel
Disposes this model. -
getObject
public org.eclipse.emf.ecore.EObject getObject()Description copied from interface:IAttribute
Returns the object that keeps the attribute.- Specified by:
getObject
in interfaceIAttribute<org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecore.EStructuralFeature> - Returns:
- the object that keeps the attribute.
-
getProperty
public org.eclipse.emf.ecore.EStructuralFeature getProperty()Description copied from interface:IAttribute
Returns the property.- Specified by:
getProperty
in interfaceIAttribute<org.eclipse.emf.ecore.EObject,
org.eclipse.emf.ecore.EStructuralFeature> - Returns:
- the property.
-