public final enum

AttributeUnits

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

Class Overview

Enumeration representing possible attribute units for Network Dataset attributes.

Summary

Enum Values
AttributeUnits  CENTIMETERS   
AttributeUnits  DAYS   
AttributeUnits  DECIMAL_DEGREES   
AttributeUnits  DECIMETERS   
AttributeUnits  FEET   
AttributeUnits  HOURS   
AttributeUnits  INCHES   
AttributeUnits  KILOMETERS   
AttributeUnits  METERS   
AttributeUnits  MILES   
AttributeUnits  MILLIMETERS   
AttributeUnits  MINUTES   
AttributeUnits  NAUTICAL_MILES   
AttributeUnits  SECONDS   
AttributeUnits  UNKNOWN   
AttributeUnits  YARDS   
Public Methods
static AttributeUnits fromString(String str)
Create an AttributeUnits from a String.
static AttributeUnits valueOf(String name)
static final AttributeUnits[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AttributeUnits CENTIMETERS

public static final AttributeUnits DAYS

public static final AttributeUnits DECIMAL_DEGREES

public static final AttributeUnits DECIMETERS

public static final AttributeUnits FEET

public static final AttributeUnits HOURS

public static final AttributeUnits INCHES

public static final AttributeUnits KILOMETERS

public static final AttributeUnits METERS

public static final AttributeUnits MILES

public static final AttributeUnits MILLIMETERS

public static final AttributeUnits MINUTES

public static final AttributeUnits NAUTICAL_MILES

public static final AttributeUnits SECONDS

public static final AttributeUnits UNKNOWN

public static final AttributeUnits YARDS

Public Methods

public static AttributeUnits fromString (String str)

Create an AttributeUnits from a String.

Parameters
str String: The string e.g. "esriNAUMiles"
Returns
AttributeUnits The AttributeUnits enumeration value corresponding the input String.

public static AttributeUnits valueOf (String name)

Parameters
name String
Returns
AttributeUnits

public static final AttributeUnits[] values ()