public class CustomMetaValueCriteria extends Criteria
EQUAL, GREATER_OR_EQUAL_THAN, GREATER_THAN, LESS_OR_EQUAL_THAN, LESS_THAN, LIKE, NOT_EQUAL
Constructor and Description |
---|
CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria,
Date keyValue)
This is used for specifying the Date value to query on.
|
CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria,
Date keyValue,
FieldOperator operator)
This is used to specify the date value with a specific operator.
|
CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria,
Float keyValue)
This is to be used for specifying a Float value.
|
CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria,
Float keyValue,
FieldOperator operator)
This is to be used for specifying a Float value with a specific operator.
|
CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria,
String keyValue)
This is to be used for specifying a String value.
|
CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria,
String keyValue,
FieldOperator operator)
This is to be used for specifying a String value with a specific operator.
|
CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria,
String keyValue,
String dateFormat)
This is used to specify the date value.
|
CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria,
String keyValue,
String dateFormat,
FieldOperator operator)
This is used to specify the date value with a specific operator.
|
CustomMetaValueCriteria(Date keyValue)
This is used for specifying the Date value to query on.
|
CustomMetaValueCriteria(Date keyValue,
FieldOperator operator)
This is used to specify the date value with a specific operator.
|
CustomMetaValueCriteria(Float keyValue)
This is to be used for specifying a Float value.
|
CustomMetaValueCriteria(Float keyValue,
FieldOperator operator)
This is to be used for specifying a Float value with a specific operator.
|
CustomMetaValueCriteria(String keyValue)
This is to be used for specifying a String value.
|
CustomMetaValueCriteria(String keyValue,
FieldOperator operator)
This is to be used for specifying a String value with a specific operator.
|
CustomMetaValueCriteria(String keyValue,
String dateFormat)
This is used to specify the date value.
|
CustomMetaValueCriteria(String keyValue,
String dateFormat,
FieldOperator operator)
This is used to specify the date value with a specific operator.
|
Modifier and Type | Method and Description |
---|---|
String |
getMetadataKey()
This returns the metadata key to query on.
|
MetadataType |
getMetaDataType()
This returns the metadata type this criteria is based on
|
protected String |
getSignature() |
Object |
getValue()
This returns the value querying on as an Object.
|
protected boolean |
isLikeOperatorApplicable()
Like operator is applicable to this criteria.
|
String |
toString()
Returns string presentation of the criteria.
|
addCriteria, getCriteriaChildren, getCriteriaName, getFieldOperatorAsString, getParentOperator, hasAnyCriteria, isOperator, setParentOperator
public CustomMetaValueCriteria(String keyValue)
keyValue
- The string value to query onpublic CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria, String keyValue)
customMetaKeyCriteria
- Specifies a custom metadata field with a specific key name.keyValue
- The string value to query onpublic CustomMetaValueCriteria(String keyValue, FieldOperator operator)
keyValue
- The string value to query onoperator
- The operator to use in the broker querypublic CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria, String keyValue, FieldOperator operator)
customMetaKeyCriteria
- Specifies a custom metadata field with a specific key name.keyValue
- The string value to query onoperator
- The operator to use in the broker querypublic CustomMetaValueCriteria(Float keyValue)
keyValue
- The Float value to query onpublic CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria, Float keyValue)
customMetaKeyCriteria
- Specifies a custom metadata field with a specific key name.keyValue
- The Float value to query onpublic CustomMetaValueCriteria(Float keyValue, FieldOperator operator)
keyValue
- The Float value to query onoperator
- The operator to use in the broker querypublic CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria, Float keyValue, FieldOperator operator)
customMetaKeyCriteria
- Specifies a custom metadata field with a specific key name.keyValue
- The Float value to query onoperator
- The operator to use in the broker querypublic CustomMetaValueCriteria(Date keyValue)
keyValue
- The date value to query onpublic CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria, Date keyValue)
customMetaKeyCriteria
- Specifies a custom metadata field with a specific key name.keyValue
- The date value to query onpublic CustomMetaValueCriteria(Date keyValue, FieldOperator operator)
keyValue
- The date value to query onoperator
- The operator used for the query comparisonpublic CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria, Date keyValue, FieldOperator operator)
customMetaKeyCriteria
- Specifies a custom metadata field with a specific key name.keyValue
- The date value to query onoperator
- The operator used for the query comparisonpublic CustomMetaValueCriteria(String keyValue, String dateFormat) throws ParseException
keyValue
- The date value to query on specified in string formatdateFormat
- The date format string to use when formatting the date stringParseException
public CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria, String keyValue, String dateFormat) throws ParseException
customMetaKeyCriteria
- Specifies a custom metadata field with a specific key name.keyValue
- The date value to query on specified in string formatdateFormat
- The date format string to use when formatting the date stringParseException
public CustomMetaValueCriteria(String keyValue, String dateFormat, FieldOperator operator) throws ParseException
keyValue
- The date value to query on specified in string formatdateFormat
- The date format string to use when formatting the date stringoperator
- The operator used for the query comparisonParseException
public CustomMetaValueCriteria(CustomMetaKeyCriteria customMetaKeyCriteria, String keyValue, String dateFormat, FieldOperator operator) throws ParseException
customMetaKeyCriteria
- Specifies a custom metadata field with a specific key name.keyValue
- The date value to query on specified in string formatdateFormat
- The date format string to use when formatting the date stringoperator
- The operator used for the query comparisonParseException
protected String getSignature()
getSignature
in class Criteria
public MetadataType getMetaDataType()
public Object getValue()
public String getMetadataKey()
protected boolean isLikeOperatorApplicable()
isLikeOperatorApplicable
in class Criteria
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries