com.esri.arcgis.catalogUI
Class EditEvaluatorContext

java.lang.Object
  extended by com.esri.arcgis.catalogUI.EditEvaluatorContext
All Implemented Interfaces:
IEditEvaluatorContext, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class EditEvaluatorContext
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IEditEvaluatorContext

The edit evaluator context.

Remarks

The EditEvaluatorsContext object contains the current state of a single line-item entry on ArcCatalog's Evaluators dialog, such as for which NetworkSource does this evaluator apply.

This object is used by the EvaluatorEditors to access the state of an item on the Evaluators dialog. The EditEvaluatorsContext object is accessed from the AttributeEditContext object by calling IAttributeEditContext::EditEvaluatorContext.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.catalogUI.IEditEvaluatorContext
IID, IID01efc9b9_2277_4f01_9b24_1af85b678bc2, xxDummy
 
Constructor Summary
EditEvaluatorContext(Object obj)
          Construct a EditEvaluatorContext using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 INetworkSource esri_getSource()
          The evaluator network source.
 int getDirectionType()
          The edge direction type.
 int getElementType()
          The evaluator element type.
 ITable getTable()
          The evaluator network source table.
 int hashCode()
          the hashcode for this object
 boolean isDefault()
          Indicates whether it is the default evaluator context.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

EditEvaluatorContext

public EditEvaluatorContext(Object obj)
                     throws IOException
Construct a EditEvaluatorContext using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to EditEvaluatorContext.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
EditEvaluatorContext o = (EditEvaluatorContext)obj; // will not work

EditEvaluatorContext o = new EditEvaluatorContext(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
IOException - if there are interop problems EditEvaluatorContext theEditEvaluatorContext = (EditEvaluatorContext) obj;
Method Detail

equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

getElementType

public int getElementType()
                   throws IOException,
                          AutomationException
The evaluator element type.

Specified by:
getElementType in interface IEditEvaluatorContext
Returns:
A com.esri.arcgis.geodatabase.esriNetworkElementType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDefault

public boolean isDefault()
                  throws IOException,
                         AutomationException
Indicates whether it is the default evaluator context.

Specified by:
isDefault in interface IEditEvaluatorContext
Returns:
The defaultMode
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDirectionType

public int getDirectionType()
                     throws IOException,
                            AutomationException
The edge direction type.

Specified by:
getDirectionType in interface IEditEvaluatorContext
Returns:
A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_getSource

public INetworkSource esri_getSource()
                              throws IOException,
                                     AutomationException
The evaluator network source.

Specified by:
esri_getSource in interface IEditEvaluatorContext
Returns:
A reference to a com.esri.arcgis.geodatabase.INetworkSource
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTable

public ITable getTable()
                throws IOException,
                       AutomationException
The evaluator network source table.

Specified by:
getTable in interface IEditEvaluatorContext
Returns:
A reference to a com.esri.arcgis.geodatabase.ITable
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.