com.esri.arcgis.geodatabase
Class EvaluatedNetworkAttribute

java.lang.Object
  extended by com.esri.arcgis.geodatabase.EvaluatedNetworkAttribute
All Implemented Interfaces:
IEvaluatedNetworkAttribute, IEvaluatedNetworkAttribute2, INetworkAttribute, INetworkAttribute2, INetworkAttribute3, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class EvaluatedNetworkAttribute
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, INetworkAttribute, INetworkAttribute2, INetworkAttribute3, IEvaluatedNetworkAttribute, IEvaluatedNetworkAttribute2

COM Class 'EvaluatedNetworkAttribute'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

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 =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkAttribute3
IID, IID64c3d5a7_7c12_4290_b458_15d8c76cd688, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.INetworkAttribute2
IID18793a18_1432_4b6e_adfc_63470d92223f
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEvaluatedNetworkAttribute2
IID, IIDb330f518_d166_42b9_a7ea_015cf104c41d, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEvaluatedNetworkAttribute
IIDafb92f55_f7e1_4210_b44e_e118ac2d4d99
 
Constructor Summary
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;
 
Method Summary
 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()
          Deprecated. Internal use only.
 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 a EvaluatedNetworkAttribute.
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluatedNetworkAttribute

public EvaluatedNetworkAttribute()
                          throws java.io.IOException,
                                 java.net.UnknownHostException
Constructs a EvaluatedNetworkAttribute using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

EvaluatedNetworkAttribute

public EvaluatedNetworkAttribute(java.lang.Object obj)
                          throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
EvaluatedNetworkAttribute theEvaluatedNetworkAttribute = (EvaluatedNetworkAttribute) obj;

Construct a EvaluatedNetworkAttribute using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EvaluatedNetworkAttribute.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a EvaluatedNetworkAttribute.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of this network attribute.

Specified by:
getName in interface INetworkAttribute
Returns:
The attributeName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

public void setName(java.lang.String attributeName)
             throws java.io.IOException,
                    AutomationException
Name of this network attribute.

Specified by:
setName in interface INetworkAttribute
Parameters:
attributeName - The attributeName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getID

public int getID()
          throws java.io.IOException,
                 AutomationException
Unique identifier of this network attribute.

Specified by:
getID in interface INetworkAttribute
Returns:
The attributeID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDataType

public int getDataType()
                throws java.io.IOException,
                       AutomationException
Type of data used in this network attribute.

Specified by:
getDataType in interface INetworkAttribute
Returns:
A com.esri.arcgis.geodatabase.esriNetworkAttributeDataType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDataType

public void setDataType(int dataType)
                 throws java.io.IOException,
                        AutomationException
Type of data used in this network attribute.

Specified by:
setDataType in interface INetworkAttribute
Parameters:
dataType - A com.esri.arcgis.geodatabase.esriNetworkAttributeDataType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUsageType

public int getUsageType()
                 throws java.io.IOException,
                        AutomationException
Usage type of this network attribute.

Specified by:
getUsageType in interface INetworkAttribute
Returns:
A com.esri.arcgis.geodatabase.esriNetworkAttributeUsageType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUsageType

public void setUsageType(int usageType)
                  throws java.io.IOException,
                         AutomationException
Usage type of this network attribute.

Specified by:
setUsageType in interface INetworkAttribute
Parameters:
usageType - A com.esri.arcgis.geodatabase.esriNetworkAttributeUsageType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUnits

public int getUnits()
             throws java.io.IOException,
                    AutomationException
Units of this network attribute.

Specified by:
getUnits in interface INetworkAttribute
Returns:
A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUnits

public void setUnits(int units)
              throws java.io.IOException,
                     AutomationException
Units of this network attribute.

Specified by:
setUnits in interface INetworkAttribute
Parameters:
units - A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameters

public IArray getParameters()
                     throws java.io.IOException,
                            AutomationException
Array of parameters for this network attribute.

Specified by:
getParameters in interface INetworkAttribute2
Returns:
A reference to a com.esri.arcgis.system.IArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParametersByRef

public void setParametersByRef(IArray parameters)
                        throws java.io.IOException,
                               AutomationException
Array of parameters for this network attribute.

Specified by:
setParametersByRef in interface INetworkAttribute2
Parameters:
parameters - A reference to a com.esri.arcgis.system.IArray (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

refresh

public void refresh()
             throws java.io.IOException,
                    AutomationException
Refresh the network evaluators assigned to this network attribute.

Specified by:
refresh in interface INetworkAttribute2
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isUseByDefault

public boolean isUseByDefault()
                       throws java.io.IOException,
                              AutomationException
Indicates if this network attribute is to be used by default.

Specified by:
isUseByDefault in interface INetworkAttribute2
Returns:
The useByDefault
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUseByDefault

public void setUseByDefault(boolean useByDefault)
                     throws java.io.IOException,
                            AutomationException
Indicates if this network attribute is to be used by default.

Specified by:
setUseByDefault in interface INetworkAttribute2
Parameters:
useByDefault - The useByDefault (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isTimeAware

public boolean isTimeAware(int elementType)
                    throws java.io.IOException,
                           AutomationException
Indicates if the network attribute is time aware.

Specified by:
isTimeAware in interface INetworkAttribute3
Parameters:
elementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
Returns:
The isTimeAware
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultEvaluatorByRef

public void setDefaultEvaluatorByRef(int elementType,
                                     INetworkEvaluator evaluator)
                              throws java.io.IOException,
                                     AutomationException
Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.

Specified by:
setDefaultEvaluatorByRef in interface IEvaluatedNetworkAttribute
Parameters:
elementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
evaluator - A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultEvaluator

public INetworkEvaluator getDefaultEvaluator(int elementType)
                                      throws java.io.IOException,
                                             AutomationException
Evaluator used to derive attribute values for the given element type when an evaluator is not specified for a network element's source.

Specified by:
getDefaultEvaluator in interface IEvaluatedNetworkAttribute
Parameters:
elementType - A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEvaluatorByRef

public void setEvaluatorByRef(INetworkSource networkSource,
                              int direction,
                              INetworkEvaluator evaluator)
                       throws java.io.IOException,
                              AutomationException
Evaluator used to derive values from the given network source for this network attribute.

Specified by:
setEvaluatorByRef in interface IEvaluatedNetworkAttribute
Parameters:
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)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEvaluator

public INetworkEvaluator getEvaluator(INetworkSource networkSource,
                                      int direction)
                               throws java.io.IOException,
                                      AutomationException
Evaluator used to derive values from the given network source for this network attribute.

Specified by:
getEvaluator in interface IEvaluatedNetworkAttribute
Parameters:
networkSource - A reference to a com.esri.arcgis.geodatabase.INetworkSource (in)
direction - A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkEvaluator
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDENetworkDataset

public IDENetworkDataset getDENetworkDataset()
                                      throws java.io.IOException,
                                             AutomationException
Evaluator used to derive values from the given network source for this network attribute.

Specified by:
getDENetworkDataset in interface IEvaluatedNetworkAttribute2
Returns:
A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.