public class SchemaTitleCriteria extends Criteria
ItemSchemaCriteria criteria = new ItemSchemaCriteria("My title")
will match all components
based on the schema with title "My title".EQUAL, GREATER_OR_EQUAL_THAN, GREATER_THAN, LESS_OR_EQUAL_THAN, LESS_THAN, LIKE, NOT_EQUAL
Constructor and Description |
---|
SchemaTitleCriteria(String schemaTitle)
This constructs the SchemaCriteria with a specific schemaTitle.
|
SchemaTitleCriteria(String schemaTitle,
FieldOperator operator)
Constructs a Criteria, with specifying operator for it.
|
Modifier and Type | Method and Description |
---|---|
String |
getSchemaTitle()
This returns the schemaTitle to use as the Criteria.
|
protected boolean |
isLikeOperatorApplicable()
Tests if like operator is applicable for the criteria.
|
String |
toString()
Returns string presentation of the criteria.
|
addCriteria, getCriteriaChildren, getCriteriaName, getFieldOperatorAsString, getParentOperator, getSignature, hasAnyCriteria, isOperator, setParentOperator
public SchemaTitleCriteria(String schemaTitle)
schemaTitle
- schemaTitlepublic SchemaTitleCriteria(String schemaTitle, FieldOperator operator)
schemaTitle
- The title of the schemaoperator
- Operator for criteriaCriteria
public String getSchemaTitle()
public String toString()
protected boolean isLikeOperatorApplicable()
Criteria
isLikeOperatorApplicable
in class Criteria
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries