|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.MdProcess
public class MdProcess
Model process object that represents a specific invokation of a particular geoprocessing tool.
Constructor Summary | |
---|---|
MdProcess()
Constructs a MdProcess using ArcGIS Engine. |
|
MdProcess(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(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 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. |
IGPMessages |
getMessages()
Returns the messages returned from the last call to Validate(). |
IMdModel |
getModel()
The model the model element is contained within. |
String |
getName()
Name of the model element. |
IArray |
getOutputParameters()
The collection of output parameter objects used when validating/executing the process. |
IMdParameter |
getParameter(String name)
The parameter object with the specified name. |
IArray |
getParameters()
The collection of parameter objects used when validating/executing the process. |
IGPValue |
getParameterValue(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(ObjectInput in)
|
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(String name)
Name of the model element. |
void |
setParameterValue(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(ObjectOutput out)
|
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 |
---|
public MdProcess() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic MdProcess(Object obj) throws IOException
MdProcess theMdProcess = (MdProcess) obj;
obj
to MdProcess
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public IClone esri_clone() throws IOException, AutomationException
esri_clone
in interface IClone
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws IOException, AutomationException
IsEqual returns True if the receiver and the source have the same properties. Note, this does not imply that the receiver and the source reference the same object.
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws IOException, AutomationException
IsIdentical returns true if the receiver and the source reference the same object.
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getID() throws IOException, AutomationException
getID
in interface IMdElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setID(int identifier) throws IOException, AutomationException
setID
in interface IMdElement
identifier
- The identifier (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IMdElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface IMdElement
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isMarked() throws IOException, AutomationException
isMarked
in interface IMdElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMarked(boolean marked) throws IOException, AutomationException
setMarked
in interface IMdElement
marked
- The marked (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCurrent() throws IOException, AutomationException
isCurrent
in interface IMdElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCurrent(boolean current) throws IOException, AutomationException
setCurrent
in interface IMdElement
current
- The current (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws IOException, AutomationException
isValid
in interface IMdElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValid(boolean valid) throws IOException, AutomationException
setValid
in interface IMdElement
valid
- The valid (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMdModel getModel() throws IOException, AutomationException
getModel
in interface IMdElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setModelByRef(IMdModel model) throws IOException, AutomationException
setModelByRef
in interface IMdElement
model
- A reference to a com.esri.arcgis.geoprocessing.IMdModel (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getState() throws IOException, AutomationException
getState
in interface IMdElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumMdElement getDependents(int direction, int connectionType) throws IOException, AutomationException
getDependents
in interface IMdElement
direction
- A com.esri.arcgis.geoprocessing.esriMdDirection constant (in)connectionType
- A com.esri.arcgis.geoprocessing.esriMdConnectionType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isDependentOn(IMdElement pMdElement, int direction, int connectionType) throws IOException, AutomationException
isDependentOn
in interface IMdElement
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPMessages validate(boolean updateValues, IGPEnvironmentManager pEnvMgr) throws IOException, AutomationException
validate
in interface IMdElement
updateValues
- The updateValues (in)pEnvMgr
- A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPMessages getMessages() throws IOException, AutomationException
getMessages
in interface IMdElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAltered() throws IOException, AutomationException
isAltered
in interface IMdElement
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAltered(boolean altered) throws IOException, AutomationException
setAltered
in interface IMdElement
altered
- The altered (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPToolName getToolName() throws IOException, AutomationException
getToolName
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPTool getTool() throws IOException, AutomationException
getTool
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setToolByRef(IGPTool tool) throws IOException, AutomationException
setToolByRef
in interface IMdProcess
tool
- A reference to a com.esri.arcgis.geoprocessing.IGPTool (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getParameters() throws IOException, AutomationException
getParameters
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getInputParameters() throws IOException, AutomationException
getInputParameters
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getOutputParameters() throws IOException, AutomationException
getOutputParameters
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMdParameter getParameter(String name) throws IOException, AutomationException
getParameter
in interface IMdProcess
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPEnvironmentManager getEnvironmentManager() throws IOException, AutomationException
getEnvironmentManager
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnvironmentManagerByRef(IGPEnvironmentManager ppEnvMgr) throws IOException, AutomationException
setEnvironmentManagerByRef
in interface IMdProcess
ppEnvMgr
- A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setParameterValue(String name, IGPValue value) throws IOException, AutomationException
setParameterValue
in interface IMdProcess
name
- The name (in)value
- A reference to a com.esri.arcgis.geodatabase.IGPValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPValue getParameterValue(String name) throws IOException, AutomationException
getParameterValue
in interface IMdProcess
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void execute(ITrackCancel trackCancel, IGPEnvironmentManager pEnvMgr, IGPMessages messages) throws IOException, AutomationException
execute
in interface IMdProcess
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isToolValid() throws IOException, AutomationException
isToolValid
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean needsRepair() throws IOException, AutomationException
needsRepair
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void repairParameters() throws IOException, AutomationException
repairParameters
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IArray getPreconditions() throws IOException, AutomationException
getPreconditions
in interface IMdProcess
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPreconditionsByRef(IArray ppValues) throws IOException, AutomationException
setPreconditionsByRef
in interface IMdProcess
ppValues
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
isDirty
in interface IPersistStream
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws IOException, AutomationException
IPersistStream is a Microsoft interface. Please refer to MSDN for information about this interface.
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws IOException, AutomationException
IPersist is a Microsoft interface. Please refer to MSDN for information about this interface.
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onToolboxDeleted(IGPToolboxEventsOnToolboxDeletedEvent theEvent) throws IOException, AutomationException
onToolboxDeleted
in interface IGPToolboxEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onToolboxRenamed(IGPToolboxEventsOnToolboxRenamedEvent theEvent) throws IOException, AutomationException
onToolboxRenamed
in interface IGPToolboxEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onToolAdded(IGPToolboxEventsOnToolAddedEvent theEvent) throws IOException, AutomationException
onToolAdded
in interface IGPToolboxEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onToolDeleted(IGPToolboxEventsOnToolDeletedEvent theEvent) throws IOException, AutomationException
onToolDeleted
in interface IGPToolboxEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onToolStored(IGPToolboxEventsOnToolStoredEvent theEvent) throws IOException, AutomationException
onToolStored
in interface IGPToolboxEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void onToolStateChanged(IGPToolboxEventsOnToolStateChangedEvent theEvent) throws IOException, AutomationException
onToolStateChanged
in interface IGPToolboxEvents
theEvent
- The event
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |