Package org.n52.faroe.settings
Class IntegerSettingDefinition
- All Implemented Interfaces:
Serializable,Comparable<Ordered>,Ordered,SettingDefinition<Integer>
SettingDefinition for Integers.- Since:
- 1.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the value of maximum.Get the value of minimum.booleanbooleanbooleanGet the value of exclusiveMaximum.booleanGet the value of exclusiveMinimum.setExclusiveMaximum(boolean exclusiveMaximum) Set the value of exclusiveMaximum.setExclusiveMinimum(boolean exclusiveMinimum) Set the value of exclusiveMinimum.setMaximum(Integer maximum) Set the value of maximum.setMinimum(Integer minimum) Set the value of minimum.Methods inherited from class org.n52.faroe.AbstractSettingDefinition
equals, getDefaultValue, getDescription, getGroup, getKey, getSuborder, getTitle, getType, hasDefaultValue, hasDescription, hasGroup, hashCode, hasStringProperty, hasTitle, isOptional, setDefaultValue, setDescription, setGroup, setKey, setOptional, setTitle, toStringMethods inherited from class org.n52.faroe.AbstractOrdered
compareTo, getOrder, setOrderMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface org.n52.faroe.SettingDefinition
getGroup, getOptionalDefaultValue
-
Constructor Details
-
IntegerSettingDefinition
public IntegerSettingDefinition()Constructs a newIntegerSettingDefinition.
-
-
Method Details
-
getMinimum
Get the value of minimum.- Returns:
- the value of minimum
-
hasMinimum
public boolean hasMinimum()- Returns:
- whether a minimum value is set
-
setMinimum
Set the value of minimum.- Parameters:
minimum- new value of minimum- Returns:
- this
-
getMaximum
Get the value of maximum.- Returns:
- the value of maximum
-
hasMaximum
public boolean hasMaximum()- Returns:
- whether a maximum value is set
-
setMaximum
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
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
Set the value of exclusiveMinimum.- Parameters:
exclusiveMinimum- new value of exclusiveMinimum- Returns:
- this
-