com.ibm.soa.parlayx21.presence
Class PrivacyValue

java.lang.Object
  extended by com.ibm.soa.parlayx21.presence.PrivacyValue
All Implemented Interfaces:
java.io.Serializable

public class PrivacyValue
extends java.lang.Object
implements java.io.Serializable

This enumeration shows the amount of privacy a user currently has. If the privacy is unknown, the attribute value will be PrivacyNone, meaning the attribute was not set. If the privacy is not in this list, the value will be set to PrivacyOther.

See Also:
Serialized Form

Field Summary
static java.lang.String _PrivacyNone
           
static java.lang.String _PrivacyOther
           
static java.lang.String _PrivacyPrivate
           
static java.lang.String _PrivacyPublic
           
static java.lang.String _PrivacyQuiet
           
static PrivacyValue PrivacyNone
          Not set.
static PrivacyValue PrivacyOther
          None of the other values applies.
static PrivacyValue PrivacyPrivate
          The user is alone and able to talk openly.
static PrivacyValue PrivacyPublic
          The user is surrounded by other people and cannot discuss openly.
static PrivacyValue PrivacyQuiet
          The user is in a quiet environment and cannot talk at all.
 
Constructor Summary
protected PrivacyValue(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static PrivacyValue fromString(java.lang.String value)
           
static PrivacyValue fromValue(java.lang.String value)
           
 java.lang.String getValue()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_PrivacyNone

public static final java.lang.String _PrivacyNone
See Also:
Constant Field Values

_PrivacyPublic

public static final java.lang.String _PrivacyPublic
See Also:
Constant Field Values

_PrivacyPrivate

public static final java.lang.String _PrivacyPrivate
See Also:
Constant Field Values

_PrivacyQuiet

public static final java.lang.String _PrivacyQuiet
See Also:
Constant Field Values

_PrivacyOther

public static final java.lang.String _PrivacyOther
See Also:
Constant Field Values

PrivacyNone

public static final PrivacyValue PrivacyNone
Not set.


PrivacyPublic

public static final PrivacyValue PrivacyPublic
The user is surrounded by other people and cannot discuss openly.


PrivacyPrivate

public static final PrivacyValue PrivacyPrivate
The user is alone and able to talk openly.


PrivacyQuiet

public static final PrivacyValue PrivacyQuiet
The user is in a quiet environment and cannot talk at all.


PrivacyOther

public static final PrivacyValue PrivacyOther
None of the other values applies.

Constructor Detail

PrivacyValue

protected PrivacyValue(java.lang.String value)
Method Detail

getValue

public java.lang.String getValue()

fromValue

public static PrivacyValue fromValue(java.lang.String value)
                              throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

fromString

public static PrivacyValue fromString(java.lang.String value)
                               throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003 IBM Corp. All Rights Reserved.