| 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Criteria
This interface holds the definition of a criteria. A criteria contains predefined information to limit the selection of an accessor. Criteria are specific to the type of accessor that they belong to and cannot be applied to a different type of accessor. Each criteria contains a list of criteria rows.
| Nested Class Summary | |
|---|---|
static class | 
Criteria.Conjunction | 
| Field Summary | 
|---|
| Fields inherited from interface oracle.binding.meta.Definition | 
|---|
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 | 
| Method Summary | |
|---|---|
 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.  | 
| Methods inherited from interface oracle.binding.meta.NamedDefinition | 
|---|
getDefinitionParent, getFullName, getName, getProperties, getProperty | 
| Methods inherited from interface oracle.binding.meta.Definition | 
|---|
getDefinitionType | 
| Method Detail | 
|---|
java.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
  | 
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||