public enum PortType extends Enum<PortType> implements Serializable
| Enum Constant and Description |
|---|
INOUT_PORT |
INPUT_PORT |
OTHER |
OUTIN_PORT |
OUTPUT_PORT |
| Modifier and Type | Field and Description |
|---|---|
static String |
ENUM_TYPE_GUID |
static String |
ENUM_TYPE_NAME |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the default description for this enum.
|
String |
getName()
Return the default name for this enum type.
|
String |
getOpenTypeGUID()
Return the unique identifier for the open metadata enum type that this enum class represents.
|
String |
getOpenTypeName()
Return the unique name for the open metadata enum type that this enum class represents.
|
String |
getOpenTypeSymbolicName()
Return the symbolic name for this enum that comes from the Open Metadata Type that this enum represents.
|
int |
getOrdinal()
Return the code for this enum used for indexing based on the enum value.
|
String |
toString()
Standard toString method.
|
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 final String ENUM_TYPE_GUID
public static final String ENUM_TYPE_NAME
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()
public String getOpenTypeSymbolicName()
public String getOpenTypeGUID()
public String getOpenTypeName()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.