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

org.csapi.schema.parlayx.presence.v2_3
Enum SphereValue

java.lang.Object
  extended by java.lang.Enum<SphereValue>
      extended by org.csapi.schema.parlayx.presence.v2_3.SphereValue
All Implemented Interfaces:
Serializable, java.lang.Comparable<SphereValue>

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

Java class for SphereValue.

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

 <simpleType name="SphereValue">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="SphereNone"/>
     <enumeration value="SphereWork"/>
     <enumeration value="SphereHome"/>
     <enumeration value="SphereOther"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
SPHERE_HOME
           
SPHERE_NONE
           
SPHERE_OTHER
           
SPHERE_WORK
           
 
Method Summary
static SphereValue fromValue(java.lang.String v)
           
 java.lang.String value()
           
static SphereValue valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SphereValue[] 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

SPHERE_HOME

public static final SphereValue SPHERE_HOME

SPHERE_NONE

public static final SphereValue SPHERE_NONE

SPHERE_OTHER

public static final SphereValue SPHERE_OTHER

SPHERE_WORK

public static final SphereValue SPHERE_WORK
Method Detail

fromValue

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

value

public java.lang.String value()

valueOf

public static SphereValue 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 SphereValue[] 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 (SphereValue c : SphereValue.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.