public static enum TcapOperation.OperationClass extends Enum<TcapOperation.OperationClass>
Modifier and Type | Method and Description |
---|---|
static TcapOperation.OperationClass |
fromInt(int c) |
int |
getClassNumber()
Return the class of operation as an integer
|
boolean |
reportsFailure()
Test if this class of operation reports failures.
|
boolean |
reportsSuccess()
Test if this class of operation reports success.
|
static TcapOperation.OperationClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TcapOperation.OperationClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TcapOperation.OperationClass CLASS1
public static final TcapOperation.OperationClass CLASS2
public static final TcapOperation.OperationClass CLASS3
public static final TcapOperation.OperationClass CLASS4
public static TcapOperation.OperationClass[] values()
for (TcapOperation.OperationClass c : TcapOperation.OperationClass.values()) System.out.println(c);
public static TcapOperation.OperationClass valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean reportsSuccess()
public boolean reportsFailure()
public int getClassNumber()
public static TcapOperation.OperationClass fromInt(int c)