com.genesyslab.ail.im
Class IMParty.Type

java.lang.Object
  extended by com.genesyslab.ail.Enum
      extended by com.genesyslab.ail.im.IMParty.Type
Enclosing interface:
IMParty

public static class IMParty.Type
extends Enum

Constants for possible party types.


Field Summary
static IMParty.Type AGENT
          Constant for agent type.
static int AGENT_
          Constant for agent type.
static IMParty.Type CLIENT
          Constant for client type.
static int CLIENT_
          Constant for client type.
static IMParty.Type EXTERNAL
          Constant for external type.
static int EXTERNAL_
          Constant for external type.
static int MAX
          Return the number of Type values.
static IMParty.Type SUPERVISOR
          Constant for supervisor type.
static int SUPERVISOR_
          Constant for supervisor type.
static IMParty.Type UNKNOWN
          Constant for unknown type.
static int UNKNOWN_
          Constant for unknown type.
 
Fields inherited from class com.genesyslab.ail.Enum
CONSTANTS_RANGE
 
Method Summary
static IMParty.Type getType(int value)
          Returns the Type for this int value.
static IMParty.Type getType(java.lang.String value)
          Returns the Type for this string value.
static int max()
          Return the number of types.
 
Methods inherited from class com.genesyslab.ail.Enum
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN_

public static final int UNKNOWN_
Constant for unknown type.

See Also:
Constant Field Values

UNKNOWN

public static final IMParty.Type UNKNOWN
Constant for unknown type.


CLIENT_

public static final int CLIENT_
Constant for client type.

See Also:
Constant Field Values

CLIENT

public static final IMParty.Type CLIENT
Constant for client type.


AGENT_

public static final int AGENT_
Constant for agent type.

See Also:
Constant Field Values

AGENT

public static final IMParty.Type AGENT
Constant for agent type.


SUPERVISOR_

public static final int SUPERVISOR_
Constant for supervisor type.

See Also:
Constant Field Values

SUPERVISOR

public static final IMParty.Type SUPERVISOR
Constant for supervisor type.


EXTERNAL_

public static final int EXTERNAL_
Constant for external type.

See Also:
Constant Field Values

EXTERNAL

public static final IMParty.Type EXTERNAL
Constant for external type.


MAX

public static final int MAX
Return the number of Type values.

See Also:
Constant Field Values
Method Detail

max

public static final int max()
Return the number of types.


getType

public static final IMParty.Type getType(int value)
Returns the Type for this int value.


getType

public static final IMParty.Type getType(java.lang.String value)
Returns the Type for this string value.