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

E22562-05

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
          Before last year sliding range.
CUSTOM_RANGE
          Custom range explicit range.
LAST_WEEK
          Last week sliding range.
LAST_YEAR
          Last year sliding range.
THIS_MONTH
          This month sliding range.
THIS_WEEK
          This week sliding range.
THIS_YEAR
          This year sliding range.
TODAY
          Today sliding range.
YESTERDAY
          Yesterday sliding range.
 
Method Summary
static DateRangeTreeItem.RangeType get(java.lang.String code)
          Get the range type.
 java.lang.String getCode()
          Get the code value.
 int getTreeBranchIndex()
          Get the tree branch index (0 based).
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
Today sliding range.


YESTERDAY

public static final DateRangeTreeItem.RangeType YESTERDAY
Yesterday sliding range.


THIS_WEEK

public static final DateRangeTreeItem.RangeType THIS_WEEK
This week sliding range.


LAST_WEEK

public static final DateRangeTreeItem.RangeType LAST_WEEK
Last week sliding range.


THIS_MONTH

public static final DateRangeTreeItem.RangeType THIS_MONTH
This month sliding range.


THIS_YEAR

public static final DateRangeTreeItem.RangeType THIS_YEAR
This year sliding range.


LAST_YEAR

public static final DateRangeTreeItem.RangeType LAST_YEAR
Last year sliding range.


BEFORE_LAST_YEAR

public static final DateRangeTreeItem.RangeType BEFORE_LAST_YEAR
Before last year sliding range.


CUSTOM_RANGE

public static final DateRangeTreeItem.RangeType CUSTOM_RANGE
Custom range explicit range. from/do dates stored explicitly.

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()
Get the code value.

Returns:
code value.

getTreeBranchIndex

public int getTreeBranchIndex()
Get the tree branch index (0 based).

Returns:
tree branch index.

get

public static DateRangeTreeItem.RangeType get(java.lang.String code)
Get the range type.

Returns:
range type.

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

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.