Package org.goplanit.output.property
Enum OutputPropertyType
- java.lang.Object
-
- java.lang.Enum<OutputPropertyType>
-
- org.goplanit.output.property.OutputPropertyType
-
- All Implemented Interfaces:
Serializable
,Comparable<OutputPropertyType>
public enum OutputPropertyType extends Enum<OutputPropertyType>
Enumeration of possible output properties- Author:
- gman6028
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutputPropertyType
fromHeaderName(String name)
Returns the enumeration value associated with a specified header name (the header name in input and output files)static OutputPropertyType
fromValue(String value)
Returns the enumeration value associated with the specified class nameString
value()
Return the String value associated with this enumeration value (the fully qualified class name)static OutputPropertyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutputPropertyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DENSITY
public static final OutputPropertyType DENSITY
-
LINK_SEGMENT_ID
public static final OutputPropertyType LINK_SEGMENT_ID
-
LINK_SEGMENT_XML_ID
public static final OutputPropertyType LINK_SEGMENT_XML_ID
-
LINK_SEGMENT_EXTERNAL_ID
public static final OutputPropertyType LINK_SEGMENT_EXTERNAL_ID
-
MODE_ID
public static final OutputPropertyType MODE_ID
-
MODE_EXTERNAL_ID
public static final OutputPropertyType MODE_EXTERNAL_ID
-
MODE_XML_ID
public static final OutputPropertyType MODE_XML_ID
-
MAXIMUM_DENSITY
public static final OutputPropertyType MAXIMUM_DENSITY
-
MAXIMUM_SPEED
public static final OutputPropertyType MAXIMUM_SPEED
-
CALCULATED_SPEED
public static final OutputPropertyType CALCULATED_SPEED
-
FLOW
public static final OutputPropertyType FLOW
-
INFLOW
public static final OutputPropertyType INFLOW
-
OUTFLOW
public static final OutputPropertyType OUTFLOW
-
LENGTH
public static final OutputPropertyType LENGTH
-
UPSTREAM_NODE_ID
public static final OutputPropertyType UPSTREAM_NODE_ID
-
UPSTREAM_NODE_EXTERNAL_ID
public static final OutputPropertyType UPSTREAM_NODE_EXTERNAL_ID
-
UPSTREAM_NODE_XML_ID
public static final OutputPropertyType UPSTREAM_NODE_XML_ID
-
DOWNSTREAM_NODE_ID
public static final OutputPropertyType DOWNSTREAM_NODE_ID
-
DOWNSTREAM_NODE_EXTERNAL_ID
public static final OutputPropertyType DOWNSTREAM_NODE_EXTERNAL_ID
-
DOWNSTREAM_NODE_XML_ID
public static final OutputPropertyType DOWNSTREAM_NODE_XML_ID
-
CAPACITY_PER_LANE
public static final OutputPropertyType CAPACITY_PER_LANE
-
NUMBER_OF_LANES
public static final OutputPropertyType NUMBER_OF_LANES
-
LINK_SEGMENT_COST
public static final OutputPropertyType LINK_SEGMENT_COST
-
OD_COST
public static final OutputPropertyType OD_COST
-
DOWNSTREAM_NODE_LOCATION
public static final OutputPropertyType DOWNSTREAM_NODE_LOCATION
-
UPSTREAM_NODE_LOCATION
public static final OutputPropertyType UPSTREAM_NODE_LOCATION
-
ITERATION_INDEX
public static final OutputPropertyType ITERATION_INDEX
-
ORIGIN_ZONE_ID
public static final OutputPropertyType ORIGIN_ZONE_ID
-
ORIGIN_ZONE_EXTERNAL_ID
public static final OutputPropertyType ORIGIN_ZONE_EXTERNAL_ID
-
ORIGIN_ZONE_XML_ID
public static final OutputPropertyType ORIGIN_ZONE_XML_ID
-
DESTINATION_ZONE_ID
public static final OutputPropertyType DESTINATION_ZONE_ID
-
DESTINATION_ZONE_XML_ID
public static final OutputPropertyType DESTINATION_ZONE_XML_ID
-
DESTINATION_ZONE_EXTERNAL_ID
public static final OutputPropertyType DESTINATION_ZONE_EXTERNAL_ID
-
TIME_PERIOD_ID
public static final OutputPropertyType TIME_PERIOD_ID
-
TIME_PERIOD_XML_ID
public static final OutputPropertyType TIME_PERIOD_XML_ID
-
TIME_PERIOD_EXTERNAL_ID
public static final OutputPropertyType TIME_PERIOD_EXTERNAL_ID
-
RUN_ID
public static final OutputPropertyType RUN_ID
-
PATH_STRING
public static final OutputPropertyType PATH_STRING
-
PATH_ID
public static final OutputPropertyType PATH_ID
-
VC_RATIO
public static final OutputPropertyType VC_RATIO
-
COST_TIMES_FLOW
public static final OutputPropertyType COST_TIMES_FLOW
-
LINK_SEGMENT_TYPE_ID
public static final OutputPropertyType LINK_SEGMENT_TYPE_ID
-
LINK_SEGMENT_TYPE_NAME
public static final OutputPropertyType LINK_SEGMENT_TYPE_NAME
-
LINK_SEGMENT_TYPE_XML_ID
public static final OutputPropertyType LINK_SEGMENT_TYPE_XML_ID
-
-
Method Detail
-
values
public static OutputPropertyType[] 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 (OutputPropertyType c : OutputPropertyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputPropertyType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
Return the String value associated with this enumeration value (the fully qualified class name)- Returns:
- the class name associated with this enumeration value
-
fromValue
public static OutputPropertyType fromValue(String value)
Returns the enumeration value associated with the specified class name- Parameters:
value
- the specified class name- Returns:
- the enumeration value associated with this class name
-
fromHeaderName
public static OutputPropertyType fromHeaderName(String name) throws PlanItException
Returns the enumeration value associated with a specified header name (the header name in input and output files)- Parameters:
name
- the header name- Returns:
- the enumeration associated with the specified header name
- Throws:
PlanItException
- if the name is not associated with any output property
-
-