Class BmEnableContentChangeModel

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

public class BmEnableContentChangeModel extends BmValue<Boolean>
The model for Enable Content Change value of a form Group.
  • Constructor Details

    • BmEnableContentChangeModel

      public BmEnableContentChangeModel(Group group)
      Creates a new model
      Parameters:
      group - the group
  • Method Details

    • get

      public Boolean get()
      Specified by:
      get in interface IValue<Boolean>
      Overrides:
      get in class Value<Boolean>
      Returns:
      the stored value.
    • set

      public void set(Boolean value)
      Specified by:
      set in interface IValue<Boolean>
      Overrides:
      set in class Value<Boolean>
      Parameters:
      value - the value to set.
    • isEqual

      public boolean isEqual(Boolean other)
      Description copied from interface: IValue
      Checks the value for equality with the current stored value.
      Specified by:
      isEqual in interface IValue<Boolean>
      Overrides:
      isEqual in class Value<Boolean>
      Parameters:
      other - the other value to check.
      Returns:
      true if other value is equal to this value, false otherwise.