public class CategoryCriteria extends Criteria
EQUAL, GREATER_OR_EQUAL_THAN, GREATER_THAN, LESS_OR_EQUAL_THAN, LESS_THAN, LIKE, NOT_EQUAL
Constructor and Description |
---|
CategoryCriteria(String categoryName)
Constructs a categorizationCriteria for a specific category.
|
CategoryCriteria(String categoryName,
FieldOperator operator)
Constructs a Criteria, with specifying operator for it.
|
Modifier and Type | Method and Description |
---|---|
String |
getCategoryName()
Returns category name.
|
protected String |
getSignature() |
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 CategoryCriteria(String categoryName)
categoryName
- The name of the Categorypublic CategoryCriteria(String categoryName, FieldOperator operator)
categoryName
- The name of the Criteriaoperator
- Operator for criteria(
public String getCategoryName()
protected boolean isLikeOperatorApplicable()
isLikeOperatorApplicable
in class Criteria
public String toString()
protected String getSignature()
getSignature
in class Criteria
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries