Enum LocationStatus

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NOT_LOCATED
      A not located status.
      NOT_REACHED
      The network location can't be arrived at by the solver.
      ON_CLOSEST
      Located on closest network element.
      ON_CLOSEST_NOT_RESTRICTED
      Located on closest network element which is not restricted.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static LocationStatus valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static LocationStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NOT_LOCATED

        public static final LocationStatus NOT_LOCATED
        A not located status.
        Since:
        100.0.0
      • ON_CLOSEST

        public static final LocationStatus ON_CLOSEST
        Located on closest network element.
        Since:
        100.0.0
      • ON_CLOSEST_NOT_RESTRICTED

        public static final LocationStatus ON_CLOSEST_NOT_RESTRICTED
        Located on closest network element which is not restricted.
        Since:
        100.0.0
      • NOT_REACHED

        public static final LocationStatus NOT_REACHED
        The network location can't be arrived at by the solver.
        Since:
        100.0.0
    • Method Detail

      • values

        public static LocationStatus[] 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 (LocationStatus c : LocationStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LocationStatus 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 name
        java.lang.NullPointerException - if the argument is null