Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.binding.meta.criteria
Interface SimpleRow

All Superinterfaces:
CriteriaRow, Definition, NamedDefinition

public interface SimpleRow
extends CriteriaRow

This interface is for defining of one simple criteria row. Each SimpleRow is consist of a list of criteria items.


Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.binding.meta.criteria.CriteriaRow
CriteriaRow.RowType

 

Field Summary

 

Fields inherited from interface oracle.binding.meta.criteria.CriteriaRow
PROPERTY_CASE_SENSITIVE

 

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 addItem(Item item)
          For design time tool to add a new criteria item to this row.
 NestedRowItem createNestedRowItem(java.lang.String name, SimpleRow nestedRow)
          Create a nested row criteria item.
 SimpleItem createSimpleItem(java.lang.String name)
          Create a simple criteria item that does not consist of a nested row.
 java.util.List getItems()
          Return a list of criteria items.
 boolean removeItem(java.lang.String itemName)
          Remove an item from the row.
 boolean supportsExpressionAsItemName()
          Whether an expression can be specified as the name of a criteria item.
 boolean supportsNestedRowItem()
          Whether nested row criteria item is supported.
 boolean supportsSubSelectItem()
          Whether subselect view criteria item is supported.

 

Methods inherited from interface oracle.binding.meta.criteria.CriteriaRow
getConjunction, getPropertyListOfValues, getRowType, setConjunction, setProperty, validate

 

Methods inherited from interface oracle.binding.meta.NamedDefinition
getDefinitionParent, getFullName, getName, getProperties, getProperty

 

Methods inherited from interface oracle.binding.meta.Definition
getDefinitionType

 

Method Detail

getItems

java.util.List getItems()
Return a list of criteria items. Each item within a row should have a unique name. An item can contain multiple operators and values.
Returns:
The list of criteria items that make up this row.

createSimpleItem

SimpleItem createSimpleItem(java.lang.String name)
Create a simple criteria item that does not consist of a nested row. It can be added to a simple criteria row later.
Parameters:
name - The name of the criteria item to be created.
Returns:
The newly created simple criteria item.

createNestedRowItem

NestedRowItem createNestedRowItem(java.lang.String name,
                                  SimpleRow nestedRow)
Create a nested row criteria item. It can be added to a simple criteria row later.
Parameters:
nestedRow - The criteria row to be nested in the nested item.
Returns:
The newly created nested row criteria item.

addItem

void addItem(Item item)
For design time tool to add a new criteria item to this row.
Parameters:
item - The criteria item to be added to this row.

removeItem

boolean removeItem(java.lang.String itemName)
Remove an item from the row.
Parameters:
itemName - Name of the item to be removed.
Returns:
True if the item is removed sucessfully. False if no item can be found with the given name, or the item cannot be removed, for example, if this row belongs to a predefined criteria provided by the datacontrol.

supportsSubSelectItem

boolean supportsSubSelectItem()
Whether subselect view criteria item is supported. A subselect criteria item contains a nested criteria as its value.
Returns:
true if subselect criteria item is supported.

supportsNestedRowItem

boolean supportsNestedRowItem()
Whether nested row criteria item is supported. A nested row criteria item contains a nested criteria row in the same accessor.
Returns:
true if nested row criteria item is supported. false otherwise.

supportsExpressionAsItemName

boolean supportsExpressionAsItemName()
Whether an expression can be specified as the name of a criteria item. Usually the name would be the name of an attribute. Some datacontrols can support an expression such as a function on an attribute as the item name. For example, sum(sal) for the sum of the salary of all employees found in the accessor.
Returns:
true if expression is supported as the name of a criteria item.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.