com.esri.arcgisws
Class NetworkAttribute

java.lang.Object
  extended by com.esri.arcgisws.NetworkAttribute
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EvaluatedNetworkAttribute

public class NetworkAttribute
extends Object
implements Serializable

A container for describing a network dataset attribute.

Java class for NetworkAttribute complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="NetworkAttribute">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ID" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Units" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriNetworkAttributeUnits2"/>
         <element name="DataType" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriNetworkAttributeDataType"/>
         <element name="UsageType" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriNetworkAttributeUsageType"/>
         <element name="UserData" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
         <element name="UseByDefault" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="AttributeParameters" type="{http://www.esri.com/schemas/ArcGIS/10.0}ArrayOfNetworkAttributeParameter"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
A container for describing a network dataset attribute.

See Also:
Serialized Form

Constructor Summary
NetworkAttribute()
          NetworkAttribute default constructor.
NetworkAttribute(int id, String name, EsriNetworkAttributeUnits2 units, EsriNetworkAttributeDataType dataType, EsriNetworkAttributeUsageType usageType, Object userData, boolean useByDefault, NetworkAttributeParameter[] attributeParameters)
          Deprecated. 
 
Method Summary
 NetworkAttributeParameter[] getAttributeParameters()
          Gets the value of the attributeParameters property.
 EsriNetworkAttributeDataType getDataType()
          Type of data used in this network attribute.
 int getID()
          Unique identifier of this network attribute.
 String getName()
          Name of this network attribute.
 EsriNetworkAttributeUnits2 getUnits()
          Units of this network attribute.
 EsriNetworkAttributeUsageType getUsageType()
          Usage type of this network attribute.
 Object getUserData()
          Gets the value of the userData property.
 boolean isUseByDefault()
          Indicates if this network attribute is to be used by default.
 void setAttributeParameters(NetworkAttributeParameter[] value)
          Sets the value of the attributeParameters property.
 void setDataType(EsriNetworkAttributeDataType value)
          Type of data used in this network attribute.
 void setID(int value)
          Unique identifier of this network attribute.
 void setName(String value)
          Name of this network attribute.
 void setUnits(EsriNetworkAttributeUnits2 value)
          Units of this network attribute.
 void setUsageType(EsriNetworkAttributeUsageType value)
          Usage type of this network attribute.
 void setUseByDefault(boolean value)
          Indicates if this network attribute is to be used by default.
 void setUserData(Object value)
          Sets the value of the userData property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkAttribute

@Deprecated
public NetworkAttribute(int id,
                                   String name,
                                   EsriNetworkAttributeUnits2 units,
                                   EsriNetworkAttributeDataType dataType,
                                   EsriNetworkAttributeUsageType usageType,
                                   Object userData,
                                   boolean useByDefault,
                                   NetworkAttributeParameter[] attributeParameters)
Deprecated. 

NetworkAttribute constructor.


NetworkAttribute

public NetworkAttribute()
NetworkAttribute default constructor.

Method Detail

getID

public int getID()
Unique identifier of this network attribute. Gets the value of the id property.


setID

public void setID(int value)
Unique identifier of this network attribute. Sets the value of the id property.


getName

public String getName()
Name of this network attribute. Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Name of this network attribute. Sets the value of the name property.

Parameters:
value - allowed object is String

getUnits

public EsriNetworkAttributeUnits2 getUnits()
Units of this network attribute. Gets the value of the units property.

Returns:
possible object is EsriNetworkAttributeUnits2

setUnits

public void setUnits(EsriNetworkAttributeUnits2 value)
Units of this network attribute. Sets the value of the units property.

Parameters:
value - allowed object is EsriNetworkAttributeUnits2

getDataType

public EsriNetworkAttributeDataType getDataType()
Type of data used in this network attribute. Gets the value of the dataType property.

Returns:
possible object is EsriNetworkAttributeDataType

setDataType

public void setDataType(EsriNetworkAttributeDataType value)
Type of data used in this network attribute. Sets the value of the dataType property.

Parameters:
value - allowed object is EsriNetworkAttributeDataType

getUsageType

public EsriNetworkAttributeUsageType getUsageType()
Usage type of this network attribute. Gets the value of the usageType property.

Returns:
possible object is EsriNetworkAttributeUsageType

setUsageType

public void setUsageType(EsriNetworkAttributeUsageType value)
Usage type of this network attribute. Sets the value of the usageType property.

Parameters:
value - allowed object is EsriNetworkAttributeUsageType

getUserData

public Object getUserData()
Gets the value of the userData property.

Returns:
possible object is Object

setUserData

public void setUserData(Object value)
Sets the value of the userData property.

Parameters:
value - allowed object is Object

isUseByDefault

public boolean isUseByDefault()
Indicates if this network attribute is to be used by default. Gets the value of the useByDefault property.


setUseByDefault

public void setUseByDefault(boolean value)
Indicates if this network attribute is to be used by default. Sets the value of the useByDefault property.


getAttributeParameters

public NetworkAttributeParameter[] getAttributeParameters()
Gets the value of the attributeParameters property.

Returns:
possible object is []

setAttributeParameters

public void setAttributeParameters(NetworkAttributeParameter[] value)
Sets the value of the attributeParameters property.

Parameters:
value - allowed object is []