com.esri.arcgisws
Class NetworkAssignment

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

public class NetworkAssignment
extends Object
implements Serializable

A container for associating a network evaluator with an attribute, a network element type or network source name, and an edge direction.

Java class for NetworkAssignment complex type.

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

 <complexType name="NetworkAssignment">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="IsDefault" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="ID" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="NetworkAttributeName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="NetworkElementType" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriNetworkElementType" minOccurs="0"/>
         <element name="NetworkSourceName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="NetworkEvaluatorCLSID" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="NetworkEdgeDirection" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriNetworkEdgeDirection"/>
         <element name="NetworkEvaluatorData" type="{http://www.esri.com/schemas/ArcGIS/10.0}PropertySet"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
A container for associating a network evaluator with an attribute, a network element type or network source name, and an edge direction.

See Also:
Serialized Form

Constructor Summary
NetworkAssignment()
          NetworkAssignment default constructor.
NetworkAssignment(boolean isDefault, int id, String networkAttributeName, EsriNetworkElementType networkElementType, String networkSourceName, String networkEvaluatorCLSID, EsriNetworkEdgeDirection networkEdgeDirection, PropertySet networkEvaluatorData)
          Deprecated. 
 
Method Summary
 int getID()
          Gets the value of the id property.
 String getNetworkAttributeName()
          The name of the network attribute associated with this network assignment.
 EsriNetworkEdgeDirection getNetworkEdgeDirection()
          The edge direction of this network assignment.
 EsriNetworkElementType getNetworkElementType()
          The network element type of the network assignment.
 String getNetworkEvaluatorCLSID()
          The CLSID of the network evaluator associated with this network assignment.
 PropertySet getNetworkEvaluatorData()
          The custom data of the network evaluator associated with this network assignment.
 String getNetworkSourceName()
          The network source name of this network assignment.
 boolean isIsDefault()
          Indicates if this network assignment is associated with a network element type.
 void setID(int value)
          Sets the value of the id property.
 void setIsDefault(boolean value)
          Indicates if this network assignment is associated with a network element type.
 void setNetworkAttributeName(String value)
          The name of the network attribute associated with this network assignment.
 void setNetworkEdgeDirection(EsriNetworkEdgeDirection value)
          The edge direction of this network assignment.
 void setNetworkElementType(EsriNetworkElementType value)
          The network element type of the network assignment.
 void setNetworkEvaluatorCLSID(String value)
          The CLSID of the network evaluator associated with this network assignment.
 void setNetworkEvaluatorData(PropertySet value)
          The custom data of the network evaluator associated with this network assignment.
 void setNetworkSourceName(String value)
          The network source name of this network assignment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkAssignment

@Deprecated
public NetworkAssignment(boolean isDefault,
                                    int id,
                                    String networkAttributeName,
                                    EsriNetworkElementType networkElementType,
                                    String networkSourceName,
                                    String networkEvaluatorCLSID,
                                    EsriNetworkEdgeDirection networkEdgeDirection,
                                    PropertySet networkEvaluatorData)
Deprecated. 

NetworkAssignment constructor.


NetworkAssignment

public NetworkAssignment()
NetworkAssignment default constructor.

Method Detail

isIsDefault

public boolean isIsDefault()
Indicates if this network assignment is associated with a network element type. Otherwise this network assignment is associated with a network source. Gets the value of the isDefault property.


setIsDefault

public void setIsDefault(boolean value)
Indicates if this network assignment is associated with a network element type. Otherwise this network assignment is associated with a network source. Sets the value of the isDefault property.


getID

public int getID()
Gets the value of the id property.


setID

public void setID(int value)
Sets the value of the id property.


getNetworkAttributeName

public String getNetworkAttributeName()
The name of the network attribute associated with this network assignment. Gets the value of the networkAttributeName property.

Returns:
possible object is String

setNetworkAttributeName

public void setNetworkAttributeName(String value)
The name of the network attribute associated with this network assignment. Sets the value of the networkAttributeName property.

Parameters:
value - allowed object is String

getNetworkElementType

public EsriNetworkElementType getNetworkElementType()
The network element type of the network assignment. This property only applies if IsDefault is true. Gets the value of the networkElementType property.

Returns:
possible object is EsriNetworkElementType

setNetworkElementType

public void setNetworkElementType(EsriNetworkElementType value)
The network element type of the network assignment. This property only applies if IsDefault is true. Sets the value of the networkElementType property.

Parameters:
value - allowed object is EsriNetworkElementType

getNetworkSourceName

public String getNetworkSourceName()
The network source name of this network assignment. This property only applies if IsDefault is false. Gets the value of the networkSourceName property.

Returns:
possible object is String

setNetworkSourceName

public void setNetworkSourceName(String value)
The network source name of this network assignment. This property only applies if IsDefault is false. Sets the value of the networkSourceName property.

Parameters:
value - allowed object is String

getNetworkEvaluatorCLSID

public String getNetworkEvaluatorCLSID()
The CLSID of the network evaluator associated with this network assignment. Gets the value of the networkEvaluatorCLSID property.

Returns:
possible object is String

setNetworkEvaluatorCLSID

public void setNetworkEvaluatorCLSID(String value)
The CLSID of the network evaluator associated with this network assignment. Sets the value of the networkEvaluatorCLSID property.

Parameters:
value - allowed object is String

getNetworkEdgeDirection

public EsriNetworkEdgeDirection getNetworkEdgeDirection()
The edge direction of this network assignment. Gets the value of the networkEdgeDirection property.

Returns:
possible object is EsriNetworkEdgeDirection

setNetworkEdgeDirection

public void setNetworkEdgeDirection(EsriNetworkEdgeDirection value)
The edge direction of this network assignment. Sets the value of the networkEdgeDirection property.

Parameters:
value - allowed object is EsriNetworkEdgeDirection

getNetworkEvaluatorData

public PropertySet getNetworkEvaluatorData()
The custom data of the network evaluator associated with this network assignment. Gets the value of the networkEvaluatorData property.

Returns:
possible object is PropertySet

setNetworkEvaluatorData

public void setNetworkEvaluatorData(PropertySet value)
The custom data of the network evaluator associated with this network assignment. Sets the value of the networkEvaluatorData property.

Parameters:
value - allowed object is PropertySet