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