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

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

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

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

Java class for PrivacyValue.

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

 <simpleType name="PrivacyValue">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="PrivacyNone"/>
     <enumeration value="PrivacyPublic"/>
     <enumeration value="PrivacyPrivate"/>
     <enumeration value="PrivacyQuiet"/>
     <enumeration value="PrivacyOther"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
PRIVACY_NONE
           
PRIVACY_OTHER
           
PRIVACY_PRIVATE
           
PRIVACY_PUBLIC
           
PRIVACY_QUIET
           
 
Method Summary
static PrivacyValue fromValue(java.lang.String v)
           
 java.lang.String value()
           
static PrivacyValue valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PrivacyValue[] 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

PRIVACY_NONE

public static final PrivacyValue PRIVACY_NONE

PRIVACY_OTHER

public static final PrivacyValue PRIVACY_OTHER

PRIVACY_PRIVATE

public static final PrivacyValue PRIVACY_PRIVATE

PRIVACY_PUBLIC

public static final PrivacyValue PRIVACY_PUBLIC

PRIVACY_QUIET

public static final PrivacyValue PRIVACY_QUIET
Method Detail

fromValue

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

value

public java.lang.String value()

valueOf

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