com.esri.arcgisws
Class NetWeight

java.lang.Object
  extended by com.esri.arcgisws.NetWeight
All Implemented Interfaces:
Serializable

public class NetWeight
extends Object
implements Serializable

A container for defining a weight on the network.

Java class for NetWeight complex type.

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

 <complexType name="NetWeight">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="WeightID" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="WeightName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="WeightType" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriWeightType"/>
         <element name="BitGateSize" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
A container for defining a weight on the network.

See Also:
Serialized Form

Constructor Summary
NetWeight()
          NetWeight default constructor.
NetWeight(int weightID, String weightName, EsriWeightType weightType, int bitGateSize)
          Deprecated. 
 
Method Summary
 int getBitGateSize()
          Bit gate size of the network weight described by this NetWeight object.
 int getWeightID()
          Internal ID of the network weight described by this NetWeight object.
 String getWeightName()
          Name of the network weight described by this NetWeight object.
 EsriWeightType getWeightType()
          Type of network weight described by this NetWeight object.
 void setBitGateSize(int value)
          Bit gate size of the network weight described by this NetWeight object.
 void setWeightID(int value)
          Internal ID of the network weight described by this NetWeight object.
 void setWeightName(String value)
          Name of the network weight described by this NetWeight object.
 void setWeightType(EsriWeightType value)
          Type of network weight described by this NetWeight object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetWeight

@Deprecated
public NetWeight(int weightID,
                            String weightName,
                            EsriWeightType weightType,
                            int bitGateSize)
Deprecated. 

NetWeight constructor.


NetWeight

public NetWeight()
NetWeight default constructor.

Method Detail

getWeightID

public int getWeightID()
Internal ID of the network weight described by this NetWeight object. Gets the value of the weightID property.


setWeightID

public void setWeightID(int value)
Internal ID of the network weight described by this NetWeight object. Sets the value of the weightID property.


getWeightName

public String getWeightName()
Name of the network weight described by this NetWeight object. Gets the value of the weightName property.

Returns:
possible object is String

setWeightName

public void setWeightName(String value)
Name of the network weight described by this NetWeight object. Sets the value of the weightName property.

Parameters:
value - allowed object is String

getWeightType

public EsriWeightType getWeightType()
Type of network weight described by this NetWeight object. Gets the value of the weightType property.

Returns:
possible object is EsriWeightType

setWeightType

public void setWeightType(EsriWeightType value)
Type of network weight described by this NetWeight object. Sets the value of the weightType property.

Parameters:
value - allowed object is EsriWeightType

getBitGateSize

public int getBitGateSize()
Bit gate size of the network weight described by this NetWeight object. Gets the value of the bitGateSize property.


setBitGateSize

public void setBitGateSize(int value)
Bit gate size of the network weight described by this NetWeight object. Sets the value of the bitGateSize property.