Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol
Enum OperationSetMessageWaiting.MessageType

java.lang.Object
  extended by java.lang.Enum<OperationSetMessageWaiting.MessageType>
      extended by net.java.sip.communicator.service.protocol.OperationSetMessageWaiting.MessageType
All Implemented Interfaces:
Serializable, Comparable<OperationSetMessageWaiting.MessageType>
Enclosing interface:
OperationSetMessageWaiting

public static enum OperationSetMessageWaiting.MessageType
extends Enum<OperationSetMessageWaiting.MessageType>

Message waiting types.


Enum Constant Summary
FAX
           
MULTIMEDIA
           
NONE
           
PAGER
           
TEXT
           
VOICE
           
 
Method Summary
 String toString()
          Returns the type of the message type enum element.
static OperationSetMessageWaiting.MessageType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OperationSetMessageWaiting.MessageType valueOfByType(String type)
          Returns MessageType by its type name.
static OperationSetMessageWaiting.MessageType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VOICE

public static final OperationSetMessageWaiting.MessageType VOICE

FAX

public static final OperationSetMessageWaiting.MessageType FAX

PAGER

public static final OperationSetMessageWaiting.MessageType PAGER

MULTIMEDIA

public static final OperationSetMessageWaiting.MessageType MULTIMEDIA

TEXT

public static final OperationSetMessageWaiting.MessageType TEXT

NONE

public static final OperationSetMessageWaiting.MessageType NONE
Method Detail

values

public static OperationSetMessageWaiting.MessageType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OperationSetMessageWaiting.MessageType c : OperationSetMessageWaiting.MessageType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OperationSetMessageWaiting.MessageType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Returns the type of the message type enum element.

Overrides:
toString in class Enum<OperationSetMessageWaiting.MessageType>
Returns:
the message type.

valueOfByType

public static OperationSetMessageWaiting.MessageType valueOfByType(String type)
Returns MessageType by its type name.

Parameters:
type - the type.
Returns:
the corresponding MessageType.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.