com.esri.arcgis.geoprocessing
Class MdProcess

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.MdProcess
All Implemented Interfaces:
IGPToolboxEvents, IMdElement, IMdProcess, com.esri.arcgis.interop.RemoteObjRef, IClone, IPersist, IPersistStream, IXMLSerialize, java.io.Externalizable, java.io.Serializable, java.util.EventListener

public class MdProcess
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IClone, IMdElement, IMdProcess, IPersistStream, IXMLSerialize, IGPToolboxEvents, java.io.Externalizable

COM Class 'MdProcess'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description 'Model process object that represents a specific invokation of a particular geoprocessing tool.' 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
static long serialVersionUID
           
 
Fields inherited from interface com.esri.arcgis.system.IClone
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy
 
Fields inherited from interface com.esri.arcgis.geoprocessing.IMdElement
IID, IIDbf5adcdd_a477_4cd5_936a_62c939c6d46a, xxDummy
 
Fields inherited from interface com.esri.arcgis.geoprocessing.IMdProcess
IID, IID890d0dd1_0f70_4235_9d01_09de87ec949c, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersistStream
IID, IID00000109_0000_0000_c000_000000000046, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.IPersist
IID0000010c_0000_0000_c000_000000000046
 
Fields inherited from interface com.esri.arcgis.system.IXMLSerialize
IID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummy
 
Fields inherited from interface com.esri.arcgis.geoprocessing.IGPToolboxEvents
IID, IID8ec7e8d8_749a_4e24_b539_0371d8266ee0, xxDummy
 
Constructor Summary
MdProcess()
          Constructs a MdProcess using ArcGIS Engine.
MdProcess(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MdProcess theMdProcess = (MdProcess) obj;
 
Method Summary
 void assign(IClone src)
          Assigns the properties of src to the receiver.
 void deserialize(IXMLSerializeData data)
          Deserializes an object from XML.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IClone esri_clone()
          Clones the receiver and assigns the result to *clone.
 void execute(ITrackCancel trackCancel, IGPEnvironmentManager pEnvMgr, IGPMessages messages)
          Executes the current tool associated with the process using the current parameter values.
 void getClassID(GUID[] pClassID)
          getClassID
static java.lang.String getClsid()
          getClsid.
 IEnumMdElement getDependents(int direction, int connectionType)
          Returns an enumeration of model elements that are dependent on the model element in the given direction and of the given connection type.
 IGPEnvironmentManager getEnvironmentManager()
          The set of overriding environment values used when validating/executing the process.
 int getID()
          Unique identifier of the model element.
 IArray getInputParameters()
          The collection of input parameter objects used when validating/executing the process.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IGPMessages getMessages()
          Returns the messages returned from the last call to Validate().
 IMdModel getModel()
          The model the model element is contained within.
 java.lang.String getName()
          Name of the model element.
 IArray getOutputParameters()
          The collection of output parameter objects used when validating/executing the process.
 IMdParameter getParameter(java.lang.String name)
          The parameter object with the specified name.
 IArray getParameters()
          The collection of parameter objects used when validating/executing the process.
 IGPValue getParameterValue(java.lang.String name)
          Returns the value of specified process parameter.
 IArray getPreconditions()
          Collection of variables that must be executed prior to executing the process.
 void getSizeMax(_ULARGE_INTEGER[] pcbSize)
          getSizeMax
 int getState()
          The state of the model element.
 IGPTool getTool()
          The tool object currently associated with the model process.
 IGPToolName getToolName()
          The tool name object of the tool currently associated with the model process.
 int hashCode()
          the hashcode for this object
 boolean isAltered()
          Indicates if the model element has been altered by the user.
 boolean isCurrent()
          Indicates if the model element is current (i.e., has been created).
 boolean isDependentOn(IMdElement pMdElement, int direction, int connectionType)
          Returns whether or not the model element is dependent on the given model element in the given direction of the given connection type.
 void isDirty()
          isDirty
 boolean isEqual(IClone other)
          Indicates if the receiver and other have the same properties.
 boolean isIdentical(IClone other)
          Indicates if the receiver and other are the same object.
 boolean isMarked()
          Indicates if the model element has been marked for validation/execution.
 boolean isToolValid()
          Returns whether or not the current tool associated with the process is valid.
 boolean isValid()
          Indicates if the model element is valid.
 void load(IStream pstm)
          load
 boolean needsRepair()
          Returns whether or not the current tool associated with the process needs to be repaired (e.g., the tool parameters have changed).
 void onToolAdded(IGPToolboxEventsOnToolAddedEvent theEvent)
          Called when a tool is added to the toolbox.
 void onToolboxDeleted(IGPToolboxEventsOnToolboxDeletedEvent theEvent)
          Called when the toolbox is deleted.
 void onToolboxRenamed(IGPToolboxEventsOnToolboxRenamedEvent theEvent)
          Called when the toolbox is renamed.
 void onToolDeleted(IGPToolboxEventsOnToolDeletedEvent theEvent)
          Called when a tool is deleted from the toolbox.
 void onToolStateChanged(IGPToolboxEventsOnToolStateChangedEvent theEvent)
          Called when a tool's state has changed.
 void onToolStored(IGPToolboxEventsOnToolStoredEvent theEvent)
          Called when a tool is stored to the toolbox.
 void readExternal(java.io.ObjectInput in)
           
 void release()
          Release a MdProcess.
 void repairParameters()
          Updates/repairs the processes collection of parameters to match the tool currently associated with the process.
 void save(IStream pstm, int fClearDirty)
          save
 void serialize(IXMLSerializeData data)
          Serializes an object to XML.
 void setAltered(boolean altered)
          Indicates if the model element has been altered by the user.
 void setCurrent(boolean current)
          Indicates if the model element is current (i.e., has been created).
 void setEnvironmentManagerByRef(IGPEnvironmentManager ppEnvMgr)
          The set of overriding environment values used when validating/executing the process.
 void setID(int identifier)
          Unique identifier of the model element.
 void setMarked(boolean marked)
          Indicates if the model element has been marked for validation/execution.
 void setModelByRef(IMdModel model)
          The model the model element is contained within.
 void setName(java.lang.String name)
          Name of the model element.
 void setParameterValue(java.lang.String name, IGPValue value)
          Sets the value of specified process parameter.
 void setPreconditionsByRef(IArray ppValues)
          Collection of variables that must be executed prior to executing the process.
 void setToolByRef(IGPTool tool)
          The tool object currently associated with the model process.
 void setValid(boolean valid)
          Indicates if the model element is valid.
 IGPMessages validate(boolean updateValues, IGPEnvironmentManager pEnvMgr)
          Validates the model element.
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

MdProcess

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

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

MdProcess

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

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

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 MdProcess.

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

esri_clone

public IClone esri_clone()
                  throws java.io.IOException,
                         AutomationException
Clones the receiver and assigns the result to *clone.

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

assign

public void assign(IClone src)
            throws java.io.IOException,
                   AutomationException
Assigns the properties of src to the receiver.

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

isEqual

public boolean isEqual(IClone other)
                throws java.io.IOException,
                       AutomationException
Indicates if the receiver and other have the same properties.

Specified by:
isEqual in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The equal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isIdentical

public boolean isIdentical(IClone other)
                    throws java.io.IOException,
                           AutomationException
Indicates if the receiver and other are the same object.

Specified by:
isIdentical in interface IClone
Parameters:
other - A reference to a com.esri.arcgis.system.IClone (in)
Returns:
The identical
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 the model element.

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

setID

public void setID(int identifier)
           throws java.io.IOException,
                  AutomationException
Unique identifier of the model element.

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

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
Name of the model element.

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

setName

public void setName(java.lang.String name)
             throws java.io.IOException,
                    AutomationException
Name of the model element.

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

isMarked

public boolean isMarked()
                 throws java.io.IOException,
                        AutomationException
Indicates if the model element has been marked for validation/execution.

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

setMarked

public void setMarked(boolean marked)
               throws java.io.IOException,
                      AutomationException
Indicates if the model element has been marked for validation/execution.

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

isCurrent

public boolean isCurrent()
                  throws java.io.IOException,
                         AutomationException
Indicates if the model element is current (i.e., has been created).

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

setCurrent

public void setCurrent(boolean current)
                throws java.io.IOException,
                       AutomationException
Indicates if the model element is current (i.e., has been created).

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

isValid

public boolean isValid()
                throws java.io.IOException,
                       AutomationException
Indicates if the model element is valid.

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

setValid

public void setValid(boolean valid)
              throws java.io.IOException,
                     AutomationException
Indicates if the model element is valid.

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

getModel

public IMdModel getModel()
                  throws java.io.IOException,
                         AutomationException
The model the model element is contained within.

Specified by:
getModel in interface IMdElement
Returns:
A reference to a com.esri.arcgis.geoprocessing.IMdModel
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setModelByRef

public void setModelByRef(IMdModel model)
                   throws java.io.IOException,
                          AutomationException
The model the model element is contained within.

Specified by:
setModelByRef in interface IMdElement
Parameters:
model - A reference to a com.esri.arcgis.geoprocessing.IMdModel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getState

public int getState()
             throws java.io.IOException,
                    AutomationException
The state of the model element.

Specified by:
getState in interface IMdElement
Returns:
A com.esri.arcgis.geoprocessing.esriMdElementState constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDependents

public IEnumMdElement getDependents(int direction,
                                    int connectionType)
                             throws java.io.IOException,
                                    AutomationException
Returns an enumeration of model elements that are dependent on the model element in the given direction and of the given connection type.

Specified by:
getDependents in interface IMdElement
Parameters:
direction - A com.esri.arcgis.geoprocessing.esriMdDirection constant (in)
connectionType - A com.esri.arcgis.geoprocessing.esriMdConnectionType constant (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IEnumMdElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDependentOn

public boolean isDependentOn(IMdElement pMdElement,
                             int direction,
                             int connectionType)
                      throws java.io.IOException,
                             AutomationException
Returns whether or not the model element is dependent on the given model element in the given direction of the given connection type.

Specified by:
isDependentOn in interface IMdElement
Parameters:
pMdElement - A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
direction - A com.esri.arcgis.geoprocessing.esriMdDirection constant (in)
connectionType - A com.esri.arcgis.geoprocessing.esriMdConnectionType constant (in)
Returns:
The pDependentOn
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

validate

public IGPMessages validate(boolean updateValues,
                            IGPEnvironmentManager pEnvMgr)
                     throws java.io.IOException,
                            AutomationException
Validates the model element.

Specified by:
validate in interface IMdElement
Parameters:
updateValues - The updateValues (in)
pEnvMgr - A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPMessages
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMessages

public IGPMessages getMessages()
                        throws java.io.IOException,
                               AutomationException
Returns the messages returned from the last call to Validate().

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

isAltered

public boolean isAltered()
                  throws java.io.IOException,
                         AutomationException
Indicates if the model element has been altered by the user.

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

setAltered

public void setAltered(boolean altered)
                throws java.io.IOException,
                       AutomationException
Indicates if the model element has been altered by the user.

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

getToolName

public IGPToolName getToolName()
                        throws java.io.IOException,
                               AutomationException
The tool name object of the tool currently associated with the model process.

Specified by:
getToolName in interface IMdProcess
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPToolName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTool

public IGPTool getTool()
                throws java.io.IOException,
                       AutomationException
The tool object currently associated with the model process.

Specified by:
getTool in interface IMdProcess
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPTool
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToolByRef

public void setToolByRef(IGPTool tool)
                  throws java.io.IOException,
                         AutomationException
The tool object currently associated with the model process.

Specified by:
setToolByRef in interface IMdProcess
Parameters:
tool - A reference to a com.esri.arcgis.geoprocessing.IGPTool (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
The collection of parameter objects used when validating/executing the process.

Specified by:
getParameters in interface IMdProcess
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.

getInputParameters

public IArray getInputParameters()
                          throws java.io.IOException,
                                 AutomationException
The collection of input parameter objects used when validating/executing the process.

Specified by:
getInputParameters in interface IMdProcess
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.

getOutputParameters

public IArray getOutputParameters()
                           throws java.io.IOException,
                                  AutomationException
The collection of output parameter objects used when validating/executing the process.

Specified by:
getOutputParameters in interface IMdProcess
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.

getParameter

public IMdParameter getParameter(java.lang.String name)
                          throws java.io.IOException,
                                 AutomationException
The parameter object with the specified name.

Specified by:
getParameter in interface IMdProcess
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IMdParameter
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnvironmentManager

public IGPEnvironmentManager getEnvironmentManager()
                                            throws java.io.IOException,
                                                   AutomationException
The set of overriding environment values used when validating/executing the process.

Specified by:
getEnvironmentManager in interface IMdProcess
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setEnvironmentManagerByRef

public void setEnvironmentManagerByRef(IGPEnvironmentManager ppEnvMgr)
                                throws java.io.IOException,
                                       AutomationException
The set of overriding environment values used when validating/executing the process.

Specified by:
setEnvironmentManagerByRef in interface IMdProcess
Parameters:
ppEnvMgr - A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setParameterValue

public void setParameterValue(java.lang.String name,
                              IGPValue value)
                       throws java.io.IOException,
                              AutomationException
Sets the value of specified process parameter.

Specified by:
setParameterValue in interface IMdProcess
Parameters:
name - The name (in)
value - A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getParameterValue

public IGPValue getParameterValue(java.lang.String name)
                           throws java.io.IOException,
                                  AutomationException
Returns the value of specified process parameter.

Specified by:
getParameterValue in interface IMdProcess
Parameters:
name - The name (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGPValue
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

execute

public void execute(ITrackCancel trackCancel,
                    IGPEnvironmentManager pEnvMgr,
                    IGPMessages messages)
             throws java.io.IOException,
                    AutomationException
Executes the current tool associated with the process using the current parameter values.

Specified by:
execute in interface IMdProcess
Parameters:
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
pEnvMgr - A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
messages - 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.

isToolValid

public boolean isToolValid()
                    throws java.io.IOException,
                           AutomationException
Returns whether or not the current tool associated with the process is valid.

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

needsRepair

public boolean needsRepair()
                    throws java.io.IOException,
                           AutomationException
Returns whether or not the current tool associated with the process needs to be repaired (e.g., the tool parameters have changed).

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

repairParameters

public void repairParameters()
                      throws java.io.IOException,
                             AutomationException
Updates/repairs the processes collection of parameters to match the tool currently associated with the process.

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

getPreconditions

public IArray getPreconditions()
                        throws java.io.IOException,
                               AutomationException
Collection of variables that must be executed prior to executing the process.

Specified by:
getPreconditions in interface IMdProcess
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.

setPreconditionsByRef

public void setPreconditionsByRef(IArray ppValues)
                           throws java.io.IOException,
                                  AutomationException
Collection of variables that must be executed prior to executing the process.

Specified by:
setPreconditionsByRef in interface IMdProcess
Parameters:
ppValues - 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.

isDirty

public void isDirty()
             throws java.io.IOException,
                    AutomationException
isDirty

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

load

public void load(IStream pstm)
          throws java.io.IOException,
                 AutomationException
load

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

save

public void save(IStream pstm,
                 int fClearDirty)
          throws java.io.IOException,
                 AutomationException
save

Specified by:
save in interface IPersistStream
Parameters:
pstm - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSizeMax

public void getSizeMax(_ULARGE_INTEGER[] pcbSize)
                throws java.io.IOException,
                       AutomationException
getSizeMax

Specified by:
getSizeMax in interface IPersistStream
Parameters:
pcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getClassID

public void getClassID(GUID[] pClassID)
                throws java.io.IOException,
                       AutomationException
getClassID

Specified by:
getClassID in interface IPersist
Parameters:
pClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

serialize

public void serialize(IXMLSerializeData data)
               throws java.io.IOException,
                      AutomationException
Serializes an object to XML.

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

deserialize

public void deserialize(IXMLSerializeData data)
                 throws java.io.IOException,
                        AutomationException
Deserializes an object from XML.

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

onToolboxDeleted

public void onToolboxDeleted(IGPToolboxEventsOnToolboxDeletedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Called when the toolbox is deleted.

Specified by:
onToolboxDeleted in interface IGPToolboxEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onToolboxRenamed

public void onToolboxRenamed(IGPToolboxEventsOnToolboxRenamedEvent theEvent)
                      throws java.io.IOException,
                             AutomationException
Called when the toolbox is renamed.

Specified by:
onToolboxRenamed in interface IGPToolboxEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onToolAdded

public void onToolAdded(IGPToolboxEventsOnToolAddedEvent theEvent)
                 throws java.io.IOException,
                        AutomationException
Called when a tool is added to the toolbox.

Specified by:
onToolAdded in interface IGPToolboxEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onToolDeleted

public void onToolDeleted(IGPToolboxEventsOnToolDeletedEvent theEvent)
                   throws java.io.IOException,
                          AutomationException
Called when a tool is deleted from the toolbox.

Specified by:
onToolDeleted in interface IGPToolboxEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onToolStored

public void onToolStored(IGPToolboxEventsOnToolStoredEvent theEvent)
                  throws java.io.IOException,
                         AutomationException
Called when a tool is stored to the toolbox.

Specified by:
onToolStored in interface IGPToolboxEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

onToolStateChanged

public void onToolStateChanged(IGPToolboxEventsOnToolStateChangedEvent theEvent)
                        throws java.io.IOException,
                               AutomationException
Called when a tool's state has changed.

Specified by:
onToolStateChanged in interface IGPToolboxEvents
Parameters:
theEvent - The event
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException