org.eclipse.ecf.presence
Class IPresence.Type

java.lang.Object
  extended by org.eclipse.ecf.presence.IPresence.Type
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
IPresence

public static class IPresence.Type
extends java.lang.Object
implements java.io.Serializable

A type-safe enum class to represent the presence type information

See Also:
Serialized Form

Field Summary
static IPresence.Type AVAILABLE
           
static IPresence.Type ERROR
           
static IPresence.Type SUBSCRIBE
           
static IPresence.Type SUBSCRIBED
           
static IPresence.Type UNAVAILABLE
           
static IPresence.Type UNKNOWN
           
static IPresence.Type UNSUBSCRIBE
           
static IPresence.Type UNSUBSCRIBED
           
 
Constructor Summary
protected IPresence.Type(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
static IPresence.Type fromString(java.lang.String presenceType)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AVAILABLE

public static final IPresence.Type AVAILABLE

ERROR

public static final IPresence.Type ERROR

SUBSCRIBE

public static final IPresence.Type SUBSCRIBE

SUBSCRIBED

public static final IPresence.Type SUBSCRIBED

UNAVAILABLE

public static final IPresence.Type UNAVAILABLE

UNSUBSCRIBE

public static final IPresence.Type UNSUBSCRIBE

UNSUBSCRIBED

public static final IPresence.Type UNSUBSCRIBED

UNKNOWN

public static final IPresence.Type UNKNOWN
Constructor Detail

IPresence.Type

protected IPresence.Type(java.lang.String name)
Method Detail

fromString

public static IPresence.Type fromString(java.lang.String presenceType)

toString

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

equals

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

hashCode

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