|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Item
Parent interface for all criteria item definitions. There are 3 types of criteria items: 1. SubSelect criteria item: Contains a left operand, operator, and a right operand that is a named criteria. Items of this type should implements the SimpleItem interface. This type of item can be used for subselect queries on child/children tables and enforces restriction on a parent resultset based on criteria on the child/children tables. 2. Nested Row criteria item: Contains nested criteria rows on the same accessor. Items fo this type should implements the NestedRowItem iterface. This type of item can by use to allow nesting or bracketing of where-clause fragments. 3. Attribute Item: Contains a left operand, operator, and a right operand that can be attribute values or expressions. Items of this type should implements the SimpleItem interface. Examples of right operand expression include proper SQL fragments or expressions with wild characters * or %.
Nested Class Summary | |
---|---|
static class |
Item.ItemType constants to be returned by getItemType |
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 | |
---|---|
Criteria.Conjunction |
getConjunction() The conjunction to be applied to this criteria item with its immediate predecessor. |
Item.ItemType |
getItemType() This method indicates whether this criteria item is a Subselect criteria item, a nested row criteria item, or an attribute criteria item. |
java.util.List |
getPropertyListOfValues(java.lang.String propertyName) Returns a list of all valid values that is allowed in the given property. |
void |
setConjunction(Criteria.Conjunction conjunction) Sets the conjunction of this row. |
void |
setProperty(java.lang.String name, java.lang.String value) Sets the value of a row property. |
void |
validate() Validates this criteria item. |
Methods inherited from interface oracle.binding.meta.NamedDefinition |
---|
getDefinitionParent, getFullName, getName, getProperties, getProperty |
Methods inherited from interface oracle.binding.meta.Definition |
---|
getDefinitionType |
Method Detail |
---|
Item.ItemType getItemType()
Criteria.Conjunction getConjunction()
void setConjunction(Criteria.Conjunction conjunction)
conjunction
- The conjunction of this row.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.5.0) E10653-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |