public interface Criteria extends NamedDefinition
| Modifier and Type | Interface and Description | 
|---|---|
| static class  | Criteria.Conjunction | 
TYPE_ACCESSOR, TYPE_ATTRIBUTE, TYPE_CRITERIA, TYPE_CRITERIA_ITEM, TYPE_CRITERIA_OPERATOR, TYPE_CRITERIA_ROW, TYPE_DATACONTROL, TYPE_DEFINITION, TYPE_DEFINITIONCONTEXT, TYPE_NAMED, TYPE_OPERATION, TYPE_OPERATIONRETURN, TYPE_PARAMETER, TYPE_STRUCTURE, TYPE_VARIABLE| Modifier and Type | Method and Description | 
|---|---|
| void | addRow(CriteriaRow newRow)Allows design time tool to add a row or a nested view criteria
 to this view criteria. | 
| NestedCriteriaRow | createNestedCriteriaRow(java.lang.String name,
                       Criteria criteria)Create a new row that contains a nested criteria. | 
| SimpleRow | createSimpleRow(java.lang.String name)Create a new simple row that does not contain a nested row. | 
| java.util.List | getPropertyListOfValues(java.lang.String propertyName)Returns a list of all valid values that is allowed in the given
 property. | 
| java.util.List | getRows()Return the ordered list of Criteria rows, each of which is 
 either a nested view criteria or a row that consists of one or
 more items. | 
| boolean | removeRow(CriteriaRow row)Removes the specified row from the criteria. | 
| void | setProperty(java.lang.String name,
           java.lang.String value)Sets the value of a row property. | 
| boolean | supportsNestedViewCriteria()Whether nested view criteria are supported. | 
| void | validate()Validates this criteria. | 
getDefinitionParent, getFullName, getName, getProperties, getPropertygetDefinitionTypejava.util.List getRows()
void addRow(CriteriaRow newRow)
newRow - The row to be added to this view criteria.boolean removeRow(CriteriaRow row)
row - The row to be removed.boolean supportsNestedViewCriteria()
SimpleRow createSimpleRow(java.lang.String name)
name - The name of the criteria row to be created.NestedCriteriaRow createNestedCriteriaRow(java.lang.String name, Criteria criteria)
name - The name of the nested criteria to be created.criteria - the view criteria to be nested.java.util.List getPropertyListOfValues(java.lang.String propertyName)
propertyName - The name of the property whose list of valid values
                     should be returned.void setProperty(java.lang.String name,
               java.lang.String value)
name - name of the property to be set.value - value of the property.void validate()
              throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException