Package org.matsim.pt.utils
Enum TransitScheduleValidator.ValidationResult.Type
- java.lang.Object
-
- java.lang.Enum<TransitScheduleValidator.ValidationResult.Type>
-
- org.matsim.pt.utils.TransitScheduleValidator.ValidationResult.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<TransitScheduleValidator.ValidationResult.Type>
- Enclosing class:
- TransitScheduleValidator.ValidationResult
public static enum TransitScheduleValidator.ValidationResult.Type extends Enum<TransitScheduleValidator.ValidationResult.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HAS_MISSING_STOP_FACILITY
HAS_NO_LINK_REF
OTHER
ROUTE_HAS_UNREACHABLE_STOP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TransitScheduleValidator.ValidationResult.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static TransitScheduleValidator.ValidationResult.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HAS_MISSING_STOP_FACILITY
public static final TransitScheduleValidator.ValidationResult.Type HAS_MISSING_STOP_FACILITY
-
HAS_NO_LINK_REF
public static final TransitScheduleValidator.ValidationResult.Type HAS_NO_LINK_REF
-
ROUTE_HAS_UNREACHABLE_STOP
public static final TransitScheduleValidator.ValidationResult.Type ROUTE_HAS_UNREACHABLE_STOP
-
OTHER
public static final TransitScheduleValidator.ValidationResult.Type OTHER
-
-
Method Detail
-
values
public static TransitScheduleValidator.ValidationResult.Type[] 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 (TransitScheduleValidator.ValidationResult.Type c : TransitScheduleValidator.ValidationResult.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TransitScheduleValidator.ValidationResult.Type 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
-
-