|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.soa.parlayx21.presence.PrivacyValue
public class PrivacyValue
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.
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 |
---|
public static final java.lang.String _PrivacyNone
public static final java.lang.String _PrivacyPublic
public static final java.lang.String _PrivacyPrivate
public static final java.lang.String _PrivacyQuiet
public static final java.lang.String _PrivacyOther
public static final PrivacyValue PrivacyNone
public static final PrivacyValue PrivacyPublic
public static final PrivacyValue PrivacyPrivate
public static final PrivacyValue PrivacyQuiet
public static final PrivacyValue PrivacyOther
Constructor Detail |
---|
protected PrivacyValue(java.lang.String value)
Method Detail |
---|
public java.lang.String getValue()
public static PrivacyValue fromValue(java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public static PrivacyValue fromString(java.lang.String value) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |