com.opencloud.slee.resources.mm7
Enum SubmitRequest.MessageClass
java.lang.Object
java.lang.Enum<SubmitRequest.MessageClass>
com.opencloud.slee.resources.mm7.SubmitRequest.MessageClass
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SubmitRequest.MessageClass>
- Enclosing interface:
- SubmitRequest
public static enum SubmitRequest.MessageClass
- extends java.lang.Enum<SubmitRequest.MessageClass>
Enum for Submit message classes.
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 |
INFORMATIONAL
public static final SubmitRequest.MessageClass INFORMATIONAL
PERSONAL
public static final SubmitRequest.MessageClass PERSONAL
ADVERTISEMENT
public static final SubmitRequest.MessageClass ADVERTISEMENT
AUTO
public static final SubmitRequest.MessageClass AUTO
values
public static SubmitRequest.MessageClass[] 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 (SubmitRequest.MessageClass c : SubmitRequest.MessageClass.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SubmitRequest.MessageClass valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
fromString
public static SubmitRequest.MessageClass fromString(java.lang.String msgClass)
- Convert a string representation of a message class to a singleton MessageClass object.
- Parameters:
msgClass
- a string returned by toString()
- Returns:
- the appropriate singleton object
- Throws:
java.lang.IllegalArgumentException
- if msgClass
is not a recognized message class string
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<SubmitRequest.MessageClass>