Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

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

MILLISECOND

public static final TimeMetrics MILLISECOND

SECOND

public static final TimeMetrics SECOND

MINUTE

public static final TimeMetrics MINUTE

HOUR

public static final TimeMetrics HOUR

DAY

public static final TimeMetrics DAY

WEEK

public static final TimeMetrics WEEK

MONTH

public static final TimeMetrics MONTH

YEAR

public static final TimeMetrics YEAR
Method Detail

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

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

value

public java.lang.String value()

fromValue

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

Oracle Fusion Middleware User Messaging Service 11.1.1.7.0 Java API Reference
E14011-05

Copyright © 2009, 2013 Oracle and/or its affiliates. All rights reserved.