@Embedded @Entity(noClassnameStored=true) public class StagingRange extends Range
| Constructor and Description |
|---|
StagingRange()
Construct a string range that matches any string
|
StagingRange(java.lang.String low,
java.lang.String high)
Construct a string range with a low and high bound
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.String value,
java.util.Map<java.lang.String,java.lang.String> context)
Returns true if the value is contained in the range.
|
java.lang.String |
getHigh() |
java.lang.String |
getLow() |
static boolean |
isNumeric(java.lang.String value)
Return true if the string can converted into a number
|
boolean |
matchesAll()
If low and high are both null, then this range matches all strings
|
public StagingRange()
public StagingRange(java.lang.String low,
java.lang.String high)
low - low valuehigh - high valuepublic static boolean isNumeric(java.lang.String value)
public java.lang.String getLow()
public java.lang.String getHigh()
public boolean matchesAll()
public boolean contains(java.lang.String value,
java.util.Map<java.lang.String,java.lang.String> context)
- If the low and high values ranges are different and are both "numeric", then the value will be compared using floats (which will work for the `Integer` type fields as well).
- Otherwise it will be compared using String but the strings must be the same length otherwise consider different