public class NetworkTravelMode extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, INetworkTravelMode
Description 'A container for describing a travel mode in a network dataset.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IIDcc5a89d8_01f3_4e50_8c4f_690b6511536c, xxDummy
Constructor and Description |
---|
NetworkTravelMode()
Constructs a NetworkTravelMode using ArcGIS Engine.
|
NetworkTravelMode(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
NetworkTravelMode theNetworkTravelMode = (NetworkTravelMode) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IArray |
getAttributeParameterValues()
The collection of network attribute parameter values to be used with the analysis.
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getDescription()
The description of the travel mode.
|
java.lang.String |
getDistanceAttributeName()
The name of the distance-based network attribute to be used in analysis.
|
int |
getDomainType()
The units domain type of the travel mode.
|
java.lang.String |
getImpedanceAttributeName()
The name of the network attribute to be used as the impedance attribute in analysis.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
java.lang.String |
getName()
The name of the travel mode.
|
java.lang.Object |
getOutputGeometryPrecision()
Specifies the precision of the output geometry after generalization.
|
int |
getOutputGeometryPrecisionUnits()
Specifies the units of the output geometry precision.
|
IStringArray |
getRestrictionAttributeNames()
The collection of network attribute names to be used as restrictions with the analysis.
|
int |
getRestrictUTurns()
Indicates how U-Turns should be restricted in the analysis.
|
java.lang.String |
getTimeAttributeName()
The name of the time-based network attribute to be used in analysis.
|
java.lang.String |
getType()
The type of the travel mode.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isUseHierarchy()
Indicates if the hierarchy attribute for the network should be used in analysis.
|
void |
readFromJSON(java.lang.String jsonValue)
Reads the contents of this travel mode from a JSON string.
|
void |
release()
Release this COM object reference
|
void |
setAttributeParameterValuesByRef(IArray attributeParameterValues)
The collection of network attribute parameter values to be used with the analysis.
|
void |
setDescription(java.lang.String description)
The description of the travel mode.
|
void |
setDistanceAttributeName(java.lang.String attributeName)
The name of the distance-based network attribute to be used in analysis.
|
void |
setImpedanceAttributeName(java.lang.String attributeName)
The name of the network attribute to be used as the impedance attribute in analysis.
|
void |
setName(java.lang.String name)
The name of the travel mode.
|
void |
setOutputGeometryPrecision(java.lang.Object precision)
Specifies the precision of the output geometry after generalization.
|
void |
setOutputGeometryPrecisionUnits(int units)
Specifies the units of the output geometry precision.
|
void |
setRestrictionAttributeNamesByRef(IStringArray attributeNames)
The collection of network attribute names to be used as restrictions with the analysis.
|
void |
setRestrictUTurns(int backtrack)
Indicates how U-Turns should be restricted in the analysis.
|
void |
setTimeAttributeName(java.lang.String attributeName)
The name of the time-based network attribute to be used in analysis.
|
void |
setType(java.lang.String type)
The type of the travel mode.
|
void |
setUseHierarchy(boolean useHierarchy)
Indicates if the hierarchy attribute for the network should be used in analysis.
|
void |
writeToJSON(java.lang.String[] jsonValue)
Writes the contents of this travel mode as a JSON string.
|
public NetworkTravelMode() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic NetworkTravelMode(java.lang.Object obj) throws java.io.IOException
NetworkTravelMode theNetworkTravelMode = (NetworkTravelMode) obj;
obj
to NetworkTravelMode
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface INetworkTravelMode
name
- The name (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setImpedanceAttributeName(java.lang.String attributeName) throws java.io.IOException, AutomationException
setImpedanceAttributeName
in interface INetworkTravelMode
attributeName
- The attributeName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getImpedanceAttributeName() throws java.io.IOException, AutomationException
getImpedanceAttributeName
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setTimeAttributeName(java.lang.String attributeName) throws java.io.IOException, AutomationException
setTimeAttributeName
in interface INetworkTravelMode
attributeName
- The attributeName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getTimeAttributeName() throws java.io.IOException, AutomationException
getTimeAttributeName
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDistanceAttributeName(java.lang.String attributeName) throws java.io.IOException, AutomationException
setDistanceAttributeName
in interface INetworkTravelMode
attributeName
- The attributeName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDistanceAttributeName() throws java.io.IOException, AutomationException
getDistanceAttributeName
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRestrictionAttributeNamesByRef(IStringArray attributeNames) throws java.io.IOException, AutomationException
setRestrictionAttributeNamesByRef
in interface INetworkTravelMode
attributeNames
- A reference to a com.esri.arcgis.system.IStringArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IStringArray getRestrictionAttributeNames() throws java.io.IOException, AutomationException
getRestrictionAttributeNames
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setAttributeParameterValuesByRef(IArray attributeParameterValues) throws java.io.IOException, AutomationException
setAttributeParameterValuesByRef
in interface INetworkTravelMode
attributeParameterValues
- A reference to a com.esri.arcgis.system.IArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IArray getAttributeParameterValues() throws java.io.IOException, AutomationException
getAttributeParameterValues
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setUseHierarchy(boolean useHierarchy) throws java.io.IOException, AutomationException
setUseHierarchy
in interface INetworkTravelMode
useHierarchy
- The useHierarchy (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isUseHierarchy() throws java.io.IOException, AutomationException
isUseHierarchy
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setRestrictUTurns(int backtrack) throws java.io.IOException, AutomationException
setRestrictUTurns
in interface INetworkTravelMode
backtrack
- A com.esri.arcgis.geodatabase.esriNetworkForwardStarBacktrack constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getRestrictUTurns() throws java.io.IOException, AutomationException
getRestrictUTurns
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setOutputGeometryPrecision(java.lang.Object precision) throws java.io.IOException, AutomationException
setOutputGeometryPrecision
in interface INetworkTravelMode
precision
- A Variant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.Object getOutputGeometryPrecision() throws java.io.IOException, AutomationException
getOutputGeometryPrecision
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setOutputGeometryPrecisionUnits(int units) throws java.io.IOException, AutomationException
setOutputGeometryPrecisionUnits
in interface INetworkTravelMode
units
- A com.esri.arcgis.system.esriUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getOutputGeometryPrecisionUnits() throws java.io.IOException, AutomationException
getOutputGeometryPrecisionUnits
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void writeToJSON(java.lang.String[] jsonValue) throws java.io.IOException, AutomationException
writeToJSON
in interface INetworkTravelMode
jsonValue
- The jsonValue (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void readFromJSON(java.lang.String jsonValue) throws java.io.IOException, AutomationException
readFromJSON
in interface INetworkTravelMode
jsonValue
- The jsonValue (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setType(java.lang.String type) throws java.io.IOException, AutomationException
setType
in interface INetworkTravelMode
type
- The type (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getType() throws java.io.IOException, AutomationException
getType
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDescription(java.lang.String description) throws java.io.IOException, AutomationException
setDescription
in interface INetworkTravelMode
description
- The description (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getDescription() throws java.io.IOException, AutomationException
getDescription
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getDomainType() throws java.io.IOException, AutomationException
getDomainType
in interface INetworkTravelMode
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.