public enum RecordType extends Enum<RecordType> implements Enumerated
| Modifier and Type | Method and Description |
|---|---|
int |
intValue()
Returns the AVP integer value for this RecordType.
|
static RecordType |
valueOf(int n)
Returns the RecordType corresponding to the specified AVP integer
value, or null if none.
|
static RecordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecordType EVENT
public static final RecordType START
public static final RecordType INTERIM
public static final RecordType STOP
public static RecordType[] values()
for (RecordType c : RecordType.values()) System.out.println(c);
public static RecordType 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 int intValue()
intValue in interface Enumeratedpublic static RecordType valueOf(int n)