JIVE Platform
Release 0.3.1

edu.buffalo.cse.jive.sequence
Enum Message.MessageSort

java.lang.Object
  extended by java.lang.Enum<Message.MessageSort>
      extended by edu.buffalo.cse.jive.sequence.Message.MessageSort
All Implemented Interfaces:
Serializable, Comparable<Message.MessageSort>
Enclosing interface:
Message

public static enum Message.MessageSort
extends Enum<Message.MessageSort>

The sort of message as defined by the UML specification.


Enum Constant Summary
ASYNCH_CALL
          An asynchronous message call.
ASYNCH_SIGNAL
          An asynchronous message signal.
CREATE_MESSAGE
          A create message.
DELETE_MESSAGE
          A delete message.
REPLY
          A reply message.
SYNCH_CALL
          A synchronous message call.
 
Method Summary
static Message.MessageSort valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Message.MessageSort[] 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

SYNCH_CALL

public static final Message.MessageSort SYNCH_CALL
A synchronous message call.


ASYNCH_CALL

public static final Message.MessageSort ASYNCH_CALL
An asynchronous message call. This is not used by JIVE.


ASYNCH_SIGNAL

public static final Message.MessageSort ASYNCH_SIGNAL
An asynchronous message signal. This is not used by JIVE.


CREATE_MESSAGE

public static final Message.MessageSort CREATE_MESSAGE
A create message. This is not used by JIVE.


DELETE_MESSAGE

public static final Message.MessageSort DELETE_MESSAGE
A delete message. This is not used by JIVE.


REPLY

public static final Message.MessageSort REPLY
A reply message.

Method Detail

values

public static Message.MessageSort[] 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 (Message.MessageSort c : Message.MessageSort.values())
    System.out.println(c);

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

valueOf

public static Message.MessageSort 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

JIVE Platform
Release 0.3.1