Class 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 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

      public IChange getChange()
      Specified by:
      getChange in interface IModel
      Returns:
      change describing the modifications done to the model.
    • dispose

      public void dispose()
      Description copied from interface: IModel
      Disposes this model.
      Specified by:
      dispose in interface IModel
      Overrides:
      dispose in class Value<T>
    • getObject

      public org.eclipse.emf.ecore.EObject getObject()
      Description copied from interface: IAttribute
      Returns the object that keeps the attribute.
      Specified by:
      getObject in interface IAttribute<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 interface IAttribute<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature>
      Returns:
      the property.