com.ibm.soa.parlayx21.presence
Class ActivityValue

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

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

This enumeration shows the user's current activity. If the activity is unknown, the attribute value will be ActivityNone, meaning the attribute was not set. If the user is doing something not in this list, the value will be set to ActivityOther.

See Also:
Serialized Form

Field Summary
static java.lang.String _ActivityNone
           
static java.lang.String _ActivityOther
           
static java.lang.String _Available
           
static java.lang.String _Away
           
static java.lang.String _Busy
           
static java.lang.String _DoNotDisturb
           
static java.lang.String _Holiday
           
static java.lang.String _InTransit
           
static java.lang.String _Meal
           
static java.lang.String _Meeting
           
static java.lang.String _OnThePhone
           
static java.lang.String _Performance
           
static java.lang.String _PermanentAbsence
           
static java.lang.String _Sleeping
           
static java.lang.String _Steering
           
static java.lang.String _Travel
           
static ActivityValue ActivityNone
          Not set.
static ActivityValue ActivityOther
          The user is doing something not in this list.
static ActivityValue Available
          The user is available for communication.
static ActivityValue Away
          No idea what the user is doing, but he is away.
static ActivityValue Busy
          The user is busy and is only available for urgent matters.
static ActivityValue DoNotDisturb
          The user is very busy and does not wish to be disturbed.
static ActivityValue Holiday
          The user is on holidays.
static ActivityValue InTransit
          The user is in the transit area of an (air)port.
static ActivityValue Meal
          The user is eating.
static ActivityValue Meeting
          The user is in a meeting.
static ActivityValue OnThePhone
          The user is on the phone.
static ActivityValue Performance
          The user is in a theatre / concert.
static ActivityValue PermanentAbsence
          The user is away and will not return for an extended period.
static ActivityValue Sleeping
          The user is sleeping.
static ActivityValue Steering
          The user is driving a car / train / airplane, and others
static ActivityValue Travel
          The user is travelling.
 
Constructor Summary
protected ActivityValue(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static ActivityValue fromString(java.lang.String value)
           
static ActivityValue 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

_ActivityNone

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

_Available

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

_Busy

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

_DoNotDisturb

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

_OnThePhone

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

_Steering

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

_Meeting

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

_Away

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

_Meal

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

_PermanentAbsence

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

_Holiday

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

_Performance

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

_InTransit

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

_Travel

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

_Sleeping

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

_ActivityOther

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

ActivityNone

public static final ActivityValue ActivityNone
Not set.


Available

public static final ActivityValue Available
The user is available for communication.


Busy

public static final ActivityValue Busy
The user is busy and is only available for urgent matters.


DoNotDisturb

public static final ActivityValue DoNotDisturb
The user is very busy and does not wish to be disturbed.


OnThePhone

public static final ActivityValue OnThePhone
The user is on the phone.


Steering

public static final ActivityValue Steering
The user is driving a car / train / airplane, and others


Meeting

public static final ActivityValue Meeting
The user is in a meeting.


Away

public static final ActivityValue Away
No idea what the user is doing, but he is away.


Meal

public static final ActivityValue Meal
The user is eating.


PermanentAbsence

public static final ActivityValue PermanentAbsence
The user is away and will not return for an extended period.


Holiday

public static final ActivityValue Holiday
The user is on holidays.


Performance

public static final ActivityValue Performance
The user is in a theatre / concert.


InTransit

public static final ActivityValue InTransit
The user is in the transit area of an (air)port.


Travel

public static final ActivityValue Travel
The user is travelling.


Sleeping

public static final ActivityValue Sleeping
The user is sleeping.


ActivityOther

public static final ActivityValue ActivityOther
The user is doing something not in this list.

Constructor Detail

ActivityValue

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

getValue

public java.lang.String getValue()

fromValue

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

fromString

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