Module OneMTA

Enum Class DataResourceType

java.lang.Object
java.lang.Enum<DataResourceType>
dev.katsute.onemta.DataResourceType
All Implemented Interfaces:
Serializable, Comparable<DataResourceType>, java.lang.constant.Constable

public enum DataResourceType extends Enum<DataResourceType>
Represents a static dataset.
Since:
1.0.0
Version:
1.0.0
Author:
Katsute
See Also:
  • Enum Constant Details

    • Subway

      public static final DataResourceType Subway
      New York City Transit Subway
    • Bus_Bronx

      public static final DataResourceType Bus_Bronx
      New York City Transit Bus / Bronx
    • Bus_Brooklyn

      public static final DataResourceType Bus_Brooklyn
      New York City Transit Bus / Brooklyn
    • Bus_Manhattan

      public static final DataResourceType Bus_Manhattan
      New York City Transit Bus / Manhattan
    • Bus_Queens

      public static final DataResourceType Bus_Queens
      New York City Transit Bus / Queens
    • Bus_StatenIsland

      public static final DataResourceType Bus_StatenIsland
      New York City Transit Bus / Staten Island
    • Bus_Company

      public static final DataResourceType Bus_Company
      Bus Company
    • LongIslandRailroad

      public static final DataResourceType LongIslandRailroad
      Long Island Rail Road
    • MetroNorthRailroad

      public static final DataResourceType MetroNorthRailroad
      Metro-North Railroad
  • Method Details

    • values

      public static DataResourceType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DataResourceType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null