public final enum

NATravelDirection

extends Enum<NATravelDirection>
java.lang.Object
   ↳ java.lang.Enum<com.esri.core.tasks.na.NATravelDirection>
     ↳ com.esri.core.tasks.na.NATravelDirection

Class Overview

The enumeration types of travel directions

Summary

Enum Values
NATravelDirection  FROM_FACILITY  from facility  
NATravelDirection  SERVER_DEFAULT  default  
NATravelDirection  TO_FACILITY  to facility  
Public Methods
static NATravelDirection get(String str)
Returns the NATravelDirection object corresponding to the string passed in, or null if the string does not have a corresponding NATravelDirection object.
String toString()
static NATravelDirection valueOf(String name)
static final NATravelDirection[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final NATravelDirection FROM_FACILITY

from facility

public static final NATravelDirection SERVER_DEFAULT

default

public static final NATravelDirection TO_FACILITY

to facility

Public Methods

public static NATravelDirection get (String str)

Returns the NATravelDirection object corresponding to the string passed in, or null if the string does not have a corresponding NATravelDirection object.

Parameters
str String: the string
Returns
NATravelDirection the NA travel direction object

public String toString ()

Returns
String

public static NATravelDirection valueOf (String name)

Parameters
name String
Returns
NATravelDirection

public static final NATravelDirection[] values ()