Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference
E14785-02

org.csapi.schema.parlayx.common.v2_1
Enum TimeMetrics

java.lang.Object
  extended by java.lang.Enum<TimeMetrics>
      extended by org.csapi.schema.parlayx.common.v2_1.TimeMetrics
All Implemented Interfaces:
Serializable, java.lang.Comparable<TimeMetrics>

public enum TimeMetrics
extends java.lang.Enum<TimeMetrics>

Java class for TimeMetrics.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="TimeMetrics">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="Millisecond"/>
     <enumeration value="Second"/>
     <enumeration value="Minute"/>
     <enumeration value="Hour"/>
     <enumeration value="Day"/>
     <enumeration value="Week"/>
     <enumeration value="Month"/>
     <enumeration value="Year"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
DAY
           
HOUR
           
MILLISECOND
           
MINUTE
           
MONTH
           
SECOND
           
WEEK
           
YEAR
           
 
Method Summary
static TimeMetrics fromValue(java.lang.String v)
           
 java.lang.String value()
           
static TimeMetrics valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimeMetrics[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DAY

public static final TimeMetrics DAY

HOUR

public static final TimeMetrics HOUR

MILLISECOND

public static final TimeMetrics MILLISECOND

MINUTE

public static final TimeMetrics MINUTE

MONTH

public static final TimeMetrics MONTH

SECOND

public static final TimeMetrics SECOND

WEEK

public static final TimeMetrics WEEK

YEAR

public static final TimeMetrics YEAR
Method Detail

fromValue

public static TimeMetrics fromValue(java.lang.String v)

value

public java.lang.String value()

valueOf

public static TimeMetrics 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

values

public static TimeMetrics[] 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 (TimeMetrics c : TimeMetrics.values())
    System.out.println(c);

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

Oracle Fusion Middleware Communication Services 11.1.1.3.0 Java API Reference
E14785-02

Copyright © 2005, 2010 Oracle and/or its affiliates. All rights reserved.