public class EvaluatedNetworkAttribute extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, INetworkAttribute, IEvaluatedNetworkAttribute
Description 'A container for describing a network dataset attribute and its evaluators.' 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, IIDafb92f55_f7e1_4210_b44e_e118ac2d4d99, xxDummy
IIDae92a9b6_9c80_41b1_b84d_765f18b43625
Constructor and Description |
---|
EvaluatedNetworkAttribute()
Constructs a EvaluatedNetworkAttribute using ArcGIS Engine.
|
EvaluatedNetworkAttribute(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
EvaluatedNetworkAttribute theEvaluatedNetworkAttribute = (EvaluatedNetworkAttribute) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getDataType()
Type of data used in this network attribute.
|
INetworkEvaluator |
getDefaultEvaluator(int elementType)
Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.
|
IDENetworkDataset |
getDENetworkDataset()
Evaluator used to derive values from the given network source for this network attribute.
|
INetworkEvaluator |
getEvaluator(INetworkSource networkSource,
int direction)
Evaluator used to derive values from the given network source for this network attribute.
|
int |
getID()
Unique identifier of this network attribute.
|
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()
Name of this network attribute.
|
IArray |
getParameters()
Array of parameters for this network attribute.
|
int |
getUnits()
Units of this network attribute.
|
int |
getUsageType()
Usage type of this network attribute.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isTimeAware(int elementType)
Indicates if the network attribute is time aware.
|
boolean |
isUseByDefault()
Indicates if this network attribute is to be used by default.
|
void |
refresh()
Refresh the network evaluators assigned to this network attribute.
|
void |
release()
Release this COM object reference
|
void |
setDataType(int dataType)
Type of data used in this network attribute.
|
void |
setDefaultEvaluatorByRef(int elementType,
INetworkEvaluator evaluator)
Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.
|
void |
setEvaluatorByRef(INetworkSource networkSource,
int direction,
INetworkEvaluator evaluator)
Evaluator used to derive values from the given network source for this network attribute.
|
void |
setName(java.lang.String attributeName)
Name of this network attribute.
|
void |
setParametersByRef(IArray parameters)
Array of parameters for this network attribute.
|
void |
setUnits(int units)
Units of this network attribute.
|
void |
setUsageType(int usageType)
Usage type of this network attribute.
|
void |
setUseByDefault(boolean useByDefault)
Indicates if this network attribute is to be used by default.
|
public EvaluatedNetworkAttribute() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic EvaluatedNetworkAttribute(java.lang.Object obj) throws java.io.IOException
EvaluatedNetworkAttribute theEvaluatedNetworkAttribute = (EvaluatedNetworkAttribute) obj;
obj
to EvaluatedNetworkAttribute
.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 java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface INetworkAttribute
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String attributeName) throws java.io.IOException, AutomationException
setName
in interface INetworkAttribute
attributeName
- The attributeName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getID() throws java.io.IOException, AutomationException
getID
in interface INetworkAttribute
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getDataType() throws java.io.IOException, AutomationException
getDataType
in interface INetworkAttribute
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDataType(int dataType) throws java.io.IOException, AutomationException
setDataType
in interface INetworkAttribute
dataType
- A com.esri.arcgis.geodatabase.esriNetworkAttributeDataType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getUsageType() throws java.io.IOException, AutomationException
getUsageType
in interface INetworkAttribute
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setUsageType(int usageType) throws java.io.IOException, AutomationException
setUsageType
in interface INetworkAttribute
usageType
- A com.esri.arcgis.geodatabase.esriNetworkAttributeUsageType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getUnits() throws java.io.IOException, AutomationException
getUnits
in interface INetworkAttribute
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setUnits(int units) throws java.io.IOException, AutomationException
setUnits
in interface INetworkAttribute
units
- A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IArray getParameters() throws java.io.IOException, AutomationException
getParameters
in interface INetworkAttribute
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setParametersByRef(IArray parameters) throws java.io.IOException, AutomationException
setParametersByRef
in interface INetworkAttribute
parameters
- 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 void refresh() throws java.io.IOException, AutomationException
refresh
in interface INetworkAttribute
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isUseByDefault() throws java.io.IOException, AutomationException
isUseByDefault
in interface INetworkAttribute
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setUseByDefault(boolean useByDefault) throws java.io.IOException, AutomationException
setUseByDefault
in interface INetworkAttribute
useByDefault
- The useByDefault (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isTimeAware(int elementType) throws java.io.IOException, AutomationException
isTimeAware
in interface INetworkAttribute
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setDefaultEvaluatorByRef(int elementType, INetworkEvaluator evaluator) throws java.io.IOException, AutomationException
setDefaultEvaluatorByRef
in interface IEvaluatedNetworkAttribute
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)evaluator
- A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public INetworkEvaluator getDefaultEvaluator(int elementType) throws java.io.IOException, AutomationException
getDefaultEvaluator
in interface IEvaluatedNetworkAttribute
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void setEvaluatorByRef(INetworkSource networkSource, int direction, INetworkEvaluator evaluator) throws java.io.IOException, AutomationException
setEvaluatorByRef
in interface IEvaluatedNetworkAttribute
networkSource
- A reference to a com.esri.arcgis.geodatabase.INetworkSource (in)direction
- A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)evaluator
- A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public INetworkEvaluator getEvaluator(INetworkSource networkSource, int direction) throws java.io.IOException, AutomationException
getEvaluator
in interface IEvaluatedNetworkAttribute
networkSource
- A reference to a com.esri.arcgis.geodatabase.INetworkSource (in)direction
- A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IDENetworkDataset getDENetworkDataset() throws java.io.IOException, AutomationException
getDENetworkDataset
in interface IEvaluatedNetworkAttribute
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.