Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

oracle.apps.fnd.appltest.diagfwk.api.inputs
Class FilterOperator

java.lang.Object
  extended by oracle.apps.fnd.appltest.diagfwk.api.inputs.FilterOperator

public class FilterOperator
extends java.lang.Object

Models the metadata for a filter operation. Filter operators generally contain a filter code (that indicates the operation for the filter) and the NLS key for the display name of the filter. This class additionally, also defines some general purpose filter operators that can be used by LOV implementors.

Since:
release specific (what release of product did this appear in)
Version:
$Header: FilterOperator.java 13-apr-2008.23:15:03 ppradhan Exp $
Author:
ppradhan

Field Summary
static FilterOperator FO_CONTAINS
          "Contains" operator
static FilterOperator FO_ENDS_WITH
          "Ends With" operator
static FilterOperator FO_EQUALS
          "Equals" operator
static FilterOperator FO_GREATER_THAN
          "Greater Than" operator
static FilterOperator FO_GREATER_THAN_OR_EQUALS
          "Greater Than or Equals" operator
static FilterOperator FO_LESS_THAN
          "Less Than" operator
static FilterOperator FO_LESS_THAN_OR_EQUALS
          "Less Than or Equals" operator
static FilterOperator FO_NOT_EQUALS
          "Not Equals" operator
static FilterOperator FO_STARTS_WITH
          "Starts With" operator
 
Constructor Summary
protected FilterOperator(java.lang.String pCode, java.lang.String pNlsKey, java.lang.String pNlsBundle)
          Constructor that uses user supplied values - protected
 
Method Summary
 java.lang.String getCode()
          Gets the code for this filter operator
 java.lang.String getDisplayName()
          Returns this filter operator's translated display name based on the current nlsKey and nlsBundle attribute settings.
 java.lang.String getNlsBundle()
          Gets the NLS Bundle for this filter operator
 java.lang.String getNlsKey()
          Gets the NLS Key for this filter operator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FO_CONTAINS

public static final FilterOperator FO_CONTAINS
"Contains" operator


FO_STARTS_WITH

public static final FilterOperator FO_STARTS_WITH
"Starts With" operator


FO_ENDS_WITH

public static final FilterOperator FO_ENDS_WITH
"Ends With" operator


FO_EQUALS

public static final FilterOperator FO_EQUALS
"Equals" operator


FO_NOT_EQUALS

public static final FilterOperator FO_NOT_EQUALS
"Not Equals" operator


FO_GREATER_THAN

public static final FilterOperator FO_GREATER_THAN
"Greater Than" operator


FO_LESS_THAN

public static final FilterOperator FO_LESS_THAN
"Less Than" operator


FO_GREATER_THAN_OR_EQUALS

public static final FilterOperator FO_GREATER_THAN_OR_EQUALS
"Greater Than or Equals" operator


FO_LESS_THAN_OR_EQUALS

public static final FilterOperator FO_LESS_THAN_OR_EQUALS
"Less Than or Equals" operator

Constructor Detail

FilterOperator

protected FilterOperator(java.lang.String pCode,
                         java.lang.String pNlsKey,
                         java.lang.String pNlsBundle)
Constructor that uses user supplied values - protected

Parameters:
pCode - code for the filter operator
pNlsKey - nls key for the filter operator
pNlsBundle - nls bundle for the filter operator
Method Detail

getCode

public java.lang.String getCode()
Gets the code for this filter operator

Returns:
the code for this filter operator

getNlsKey

public java.lang.String getNlsKey()
Gets the NLS Key for this filter operator

Returns:

getNlsBundle

public java.lang.String getNlsBundle()
Gets the NLS Bundle for this filter operator

Returns:
the NLS Bundle for this filter operator

getDisplayName

public java.lang.String getDisplayName()
Returns this filter operator's translated display name based on the current nlsKey and nlsBundle attribute settings. If either of these attributes are not set, then returns the code.

Returns:
the translated display name for this filter operator.

Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.