com.azalient.api.b.network
Enum IStand.Accessibility

java.lang.Object
  extended by java.lang.Enum<IStand.Accessibility>
      extended by com.azalient.api.b.network.IStand.Accessibility
All Implemented Interfaces:
Serializable, Comparable<IStand.Accessibility>
Enclosing interface:
IStand

public static enum IStand.Accessibility
extends Enum<IStand.Accessibility>

The status of a stand for each service


Enum Constant Summary
NOT_ON_ROUTE
          can't stop here
ON_ROUTE
          can stop here, but doesn't
STOPS_HERE
          stops here, so must be on route
 
Method Summary
static IStand.Accessibility valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IStand.Accessibility[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_ON_ROUTE

public static final IStand.Accessibility NOT_ON_ROUTE
can't stop here


ON_ROUTE

public static final IStand.Accessibility ON_ROUTE
can stop here, but doesn't


STOPS_HERE

public static final IStand.Accessibility STOPS_HERE
stops here, so must be on route

Method Detail

values

public static IStand.Accessibility[] 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 (IStand.Accessibility c : IStand.Accessibility.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IStand.Accessibility 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 name
NullPointerException - if the argument is null