public enum SessionTarget extends java.lang.Enum<SessionTarget> implements IEnumType
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static SessionTarget |
valueOf(int code) |
static SessionTarget |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionTarget S0
public static final SessionTarget S1
public static final SessionTarget S2
public static final SessionTarget S3
public static SessionTarget[] values()
for (SessionTarget c : SessionTarget.values()) System.out.println(c);
public static SessionTarget 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 java.lang.String toString()
toString
in interface IEnumType
toString
in class java.lang.Enum<SessionTarget>
public static SessionTarget valueOf(int code)