Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api
Enum MessageContextClass

java.lang.Object
  extended by java.lang.Enum<MessageContextClass>
      extended by com.oracle.sft.api.MessageContextClass

All Implemented Interfaces:
Serializable, Comparable<MessageContextClass>

public enum MessageContextClass
extends Enum<MessageContextClass>

The coding of the message types in the message-context-class values which

is defined by RFC3458 [5] and RFC3938 [6].


Enum Constant Summary
FAX
           
MULTIMEDIAMESSAGE
           
NONE
           
PAGERMESSAGE
           
TEXTMESSAGE
           
VIDEO
           
VOICEMESSAGE
           

 

Method Summary
static MessageContextClass fromValue(String v)
           
 String value()
           
static MessageContextClass valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MessageContextClass[] 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, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

VOICEMESSAGE

public static final MessageContextClass VOICEMESSAGE

VIDEO

public static final MessageContextClass VIDEO

FAX

public static final MessageContextClass FAX

PAGERMESSAGE

public static final MessageContextClass PAGERMESSAGE

MULTIMEDIAMESSAGE

public static final MessageContextClass MULTIMEDIAMESSAGE

TEXTMESSAGE

public static final MessageContextClass TEXTMESSAGE

NONE

public static final MessageContextClass NONE

Method Detail

values

public static MessageContextClass[] 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 (MessageContextClass c : MessageContextClass.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MessageContextClass 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

value

public String value()

fromValue

public static MessageContextClass fromValue(String v)

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.