Class EmfBasedGroupValue<T,O extends org.eclipse.emf.ecore.EObject>

All Implemented Interfaces:
IAttribute<O,org.eclipse.emf.ecore.EStructuralFeature>, IEditableModel, IEmfAttribute<O>, IModel, IEmfValueAttribute<T,O>, IValue<T>, IValidable, IModelApiAwareModel

public class EmfBasedGroupValue<T,O extends org.eclipse.emf.ecore.EObject> extends PojoValue<T> implements IEmfValueAttribute<T,O>, IModelApiAwareModel
The EMF based group model.
  • Constructor Details

  • Method Details

    • commit

      public void commit()
      Description copied from interface: IModel
      Commits the changes to the data model.
      Specified by:
      commit in interface IModel
      Overrides:
      commit in class 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 O getObject()
      Description copied from interface: IAttribute
      Returns the object that keeps the attribute.
      Specified by:
      getObject in interface IAttribute<T,O extends org.eclipse.emf.ecore.EObject>
      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<T,O extends org.eclipse.emf.ecore.EObject>
      Returns:
      the property.
    • getModelApi

      public IModelApi getModelApi()
      Description copied from interface: IModelApiAwareModel
      Returns the model API.
      Specified by:
      getModelApi in interface IModelApiAwareModel
      Returns:
      the model API or null if it is not set.
    • setModelApi

      public void setModelApi(IModelApi modelApi)
      Description copied from interface: IModelApiAwareModel
      Sets the specified API to the model.
      Specified by:
      setModelApi in interface IModelApiAwareModel
      Parameters:
      modelApi - the API, can be null.