Class IntegerRange
java.lang.Object
co.yellowdog.platform.model.IntegerRange
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new IntegerRange that is automatically validated on build. -
Constructor Summary
ConstructorsConstructorDescriptionIntegerRange
(Integer minMax) Single parameter constructor used when a single value is expected, i.e., the value is both the minimum and maximum in the range.IntegerRange
(Integer min, Integer max) -
Method Summary
-
Constructor Details
-
IntegerRange
Single parameter constructor used when a single value is expected, i.e., the value is both the minimum and maximum in the range.- Parameters:
minMax
- the minimum and maximum value for this range
-
IntegerRange
public IntegerRange() -
IntegerRange
-
-
Method Details
-
builder
-
toBuilder
-
getMin
-
getMax
-
setMin
-
setMax
-
equals
-
canEqual
-
hashCode
-
toString
-