public enum MtCategory extends java.lang.Enum<MtCategory>
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
description()
Returns the service number and description, for example:
01 - GPA/FIN Message (system and user-to-user)
|
java.lang.String |
number()
Returns this service id type number
|
static MtCategory |
valueOf(int cat)
Convenient factory method to create a category enum value from an int
|
static MtCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MtCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MtCategory _0
public static final MtCategory _1
public static final MtCategory _2
public static final MtCategory _3
public static final MtCategory _4
public static final MtCategory _5
public static final MtCategory _6
public static final MtCategory _7
public static final MtCategory _8
public static final MtCategory _9
public static MtCategory[] values()
for (MtCategory c : MtCategory.values()) System.out.println(c);
public static MtCategory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static MtCategory valueOf(int cat)
cat - a category number between 0 and 9public final java.lang.String description()
public final java.lang.String number()