Interface RelativeAdjustment

All Superinterfaces:
AdjustmentType, org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, EObject, Notifier
All Known Implementing Classes:
RelativeAdjustmentImpl

public interface RelativeAdjustment extends AdjustmentType
A representation of the model object 'Relative Adjustment'. The RelativeAdjustment denotes that the group is adjusted relatively to the current number of elements. The RelativeAdjustment contains two parameters: the percentageGrowthValue and the minAdjustmentValue. The percentageGrowthValue determines the change (increase/decrease) of the current capacity as a percentage value. The minAdjustmentValue determines the minimal change of the current capacity.

The following features are supported:

See Also:
Generated class or method.
EMF model class or method.
  • Method Details

    • getPercentageGrowthValue

      int getPercentageGrowthValue()
      Returns the value of the 'Percentage Growth Value' attribute. The default value is "100". The percantage value of adjustment e.g., a value of 10 denotes that 10% should be added to the existing capacity.
      Returns:
      the value of the 'Percentage Growth Value' attribute.
      See Also:
      Generated class or method.
      EMF model class or method.
      default="100" required="true"
    • setPercentageGrowthValue

      void setPercentageGrowthValue(int value)
      Sets the value of the 'Percentage Growth Value' attribute.
      Parameters:
      value - the new value of the 'Percentage Growth Value' attribute.
      See Also:
      Generated class or method.
    • getMinAdjustmentValue

      int getMinAdjustmentValue()
      Returns the value of the 'Min Adjustment Value' attribute. The default value is "0". A minimum adjustment value in case the percentage is 0.
      Returns:
      the value of the 'Min Adjustment Value' attribute.
      See Also:
      Generated class or method.
      EMF model class or method.
      default="0" required="true"
    • setMinAdjustmentValue

      void setMinAdjustmentValue(int value)
      Sets the value of the 'Min Adjustment Value' attribute.
      Parameters:
      value - the new value of the 'Min Adjustment Value' attribute.
      See Also:
      Generated class or method.