public enum PortOrientation extends Enum<PortOrientation>
Modifier and Type | Field and Description |
---|---|
static int |
IN_VALUE |
static int |
INOUT_VALUE |
static int |
NONE_VALUE |
static int |
OUT_VALUE |
static List<PortOrientation> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static PortOrientation |
get(int value) |
static PortOrientation |
get(String literal) |
static PortOrientation |
getByName(String name) |
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString() |
static PortOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortOrientation NONE
public static final PortOrientation IN
public static final PortOrientation OUT
public static final PortOrientation INOUT
public static final int NONE_VALUE
public static final int IN_VALUE
public static final int OUT_VALUE
public static final int INOUT_VALUE
public static final List<PortOrientation> VALUES
public static PortOrientation[] values()
for (PortOrientation c : PortOrientation.values()) System.out.println(c);
public static PortOrientation 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 static PortOrientation get(String literal)
public static PortOrientation getByName(String name)
public static PortOrientation get(int value)
public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<PortOrientation>