Package org.planit.output.property
Enum OutputProperty
- java.lang.Object
-
- java.lang.Enum<OutputProperty>
-
- org.planit.output.property.OutputProperty
-
- All Implemented Interfaces:
Serializable
,Comparable<OutputProperty>
public enum OutputProperty extends Enum<OutputProperty>
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 OutputProperty
fromHeaderName(String name)
Returns the enumeration value associated with a specified header name (the header name in input and output files)static OutputProperty
fromValue(String v)
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 OutputProperty
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutputProperty[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DENSITY
public static final OutputProperty DENSITY
-
LINK_SEGMENT_ID
public static final OutputProperty LINK_SEGMENT_ID
-
LINK_SEGMENT_EXTERNAL_ID
public static final OutputProperty LINK_SEGMENT_EXTERNAL_ID
-
MODE_ID
public static final OutputProperty MODE_ID
-
MODE_EXTERNAL_ID
public static final OutputProperty MODE_EXTERNAL_ID
-
MAXIMUM_DENSITY
public static final OutputProperty MAXIMUM_DENSITY
-
MAXIMUM_SPEED
public static final OutputProperty MAXIMUM_SPEED
-
CALCULATED_SPEED
public static final OutputProperty CALCULATED_SPEED
-
FLOW
public static final OutputProperty FLOW
-
LENGTH
public static final OutputProperty LENGTH
-
UPSTREAM_NODE_ID
public static final OutputProperty UPSTREAM_NODE_ID
-
UPSTREAM_NODE_EXTERNAL_ID
public static final OutputProperty UPSTREAM_NODE_EXTERNAL_ID
-
DOWNSTREAM_NODE_ID
public static final OutputProperty DOWNSTREAM_NODE_ID
-
DOWNSTREAM_NODE_EXTERNAL_ID
public static final OutputProperty DOWNSTREAM_NODE_EXTERNAL_ID
-
CAPACITY_PER_LANE
public static final OutputProperty CAPACITY_PER_LANE
-
NUMBER_OF_LANES
public static final OutputProperty NUMBER_OF_LANES
-
LINK_COST
public static final OutputProperty LINK_COST
-
OD_COST
public static final OutputProperty OD_COST
-
DOWNSTREAM_NODE_LOCATION
public static final OutputProperty DOWNSTREAM_NODE_LOCATION
-
UPSTREAM_NODE_LOCATION
public static final OutputProperty UPSTREAM_NODE_LOCATION
-
ITERATION_INDEX
public static final OutputProperty ITERATION_INDEX
-
ORIGIN_ZONE_ID
public static final OutputProperty ORIGIN_ZONE_ID
-
ORIGIN_ZONE_EXTERNAL_ID
public static final OutputProperty ORIGIN_ZONE_EXTERNAL_ID
-
DESTINATION_ZONE_ID
public static final OutputProperty DESTINATION_ZONE_ID
-
DESTINATION_ZONE_EXTERNAL_ID
public static final OutputProperty DESTINATION_ZONE_EXTERNAL_ID
-
TIME_PERIOD_ID
public static final OutputProperty TIME_PERIOD_ID
-
TIME_PERIOD_EXTERNAL_ID
public static final OutputProperty TIME_PERIOD_EXTERNAL_ID
-
RUN_ID
public static final OutputProperty RUN_ID
-
PATH_STRING
public static final OutputProperty PATH_STRING
-
PATH_ID
public static final OutputProperty PATH_ID
-
VC_RATIO
public static final OutputProperty VC_RATIO
-
COST_TIMES_FLOW
public static final OutputProperty COST_TIMES_FLOW
-
LINK_TYPE
public static final OutputProperty LINK_TYPE
-
-
Method Detail
-
values
public static OutputProperty[] 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 (OutputProperty c : OutputProperty.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputProperty 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 OutputProperty fromValue(String v)
Returns the enumeration value associated with the specified class name- Parameters:
v
- the specified class name- Returns:
- the enumeration value associated with this class name
-
fromHeaderName
public static OutputProperty 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
-
-