public enum PortType extends Enum<PortType> implements Serializable
| Enum Constant and Description |
|---|
INOUT_PORT |
INPUT_PORT |
OTHER |
OUTIN_PORT |
OUTPUT_PORT |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description of the instance provenance type.
|
String |
getName()
Return the default name of the instance provenance type.
|
int |
getOrdinal()
Return the numeric representation of the instance provenance type.
|
String |
toString()
toString() JSON-style
|
static PortType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortType INPUT_PORT
public static final PortType OUTPUT_PORT
public static final PortType INOUT_PORT
public static final PortType OUTIN_PORT
public static final PortType OTHER
public static PortType[] values()
for (PortType c : PortType.values()) System.out.println(c);
public static PortType 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 getOrdinal()
public String getName()
public String getDescription()
Copyright © 2018–2020 ODPi. All rights reserved.