public class

CostAttribute

extends Object
java.lang.Object
   ↳ com.esri.core.tasks.na.CostAttribute

Class Overview

Class for representing cost attributes found in a Network Dataset. Cost attributes can be used in setting the objective impedance in setImpedanceAttributeName(String) and as accumulate attributes in setAccumulateAttributeNames(String[]).

Summary

Public Methods
String getName()
Get the name of the attribute.
List<AttributeParameter> getParameters()
Get the parameterized attributes for the cost attribute.
AttributeUnits getUnits()
Get the units of the attribute.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public String getName ()

Get the name of the attribute.

Returns
String The name of the attribute.

public List<AttributeParameter> getParameters ()

Get the parameterized attributes for the cost attribute.

Returns
List<AttributeParameter> A list containing the parameterized attributes.

public AttributeUnits getUnits ()

Get the units of the attribute. This will either be a length, time, or unknown unit.

Returns
AttributeUnits The attribute units.