public class IntegerSettingDefinition extends AbstractSettingDefinition<IntegerSettingDefinition,Integer>
SettingDefinition
for Integer
s.
Modifier and Type | Field and Description |
---|---|
private boolean |
exclusiveMaximum |
private boolean |
exclusiveMinimum |
private Integer |
maximum |
private Integer |
minimum |
Constructor and Description |
---|
IntegerSettingDefinition()
Constructs a new
IntegerSettingDefinition . |
Modifier and Type | Method and Description |
---|---|
Integer |
getMaximum()
Get the value of maximum.
|
Integer |
getMinimum()
Get the value of minimum.
|
boolean |
hasMaximum() |
boolean |
hasMinimum() |
boolean |
isExclusiveMaximum()
Get the value of exclusiveMaximum.
|
boolean |
isExclusiveMinimum()
Get the value of exclusiveMinimum.
|
IntegerSettingDefinition |
setExclusiveMaximum(boolean exclusiveMaximum)
Set the value of exclusiveMaximum.
|
IntegerSettingDefinition |
setExclusiveMinimum(boolean exclusiveMinimum)
Set the value of exclusiveMinimum.
|
IntegerSettingDefinition |
setMaximum(Integer maximum)
Set the value of maximum.
|
IntegerSettingDefinition |
setMinimum(Integer minimum)
Set the value of minimum.
|
equals, getDefaultValue, getDescription, getGroup, getKey, getSuborder, getTitle, getType, hasDefaultValue, hasDescription, hasGroup, hashCode, hasStringProperty, hasTitle, isOptional, setDefaultValue, setDescription, setGroup, setKey, setOptional, setTitle, setType, toString
compareTo, getOrder, setOrder
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo
private Integer minimum
private Integer maximum
private boolean exclusiveMaximum
private boolean exclusiveMinimum
public IntegerSettingDefinition()
IntegerSettingDefinition
.public Integer getMinimum()
public boolean hasMinimum()
public IntegerSettingDefinition setMinimum(Integer minimum)
minimum
- new value of minimum
public Integer getMaximum()
public boolean hasMaximum()
public IntegerSettingDefinition setMaximum(Integer maximum)
maximum
- new value of maximum
public boolean isExclusiveMaximum()
public IntegerSettingDefinition setExclusiveMaximum(boolean exclusiveMaximum)
exclusiveMaximum
- new value of exclusiveMaximum
public boolean isExclusiveMinimum()
public IntegerSettingDefinition setExclusiveMinimum(boolean exclusiveMinimum)
exclusiveMinimum
- new value of exclusiveMinimum
Copyright © 2012-2015 52north.org. All Rights Reserved.