Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.globalSearch.ui.commonTree
Enum DateRangeTreeItem.RangeType

java.lang.Object
  extended by java.lang.Enum<DateRangeTreeItem.RangeType>
      extended by oracle.apps.fnd.applcore.globalSearch.ui.commonTree.DateRangeTreeItem.RangeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DateRangeTreeItem.RangeType>
Enclosing class:
DateRangeTreeItem

public static enum DateRangeTreeItem.RangeType
extends java.lang.Enum<DateRangeTreeItem.RangeType>

Type of Date to use in a date range.


Enum Constant Summary
BEFORE_LAST_YEAR
           
CUSTOM_RANGE
           
LAST_WEEK
           
LAST_YEAR
           
THIS_MONTH
           
THIS_WEEK
           
THIS_YEAR
           
TODAY
           
YESTERDAY
           
 
Method Summary
static DateRangeTreeItem.RangeType get(java.lang.String code)
           
 java.lang.String getCode()
           
 int getTreeBranchIndex()
           
static DateRangeTreeItem.RangeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DateRangeTreeItem.RangeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TODAY

public static final DateRangeTreeItem.RangeType TODAY

YESTERDAY

public static final DateRangeTreeItem.RangeType YESTERDAY

THIS_WEEK

public static final DateRangeTreeItem.RangeType THIS_WEEK

LAST_WEEK

public static final DateRangeTreeItem.RangeType LAST_WEEK

THIS_MONTH

public static final DateRangeTreeItem.RangeType THIS_MONTH

THIS_YEAR

public static final DateRangeTreeItem.RangeType THIS_YEAR

LAST_YEAR

public static final DateRangeTreeItem.RangeType LAST_YEAR

BEFORE_LAST_YEAR

public static final DateRangeTreeItem.RangeType BEFORE_LAST_YEAR

CUSTOM_RANGE

public static final DateRangeTreeItem.RangeType CUSTOM_RANGE
Method Detail

values

public static DateRangeTreeItem.RangeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (DateRangeTreeItem.RangeType c : DateRangeTreeItem.RangeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DateRangeTreeItem.RangeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCode

public java.lang.String getCode()

getTreeBranchIndex

public int getTreeBranchIndex()

get

public static DateRangeTreeItem.RangeType get(java.lang.String code)

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.