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

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

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

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

Java class for PresenceAttributeType.

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

 <simpleType name="PresenceAttributeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="Activity"/>
     <enumeration value="Place"/>
     <enumeration value="Privacy"/>
     <enumeration value="Sphere"/>
     <enumeration value="Communication"/>
     <enumeration value="Other"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ACTIVITY
           
COMMUNICATION
           
OTHER
           
PLACE
           
PRIVACY
           
SPHERE
           
 
Method Summary
static PresenceAttributeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static PresenceAttributeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PresenceAttributeType[] 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

ACTIVITY

public static final PresenceAttributeType ACTIVITY

COMMUNICATION

public static final PresenceAttributeType COMMUNICATION

OTHER

public static final PresenceAttributeType OTHER

PLACE

public static final PresenceAttributeType PLACE

PRIVACY

public static final PresenceAttributeType PRIVACY

SPHERE

public static final PresenceAttributeType SPHERE
Method Detail

fromValue

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

value

public java.lang.String value()

valueOf

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