com.ibm.soa.parlayx21.presence
Class PresenceAttributeType

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

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

The different types of attributes. For each entry in this enumeration there is a separate value type.

See Also:
Serialized Form

Field Summary
static java.lang.String _Activity
           
static java.lang.String _Communication
           
static java.lang.String _Other
           
static java.lang.String _Place
           
static java.lang.String _Privacy
           
static java.lang.String _Sphere
           
static PresenceAttributeType Activity
          The presentity's activity (available, busy, lunch, and others)
static PresenceAttributeType Communication
          The user's means of communication (phone, mail, and others)
static PresenceAttributeType Other
          A name - value pair for arbitrary presence information
static PresenceAttributeType Place
          At what kind of place the presentity is (home, office, and others)
static PresenceAttributeType Privacy
          The amount of privacy the user wants (public, quiet, and others)
static PresenceAttributeType Sphere
          The user's current environment (work, home)
 
Constructor Summary
protected PresenceAttributeType(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static PresenceAttributeType fromString(java.lang.String value)
           
static PresenceAttributeType 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

_Activity

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

_Place

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

_Privacy

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

_Sphere

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

_Communication

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

_Other

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

Activity

public static final PresenceAttributeType Activity
The presentity's activity (available, busy, lunch, and others)


Place

public static final PresenceAttributeType Place
At what kind of place the presentity is (home, office, and others)


Privacy

public static final PresenceAttributeType Privacy
The amount of privacy the user wants (public, quiet, and others)


Sphere

public static final PresenceAttributeType Sphere
The user's current environment (work, home)


Communication

public static final PresenceAttributeType Communication
The user's means of communication (phone, mail, and others)


Other

public static final PresenceAttributeType Other
A name - value pair for arbitrary presence information

Constructor Detail

PresenceAttributeType

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

getValue

public java.lang.String getValue()

fromValue

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

fromString

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