com.esri.arcgis.geoprocessing
Class IMdModelProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geoprocessing.IMdModelProxy
All Implemented Interfaces:
IMdModel, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'IMdModel'. Generated 3/19/2015 1:20:58 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'

Description: 'Provides access to properties/methods of a model.' 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 =

public class IMdModelProxy
extends com.esri.arcgis.interop.Dispatch
implements IMdModel, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.geoprocessing.IMdModel
IID, IIDdfaf9812_6b7b_4ac2_ad6b_bbdef1ede0e6
 
Constructor Summary
  IMdModelProxy()
          Deprecated. For internal use only
  IMdModelProxy(java.lang.Object obj)
          Deprecated.  
protected IMdModelProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  IMdModelProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected IMdModelProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addElement(IMdElement element)
          Deprecated. Adds the given element to the model.
 void addElements(IArray elements)
          Deprecated. Adds the collection of elements to the model.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 boolean canAddElement(IMdElement pElement)
          Deprecated. Returns whether or not the given model element can be added to the model.
 java.lang.String createUniqueElementName(java.lang.String name)
          Deprecated. Generates a new unique name that may be used for adding a new model element to the model.
 void deleteElement(IMdElement element)
          Deprecated. Removes the given element from the model.
 void disconnectElements(IMdElement pFromElement, IMdElement pToElement, int connectionType)
          Deprecated. Removes the connection/dependency between two model elements.
 void empty()
          Deprecated. Removes all model elements from the model.
 void execute(ITrackCancel trackCancel, boolean reset, IGPEnvironmentManager pEnvMgr, IGPMessages messages, boolean stopOnFirstFailure)
          Deprecated. Executes all the processes in the model.
 void executeProcess(IMdProcess pMdProcess, ITrackCancel trackCancel, boolean reset, IGPEnvironmentManager pEnvMgr, IGPMessages messages, boolean stopOnFirstFailure)
          Deprecated. Executes a single process in the model.
 IEnumMdElement findDependents(IMdElement pMdElement, int direction, int connectionType)
          Deprecated. Returns all the model elements dependent on the given model element in the given direction of the given connection type.
 IMdElement getElement(java.lang.String name)
          Deprecated. Returns the model element with the given name.
 IMdElement getElementByID(int identifier)
          Deprecated. Returns the model element with the given identifier.
 IEnumMdElement getElements()
          Deprecated. Returns all of the model elements in the model.
 IGPEnvironmentManager getEnvironmentManager()
          Deprecated. The set of overriding environment values used when validating/executing the model.
 java.lang.String getName()
          Deprecated. Name of the model.
 IEnumMdProcess getProcesses()
          Deprecated. Returns all of the processes in the model.
 IEnumMdVariable getVariables()
          Deprecated. Returns all of the variables in the model.
 boolean isLicensed()
          Deprecated. Returns whether or not all the processes in the model are licensed.
 boolean isValid()
          Deprecated. Returns whether or not all the model elements in the model are valid.
 void mergeElements(IEnumMdElement pElements)
          Deprecated. Merges the given enumeration of model elements, commonly from another model, into the current model.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void setEnvironmentManagerByRef(IGPEnvironmentManager ppEnvMgr)
          Deprecated. The set of overriding environment values used when validating/executing the model.
 void setName(java.lang.String name)
          Deprecated. Name of the model.
 IEnumMdElement sortElements()
          Deprecated. Returns all the model elements in the model in sorted order.
 IEnumMdElement traceDependents(IMdElement pMdElement, int direction, int depth)
          Deprecated. Returns all the model elements dependent on the given model element in the given direction.
 IGPMessages validate(boolean reset, IGPEnvironmentManager pEnvMgr)
          Deprecated. Validates all model elements in the model.
 boolean verifyUniqueElementName(java.lang.String name)
          Deprecated. Returns whether or not the model already contains a model element by the given name.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

IMdModelProxy

public IMdModelProxy(java.lang.String CLSID,
                     java.lang.String host,
                     com.esri.arcgis.interop.AuthInfo authInfo)
              throws java.net.UnknownHostException,
                     java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

IMdModelProxy

public IMdModelProxy()
Deprecated. 
For internal use only


IMdModelProxy

public IMdModelProxy(java.lang.Object obj)
              throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IMdModelProxy

protected IMdModelProxy(java.lang.Object obj,
                        java.lang.String iid)
                 throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

IMdModelProxy

protected IMdModelProxy(java.lang.String CLSID,
                        java.lang.String iid,
                        java.lang.String host,
                        com.esri.arcgis.interop.AuthInfo authInfo)
                 throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getName

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

Specified by:
getName in interface IMdModel
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
Deprecated. 
Name of the model.

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

addElement

public void addElement(IMdElement element)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Adds the given element to the model.

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

addElements

public void addElements(IArray elements)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Adds the collection of elements to the model.

Specified by:
addElements in interface IMdModel
Parameters:
elements - 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.

getElement

public IMdElement getElement(java.lang.String name)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Returns the model element with the given name.

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

getElementByID

public IMdElement getElementByID(int identifier)
                          throws java.io.IOException,
                                 AutomationException
Deprecated. 
Returns the model element with the given identifier.

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

getElements

public IEnumMdElement getElements()
                           throws java.io.IOException,
                                  AutomationException
Deprecated. 
Returns all of the model elements in the model.

Specified by:
getElements in interface IMdModel
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.

getVariables

public IEnumMdVariable getVariables()
                             throws java.io.IOException,
                                    AutomationException
Deprecated. 
Returns all of the variables in the model.

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

getProcesses

public IEnumMdProcess getProcesses()
                            throws java.io.IOException,
                                   AutomationException
Deprecated. 
Returns all of the processes in the model.

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

deleteElement

public void deleteElement(IMdElement element)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Removes the given element from the model.

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

empty

public void empty()
           throws java.io.IOException,
                  AutomationException
Deprecated. 
Removes all model elements from the model.

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

validate

public IGPMessages validate(boolean reset,
                            IGPEnvironmentManager pEnvMgr)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Validates all model elements in the model.

Specified by:
validate in interface IMdModel
Parameters:
reset - The reset (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.

execute

public void execute(ITrackCancel trackCancel,
                    boolean reset,
                    IGPEnvironmentManager pEnvMgr,
                    IGPMessages messages,
                    boolean stopOnFirstFailure)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Executes all the processes in the model.

Specified by:
execute in interface IMdModel
Parameters:
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
reset - The reset (in)
pEnvMgr - A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
messages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
stopOnFirstFailure - The stopOnFirstFailure (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

executeProcess

public void executeProcess(IMdProcess pMdProcess,
                           ITrackCancel trackCancel,
                           boolean reset,
                           IGPEnvironmentManager pEnvMgr,
                           IGPMessages messages,
                           boolean stopOnFirstFailure)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Executes a single process in the model.

Specified by:
executeProcess in interface IMdModel
Parameters:
pMdProcess - A reference to a com.esri.arcgis.geoprocessing.IMdProcess (in)
trackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
reset - The reset (in)
pEnvMgr - A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
messages - A reference to a com.esri.arcgis.geodatabase.IGPMessages (in)
stopOnFirstFailure - The stopOnFirstFailure (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sortElements

public IEnumMdElement sortElements()
                            throws java.io.IOException,
                                   AutomationException
Deprecated. 
Returns all the model elements in the model in sorted order.

Specified by:
sortElements in interface IMdModel
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.

traceDependents

public IEnumMdElement traceDependents(IMdElement pMdElement,
                                      int direction,
                                      int depth)
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
Returns all the model elements dependent on the given model element in the given direction.

Specified by:
traceDependents in interface IMdModel
Parameters:
pMdElement - A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
direction - A com.esri.arcgis.geoprocessing.esriMdDirection constant (in)
depth - The depth (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.

findDependents

public IEnumMdElement findDependents(IMdElement pMdElement,
                                     int direction,
                                     int connectionType)
                              throws java.io.IOException,
                                     AutomationException
Deprecated. 
Returns all the model elements dependent on the given model element in the given direction of the given connection type.

Specified by:
findDependents in interface IMdModel
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:
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.

mergeElements

public void mergeElements(IEnumMdElement pElements)
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Merges the given enumeration of model elements, commonly from another model, into the current model.

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

verifyUniqueElementName

public boolean verifyUniqueElementName(java.lang.String name)
                                throws java.io.IOException,
                                       AutomationException
Deprecated. 
Returns whether or not the model already contains a model element by the given name.

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

canAddElement

public boolean canAddElement(IMdElement pElement)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Returns whether or not the given model element can be added to the model.

Specified by:
canAddElement in interface IMdModel
Parameters:
pElement - A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
Returns:
The pCanAdd
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
Deprecated. 
The set of overriding environment values used when validating/executing the model.

Specified by:
getEnvironmentManager in interface IMdModel
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
Deprecated. 
The set of overriding environment values used when validating/executing the model.

Specified by:
setEnvironmentManagerByRef in interface IMdModel
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.

isValid

public boolean isValid()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Returns whether or not all the model elements in the model are valid.

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

isLicensed

public boolean isLicensed()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Returns whether or not all the processes in the model are licensed.

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

disconnectElements

public void disconnectElements(IMdElement pFromElement,
                               IMdElement pToElement,
                               int connectionType)
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
Removes the connection/dependency between two model elements.

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

createUniqueElementName

public java.lang.String createUniqueElementName(java.lang.String name)
                                         throws java.io.IOException,
                                                AutomationException
Deprecated. 
Generates a new unique name that may be used for adding a new model element to the model.

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