Class IntegerSettingDefinition

All Implemented Interfaces:
Serializable, Comparable<Ordered>, Ordered, SettingDefinition<Integer>

public class IntegerSettingDefinition extends AbstractSettingDefinition<Integer>
SettingDefinition for Integers.
Since:
1.0.0
See Also:
  • Constructor Details

    • IntegerSettingDefinition

      public IntegerSettingDefinition()
      Constructs a new IntegerSettingDefinition.
  • Method Details

    • getMinimum

      public Integer getMinimum()
      Get the value of minimum.
      Returns:
      the value of minimum
    • hasMinimum

      public boolean hasMinimum()
      Returns:
      whether a minimum value is set
    • setMinimum

      public IntegerSettingDefinition setMinimum(Integer minimum)
      Set the value of minimum.
      Parameters:
      minimum - new value of minimum
      Returns:
      this
    • getMaximum

      public Integer getMaximum()
      Get the value of maximum.
      Returns:
      the value of maximum
    • hasMaximum

      public boolean hasMaximum()
      Returns:
      whether a maximum value is set
    • setMaximum

      public IntegerSettingDefinition setMaximum(Integer maximum)
      Set the value of maximum.
      Parameters:
      maximum - new value of maximum
      Returns:
      this
    • isExclusiveMaximum

      public boolean isExclusiveMaximum()
      Get the value of exclusiveMaximum.
      Returns:
      the value of exclusiveMaximum
    • setExclusiveMaximum

      public IntegerSettingDefinition setExclusiveMaximum(boolean exclusiveMaximum)
      Set the value of exclusiveMaximum.
      Parameters:
      exclusiveMaximum - new value of exclusiveMaximum
      Returns:
      this
    • isExclusiveMinimum

      public boolean isExclusiveMinimum()
      Get the value of exclusiveMinimum.
      Returns:
      the value of exclusiveMinimum
    • setExclusiveMinimum

      public IntegerSettingDefinition setExclusiveMinimum(boolean exclusiveMinimum)
      Set the value of exclusiveMinimum.
      Parameters:
      exclusiveMinimum - new value of exclusiveMinimum
      Returns:
      this