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 SimpleItem

All Superinterfaces:
Definition, Item, NamedDefinition

public interface SimpleItem
extends Item

The interface for criteria item definition that does not consist of a nested criteria row. This type of item contains a name, and a list of operator and value in the form: Name [Operator Value]+ Name can be an attribute or an expression, which is ususally based on an attribute. Operator can be any operator that the datacontrol is capable of interpreting. Value can be a literal, an expression, or a nested criteria.


Nested Class Summary
static class SimpleItem.RequiredOption
          enum for the getRequiredOption method.

 

Nested classes/interfaces inherited from interface oracle.binding.meta.criteria.Item
Item.ItemType

 

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
 AttributeDefinition getAttribute()
          Returns the definition of the attribute associated with the name of this view criteria item, if it is the name of an attribute.
 java.util.List getSupportedOperators()
          Returns a list of operators that can be used on this criteria item when the right operand is an expression or literal.
 java.util.List getSupportedSubSelectOperators()
          Returns a list of operators that can be used on this criteria item when the right operand is a nested criteria.
 void setName(java.lang.String name)
          Sets the name of this criteria item.

 

Methods inherited from interface oracle.binding.meta.criteria.Item
getConjunction, getItemType, getPropertyListOfValues, 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

getAttribute

AttributeDefinition getAttribute()
Returns the definition of the attribute associated with the name of this view criteria item, if it is the name of an attribute.
Returns:
the definition of the attribute if the name is the name of an attribute, or null if the name is an expression.

setName

void setName(java.lang.String name)
             throws java.lang.IllegalArgumentException
Sets the name of this criteria item.
Parameters:
name - The name of the criteria item. It can be the name of an attribute of the base accessor, or an expression such as "SUM(Sal)" if the datacontrol supports it.
Throws:
java.lang.IllegalArgumentException - If the name provided is not valid, or if this operation is not supported by the criteria item.
See Also:
SimpleRow.supportsExpressionAsItemName()

getSupportedOperators

java.util.List getSupportedOperators()
Returns a list of operators that can be used on this criteria item when the right operand is an expression or literal.
Returns:
A list of custom operator definitions allowed on this criteria item.

getSupportedSubSelectOperators

java.util.List getSupportedSubSelectOperators()
Returns a list of operators that can be used on this criteria item when the right operand is a nested criteria.
Returns:
A list of custom operator definitions allowed on this subselect 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.