org.csapi.jr.se.mmm
Class MessagePriority

java.lang.Object
  extended byorg.csapi.jr.se.mmm.MessagePriority
All Implemented Interfaces:
java.io.Serializable

public final class MessagePriority
extends java.lang.Object
implements java.io.Serializable

Defines the priority of a message.

See Also:
Serialized Form

Field Summary
static int _MMM_MESSAGE_PRIORITY_HIGH
          High priority
static int _MMM_MESSAGE_PRIORITY_LOW
          Low priority
static int _MMM_MESSAGE_PRIORITY_UNDEFINED
          Undefined/Normal
static MessagePriority MMM_MESSAGE_PRIORITY_HIGH
          High priority
static MessagePriority MMM_MESSAGE_PRIORITY_LOW
          Low priority
static MessagePriority MMM_MESSAGE_PRIORITY_UNDEFINED
          Undefined/Normal
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
static MessagePriority getObject(int value)
          Accepts values in the range of 0 to 2
 int getValue()
          Number representing enum type
 java.lang.String getValueText()
          getValueText method, overrides the getValueText() method in class java.lang.Object
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_MMM_MESSAGE_PRIORITY_UNDEFINED

public static final int _MMM_MESSAGE_PRIORITY_UNDEFINED
Undefined/Normal

See Also:
Constant Field Values

MMM_MESSAGE_PRIORITY_UNDEFINED

public static final MessagePriority MMM_MESSAGE_PRIORITY_UNDEFINED
Undefined/Normal


_MMM_MESSAGE_PRIORITY_HIGH

public static final int _MMM_MESSAGE_PRIORITY_HIGH
High priority

See Also:
Constant Field Values

MMM_MESSAGE_PRIORITY_HIGH

public static final MessagePriority MMM_MESSAGE_PRIORITY_HIGH
High priority


_MMM_MESSAGE_PRIORITY_LOW

public static final int _MMM_MESSAGE_PRIORITY_LOW
Low priority

See Also:
Constant Field Values

MMM_MESSAGE_PRIORITY_LOW

public static final MessagePriority MMM_MESSAGE_PRIORITY_LOW
Low priority

Method Detail

getValue

public int getValue()
Number representing enum type

Returns:
int number representing type of object, this is defined within the class

getValueText

public java.lang.String getValueText()
getValueText method, overrides the getValueText() method in class java.lang.Object

Returns:
String The stringified version of the MessagePriority object

getObject

public static MessagePriority getObject(int value)
                                 throws InvalidEnumValueException
Accepts values in the range of 0 to 2

Parameters:
value - number representing type of object, this is defined within the class
Throws:
InvalidEnumValueException - thrown if invalid value is passed into method

equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.


hashCode

public int hashCode()
Returns a hashcode value for the object.