Skip navigation links

Oracle® Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-01


oracle.imaging
Enum Application.StorageStage.DurationUnit

java.lang.Object
  extended by java.lang.Enum<Application.StorageStage.DurationUnit>
      extended by oracle.imaging.Application.StorageStage.DurationUnit

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Application.StorageStage.DurationUnit>
Enclosing class:
Application.StorageStage

public static enum Application.StorageStage.DurationUnit
extends java.lang.Enum<Application.StorageStage.DurationUnit>

Defines the available units for specifiying storage durations.


Enum Constant Summary
DAYS
          The duration is specified in days.
MONTHS
          The duration is specified in months (1 month = 30 days).
WEEKS
          The duration is specified in weeks (1 week = 7 days).
YEARS
          The duration is specified in years (1 year = 365 days).

 

Method Summary
static Application.StorageStage.DurationUnit valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Application.StorageStage.DurationUnit[] 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

DAYS

public static final Application.StorageStage.DurationUnit DAYS
The duration is specified in days.

WEEKS

public static final Application.StorageStage.DurationUnit WEEKS
The duration is specified in weeks (1 week = 7 days).

MONTHS

public static final Application.StorageStage.DurationUnit MONTHS
The duration is specified in months (1 month = 30 days).

YEARS

public static final Application.StorageStage.DurationUnit YEARS
The duration is specified in years (1 year = 365 days).

Method Detail

values

public static Application.StorageStage.DurationUnit[] 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 (Application.StorageStage.DurationUnit c : Application.StorageStage.DurationUnit.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Application.StorageStage.DurationUnit 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

Skip navigation links

Oracle® Imaging and Process Management Java API Reference
11g Release 1 (11.1.1)

E12853-01


Copyright © 2010, Oracle. All rights reserved.