Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-05


oracle.adf.view.rich.model
Class AttributeDescriptor.Operator

java.lang.Object
  extended by oracle.adf.view.rich.model.AttributeDescriptor.Operator

Enclosing class:
AttributeDescriptor

public abstract class AttributeDescriptor.Operator
extends java.lang.Object

Represents an operator supported by an attribute. Typically attributes support one or more operators based on its type. These operators are useful when performing queries.


Constructor Summary
AttributeDescriptor.Operator()
           

 

Method Summary
abstract  java.lang.String getLabel()
          Gets the label for the operator.
abstract  int getOperandCount()
          Returns the number of operands required by an OperatorType instance.
abstract  java.lang.Object getValue()
          Gets the value associated with the operator.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AttributeDescriptor.Operator

public AttributeDescriptor.Operator()

Method Detail

getLabel

public abstract java.lang.String getLabel()
Gets the label for the operator. This is used for display purposes.
Returns:
a String

getValue

public abstract java.lang.Object getValue()
Gets the value associated with the operator. It is important that the Object representing the value, can be converted to String for use in a SelectItem.
Returns:
an Object.

getOperandCount

public abstract int getOperandCount()
Returns the number of operands required by an OperatorType instance. This may be useful in determining the number of input components to display for the operator and attribute.
Returns:
an int

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-05


Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.