public class NumericalRangeCriteria extends MetadataRangeCriteria
EQUAL, GREATER_OR_EQUAL_THAN, GREATER_THAN, LESS_OR_EQUAL_THAN, LESS_THAN, LIKE, NOT_EQUAL| Constructor and Description |
|---|
NumericalRangeCriteria(float beginRange,
float endRange)
Creates a NumericalRangeCriteria for the specified range(begin - end).
|
NumericalRangeCriteria(float beginRange,
float endRange,
boolean rangeIncluded)
Creates a NumericalRangeCriteria for the specified range(begin - end).
|
NumericalRangeCriteria(String metaFieldName,
float beginRange,
float endRange)
Creates a NumericalRangeCriteria for the specified range(begin - end).
|
NumericalRangeCriteria(String metaFieldName,
float beginRange,
float endRange,
boolean rangeIncluded)
Creates a NumericalRangeCriteria for the specified range(begin - end).
|
| Modifier and Type | Method and Description |
|---|---|
Float |
getBeginRange()
returns the Beginning of the Range.
|
Float |
getEndRange()
Returns the End of the Range.
|
getMetadataKey, getMetadataType, getSignature, isRangeIncluded, toStringaddCriteria, getCriteriaChildren, getCriteriaName, getFieldOperatorAsString, getParentOperator, hasAnyCriteria, isLikeOperatorApplicable, isOperator, setParentOperatorpublic NumericalRangeCriteria(float beginRange,
float endRange)
beginRange - The beginning of the RangeendRange - The end of the Rangepublic NumericalRangeCriteria(float beginRange,
float endRange,
boolean rangeIncluded)
beginRange - The beginning of the RangeendRange - The end of the RangerangeIncluded - Set to true if the beginRange and endRange have to be included, false if notpublic NumericalRangeCriteria(String metaFieldName, float beginRange, float endRange)
metaFieldName - The name of the custom metadata field to do range conditioning onbeginRange - The beginning of the RangeendRange - The end of the Rangepublic NumericalRangeCriteria(String metaFieldName, float beginRange, float endRange, boolean rangeIncluded)
metaFieldName - The name of the custom metadata field to do range conditioning onbeginRange - The beginning of the RangeendRange - The end of the RangerangeIncluded - Set to true if the beginRange and endRange have to be included, false if notpublic Float getBeginRange()
getBeginRange in class MetadataRangeCriteriapublic Float getEndRange()
getEndRange in class MetadataRangeCriteriaCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries