Package com.tietoenator.trip.jxp
Enum TdbGraphRecordType
- java.lang.Object
-
- java.lang.Enum<TdbGraphRecordType>
-
- com.tietoenator.trip.jxp.TdbGraphRecordType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TdbGraphRecordType>
public enum TdbGraphRecordType extends java.lang.Enum<TdbGraphRecordType>
Indicates the type of a graph record.- See Also:
TdbGraphRecord
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description char
getValue()
Return the graph record type identifier.static TdbGraphRecordType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TdbGraphRecordType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Invalid
public static final TdbGraphRecordType Invalid
Invalid or unspecified graph record type.
-
Edge
public static final TdbGraphRecordType Edge
Indicates that the graph record represents an edge.
-
Vertex
public static final TdbGraphRecordType Vertex
Indicates that the graph record represents a vertex.
-
-
Method Detail
-
values
public static TdbGraphRecordType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TdbGraphRecordType c : TdbGraphRecordType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TdbGraphRecordType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public char getValue()
Return the graph record type identifier.
-
-