com.ibm.soa.parlayx21.presence
Class SphereValue

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

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

This enumeration shows the sphere within which the user acts. If the sphere is unknown, the attribute value will be SphereNone, meaning the attribute was not set. If the sphere is not in this list (neither work nor home), the value will be set to SphereOther.

See Also:
Serialized Form

Field Summary
static java.lang.String _SphereHome
           
static java.lang.String _SphereNone
           
static java.lang.String _SphereOther
           
static java.lang.String _SphereWork
           
static SphereValue SphereHome
          The user is acting within his home sphere, for exampled, as a private person.
static SphereValue SphereNone
          Not set.
static SphereValue SphereOther
          The user is acting neither within his work nor within his home sphere.
static SphereValue SphereWork
          The user is acting within his work sphere, for example, as a member of his company.
 
Constructor Summary
protected SphereValue(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static SphereValue fromString(java.lang.String value)
           
static SphereValue 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

_SphereNone

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

_SphereWork

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

_SphereHome

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

_SphereOther

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

SphereNone

public static final SphereValue SphereNone
Not set.


SphereWork

public static final SphereValue SphereWork
The user is acting within his work sphere, for example, as a member of his company.


SphereHome

public static final SphereValue SphereHome
The user is acting within his home sphere, for exampled, as a private person.


SphereOther

public static final SphereValue SphereOther
The user is acting neither within his work nor within his home sphere.

Constructor Detail

SphereValue

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

getValue

public java.lang.String getValue()

fromValue

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

fromString

public static SphereValue 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.