public class DurationRange extends Object implements Serializable, Cloneable
This data type is used in the AssessmentsFilter data type.
Constructor and Description |
---|
DurationRange() |
Modifier and Type | Method and Description |
---|---|
DurationRange |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximum()
The maximum value of the duration range.
|
Integer |
getMinimum()
The minimum value of the duration range.
|
int |
hashCode() |
void |
setMaximum(Integer maximum)
The maximum value of the duration range.
|
void |
setMinimum(Integer minimum)
The minimum value of the duration range.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DurationRange |
withMaximum(Integer maximum)
The maximum value of the duration range.
|
DurationRange |
withMinimum(Integer minimum)
The minimum value of the duration range.
|
public void setMinimum(Integer minimum)
The minimum value of the duration range. Must be greater than zero.
minimum
- The minimum value of the duration range. Must be greater than
zero.public Integer getMinimum()
The minimum value of the duration range. Must be greater than zero.
public DurationRange withMinimum(Integer minimum)
The minimum value of the duration range. Must be greater than zero.
minimum
- The minimum value of the duration range. Must be greater than
zero.public void setMaximum(Integer maximum)
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
maximum
- The maximum value of the duration range. Must be less than or
equal to 604800 seconds (1 week).public Integer getMaximum()
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
public DurationRange withMaximum(Integer maximum)
The maximum value of the duration range. Must be less than or equal to 604800 seconds (1 week).
maximum
- The maximum value of the duration range. Must be less than or
equal to 604800 seconds (1 week).public String toString()
toString
in class Object
Object.toString()
public DurationRange clone()
Copyright © 2015. All rights reserved.