public enum PortOrientation extends java.lang.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 java.util.List<PortOrientation> |
VALUES |
Modifier and Type | Method and Description |
---|---|
static PortOrientation |
get(int value) |
static PortOrientation |
get(java.lang.String literal) |
static PortOrientation |
getByName(java.lang.String name) |
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString() |
static PortOrientation |
valueOf(java.lang.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 java.util.List<PortOrientation> VALUES
public static PortOrientation[] values()
for (PortOrientation c : PortOrientation.values()) System.out.println(c);
public static PortOrientation 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 static PortOrientation get(java.lang.String literal)
public static PortOrientation getByName(java.lang.String name)
public static PortOrientation get(int value)
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<PortOrientation>