public class CriteriaValidatorParser extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CriteriaValidatorParser.Operator |
Constructor and Description |
---|
CriteriaValidatorParser() |
Modifier and Type | Method and Description |
---|---|
Criteria |
getCriteria() |
DictionaryEntry |
getDictionaryEntry() |
List<CriteriaValidatorParser.Operator> |
getParsedOperators()
Get the string operators translated as an Operator enum
|
List<Object> |
getParsedValues()
The values parsed as their respective data types, String, Date, Integer, etc.
|
void |
setCriteria(Criteria criteria) |
void |
setDictionaryEntry(DictionaryEntry dictionaryEntry) |
void |
validate()
Validate the criteria thowing an InvalidParameterException if there are problems
TODO: Consider getting all the errors and throw them as a group instead of as we find them
|
public CriteriaValidatorParser()
public Criteria getCriteria()
public void setCriteria(Criteria criteria)
public DictionaryEntry getDictionaryEntry()
public void setDictionaryEntry(DictionaryEntry dictionaryEntry)
public List<CriteriaValidatorParser.Operator> getParsedOperators()
public List<Object> getParsedValues()
public void validate() throws InvalidParameterException, OperationFailedException
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.