com.esri.arcgis.networkanalyst
Interface INAContextEdit

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
INAContextEditProxy, NAContext

public interface INAContextEdit
extends java.io.Serializable

COM Interface 'INAContextEdit'. Generated 3/19/2015 1:20:59 PM from 'C:\ArcGIS\COM\esriNetworkAnalyst.olb'

Description: 'Provides access to the editable properties of a network analysis context.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID83fb4cbe_4f5c_451e_89ba_db9f01244f4f
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void abortEditOperation()
          Cancels an edit operation in progress.
 void bind(INetworkDataset pNetworkDataset, IGPMessages pGPMessages)
          Prepare the context for analysis based upon the current network dataset schema.
 void clearInputNAObjects()
          Empty NAClasses that are defined as input or input/output.
 void clearOutputNAObjects()
          Empty NAClasses that are defined as output only.
 void contextChanged()
          Message all of the network analysis agents that the analysis context has changed.
 INAClass createAnalysisClass(INAClassDefinition classDef)
          Create a new analysis class based upon the given class definition.
 boolean hasRedos()
          Indicates if any redo operations are available.
 boolean hasUndos()
          Indicates if any undo operations are available.
 void initialize(java.lang.String name, IDENetworkDataset network)
          Prepare the context for analysis.
 boolean isBeingEdited()
          Indicates if the class is currently being edited.
 void redoEditOperation()
          Repeats the last edit operation.
 void resultChanged()
          Message all of the network analysis agents that the analysis results have changed.
 void setLocatorByRef(INALocator rhs1)
          The locator used for finding network locations.
 void setResultByRef(INAResult rhs1)
          The result of the analysis.
 void setSolverByRef(INASolver rhs1)
          The function used for the analysis.
 void startEditing(boolean withUndoRedo)
          Starts an edit session.
 void startEditOperation()
          Starts an edit operation.
 void stopEditing(boolean saveEdits)
          Stops an edit session.
 void stopEditOperation()
          Stops an edit operation.
 void undoEditOperation()
          Cancels the last edit operation and returns to the state before it was started.
 

Field Detail

IID83fb4cbe_4f5c_451e_89ba_db9f01244f4f

static final int IID83fb4cbe_4f5c_451e_89ba_db9f01244f4f
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

setResultByRef

void setResultByRef(INAResult rhs1)
                    throws java.io.IOException,
                           AutomationException
The result of the analysis.

Parameters:
rhs1 - A reference to a com.esri.arcgis.networkanalyst.INAResult (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSolverByRef

void setSolverByRef(INASolver rhs1)
                    throws java.io.IOException,
                           AutomationException
The function used for the analysis.

Parameters:
rhs1 - A reference to a com.esri.arcgis.networkanalyst.INASolver (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLocatorByRef

void setLocatorByRef(INALocator rhs1)
                     throws java.io.IOException,
                            AutomationException
The locator used for finding network locations.

Parameters:
rhs1 - A reference to a com.esri.arcgis.networkanalyst.INALocator (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

initialize

void initialize(java.lang.String name,
                IDENetworkDataset network)
                throws java.io.IOException,
                       AutomationException
Prepare the context for analysis.

Parameters:
name - The name (in)
network - A reference to a com.esri.arcgis.geodatabase.IDENetworkDataset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

bind

void bind(INetworkDataset pNetworkDataset,
          IGPMessages pGPMessages)
          throws java.io.IOException,
                 AutomationException
Prepare the context for analysis based upon the current network dataset schema.

Parameters:
pNetworkDataset - A reference to a com.esri.arcgis.geodatabase.INetworkDataset (in)
pGPMessages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearInputNAObjects

void clearInputNAObjects()
                         throws java.io.IOException,
                                AutomationException
Empty NAClasses that are defined as input or input/output.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clearOutputNAObjects

void clearOutputNAObjects()
                          throws java.io.IOException,
                                 AutomationException
Empty NAClasses that are defined as output only.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contextChanged

void contextChanged()
                    throws java.io.IOException,
                           AutomationException
Message all of the network analysis agents that the analysis context has changed.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

resultChanged

void resultChanged()
                   throws java.io.IOException,
                          AutomationException
Message all of the network analysis agents that the analysis results have changed.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createAnalysisClass

INAClass createAnalysisClass(INAClassDefinition classDef)
                             throws java.io.IOException,
                                    AutomationException
Create a new analysis class based upon the given class definition.

Parameters:
classDef - A reference to a com.esri.arcgis.networkanalyst.INAClassDefinition (in)
Returns:
A reference to a com.esri.arcgis.networkanalyst.INAClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startEditing

void startEditing(boolean withUndoRedo)
                  throws java.io.IOException,
                         AutomationException
Starts an edit session.

Parameters:
withUndoRedo - The withUndoRedo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopEditing

void stopEditing(boolean saveEdits)
                 throws java.io.IOException,
                        AutomationException
Stops an edit session.

Parameters:
saveEdits - The saveEdits (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

startEditOperation

void startEditOperation()
                        throws java.io.IOException,
                               AutomationException
Starts an edit operation.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stopEditOperation

void stopEditOperation()
                       throws java.io.IOException,
                              AutomationException
Stops an edit operation.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

abortEditOperation

void abortEditOperation()
                        throws java.io.IOException,
                               AutomationException
Cancels an edit operation in progress.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

undoEditOperation

void undoEditOperation()
                       throws java.io.IOException,
                              AutomationException
Cancels the last edit operation and returns to the state before it was started.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

redoEditOperation

void redoEditOperation()
                       throws java.io.IOException,
                              AutomationException
Repeats the last edit operation.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasRedos

boolean hasRedos()
                 throws java.io.IOException,
                        AutomationException
Indicates if any redo operations are available.

Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasUndos

boolean hasUndos()
                 throws java.io.IOException,
                        AutomationException
Indicates if any undo operations are available.

Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isBeingEdited

boolean isBeingEdited()
                      throws java.io.IOException,
                             AutomationException
Indicates if the class is currently being edited.

Returns:
The flag
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.