|
Nested Class Summary | ||
static enum |
TransformationOptionPair.Action Action to take place for a given pair of values. |
Constructor Summary | ||
TransformationOptionPair() |
Method Summary | ||
void |
append(StringBuilder sb, String optMaxKey, String optLimitKey) | |
combine(TransformationOptionPair that) Returns a TransformationOptionPair that has getter methods that combine the the values from the getter methods of this and the supplied TransformationOptionPair. |
||
combineUpper(TransformationOptionPair that) Returns a TransformationOptionPair that has getter methods that combine the the values from the getter methods of this and the supplied TransformationOptionPair so that they return the lowest common denominator of the two limits . |
||
void |
defaultTo(TransformationOptionPair pair) This method overrides rather than defaults values into the supplied pair (as the name might suggest), but because of the order in which it is called, this results in the correct defaults being set. |
|
boolean |
equals(Object obj) | |
getAction() | ||
long |
getLimit() | |
long |
getMax() | |
long |
getValue() | |
int |
hashCode() | |
void |
set(Map<String,Object> optionsMap, String optMaxKey, String optLimitKey, String exceptionMessage) | |
void |
setLimit(long limit, String exceptionMessage) | |
void |
setMax(long max, String exceptionMessage) | |
boolean |
supported() Indicates if the limit allows a transformation to take place at all. |
|
toMap(Map<String,Object> optionsMap, String optMaxKey, String optLimitKey) | ||
toString(String max, String limit) |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
A call to this method overrides any values in the supplied pair parameter with those in this Object. The supplied pair parameter is being gradually built up by initially setting the most general values and then more specific values for each level. As a result 'default' values from the more general levels will still exist at the end if more specific ones have not been supplied.
|