|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.MdModel
public class MdModel
COM Class 'MdModel'. Generated 3/19/2015 1:20:44 PM from 'C:\ArcGIS\COM\esriGeoprocessing.olb'
Description 'A collection of model variables and processes, used to execute multiple geoprocessing tools in some order.' 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 long |
serialVersionUID
|
Fields inherited from interface com.esri.arcgis.geoprocessing.IMdModel |
---|
IID, IIDdfaf9812_6b7b_4ac2_ad6b_bbdef1ede0e6, 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.system.IClone |
---|
IID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IConnectionPointContainer |
---|
IID, IIDb196b284_bab4_101a_b69c_00aa00341d07, xxDummy |
Fields inherited from interface com.esri.arcgis.geoprocessing.IMdModelIteration |
---|
IID, IID843d1afe_9026_486e_8525_d2c8a256c82d, xxDummy |
Fields inherited from interface com.esri.arcgis.geoprocessing.IMdModelIteration2 |
---|
IID, IIDd9de210b_7457_42b3_a71d_f75905582c48, xxDummy |
Constructor Summary | |
---|---|
MdModel()
Constructs a MdModel using ArcGIS Engine. |
|
MdModel(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. MdModel theMdModel = (MdModel) obj; |
Method Summary | |
---|---|
void |
addElement(IMdElement element)
Adds the given element to the model. |
void |
addElements(IArray elements)
Adds the collection of elements to the model. |
void |
addIMdModelEventsListener(IMdModelEvents theListener)
addIMdModelEventsListener. |
void |
assign(IClone src)
Assigns the properties of src to the receiver. |
boolean |
canAddElement(IMdElement pElement)
Returns whether or not the given model element can be added to the model. |
java.lang.String |
createUniqueElementName(java.lang.String name)
Generates a new unique name that may be used for adding a new model element to the model. |
void |
deleteElement(IMdElement element)
Removes the given element from the model. |
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
void |
disconnectElements(IMdElement pFromElement,
IMdElement pToElement,
int connectionType)
Removes the connection/dependency between two model elements. |
void |
empty()
Removes all model elements from the model. |
void |
enumConnectionPoints(IEnumConnectionPoints[] ppEnum)
enumConnectionPoints |
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,
boolean reset,
IGPEnvironmentManager pEnvMgr,
IGPMessages messages,
boolean stopOnFirstFailure)
Executes all the processes in the model. |
void |
executeProcess(IMdProcess pMdProcess,
ITrackCancel trackCancel,
boolean reset,
IGPEnvironmentManager pEnvMgr,
IGPMessages messages,
boolean stopOnFirstFailure)
Executes a single process in the model. |
void |
findConnectionPoint(GUID riid,
IConnectionPoint[] ppCP)
findConnectionPoint |
IEnumMdElement |
findDependents(IMdElement pMdElement,
int direction,
int connectionType)
Returns all the model elements dependent on the given model element in the given direction of the given connection type. |
void |
getClassID(GUID[] pClassID)
getClassID |
static java.lang.String |
getClsid()
getClsid. |
int |
getCurrentIteration()
Current model iteration. |
IMdElement |
getElement(java.lang.String name)
Returns the model element with the given name. |
IMdElement |
getElementByID(int identifier)
Returns the model element with the given identifier. |
IEnumMdElement |
getElements()
Returns all of the model elements in the model. |
IGPEnvironmentManager |
getEnvironmentManager()
The set of overriding environment values used when validating/executing the model. |
int |
getIterationCount()
Number of times to iterate the model. |
IMdElement |
getIterationElement()
Model iteration element. |
int |
getIterationType()
Indicates model iteration type. |
IMdVariable |
getIterationVariable()
Model iteration variable. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
java.lang.String |
getName()
Name of the model. |
IEnumMdProcess |
getProcesses()
Returns all of the processes in the model. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IEnumMdVariable |
getVariables()
Returns all of the variables in the model. |
int |
hashCode()
the hashcode for this object |
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 |
isLicensed()
Returns whether or not all the processes in the model are licensed. |
boolean |
isValid()
Returns whether or not all the model elements in the model are valid. |
void |
load(IStream pstm)
load |
void |
mergeElements(IEnumMdElement pElements)
Merges the given enumeration of model elements, commonly from another model, into the current model. |
void |
readExternal(java.io.ObjectInput in)
|
void |
release()
Release a MdModel. |
void |
removeIMdModelEventsListener(IMdModelEvents theListener)
removeIMdModelEventsListener. |
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setEnvironmentManagerByRef(IGPEnvironmentManager ppEnvMgr)
The set of overriding environment values used when validating/executing the model. |
void |
setIterationCount(int count)
Number of times to iterate the model. |
void |
setIterationElementByRef(IMdElement ppElement)
Model iteration element. |
void |
setIterationType(int type)
Indicates model iteration type. |
void |
setIterationVariableByRef(IMdVariable ppVariable)
Model iteration variable. |
void |
setName(java.lang.String name)
Name of the model. |
IEnumMdElement |
sortElements()
Returns all the model elements in the model in sorted order. |
IEnumMdElement |
traceDependents(IMdElement pMdElement,
int direction,
int depth)
Returns all the model elements dependent on the given model element in the given direction. |
IGPMessages |
validate(boolean reset,
IGPEnvironmentManager pEnvMgr)
Validates all model elements in the model. |
boolean |
verifyUniqueElementName(java.lang.String name)
Returns whether or not the model already contains a model element by the given name. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public MdModel() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic MdModel(java.lang.Object obj) throws java.io.IOException
MdModel theMdModel = (MdModel) obj;
obj
to MdModel
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void addIMdModelEventsListener(IMdModelEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.geoprocessing.IMdModelEvents interface.
java.io.IOException
- If there are communications problems.public void removeIMdModelEventsListener(IMdModelEvents theListener) throws java.io.IOException
theListener
- An object that implements the com.esri.arcgis.geoprocessing.IMdModelEvents interface.
java.io.IOException
- If there are communications problems.public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public java.lang.String getName() throws java.io.IOException, AutomationException
getName
in interface IMdModel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(java.lang.String name) throws java.io.IOException, AutomationException
setName
in interface IMdModel
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addElement(IMdElement element) throws java.io.IOException, AutomationException
addElement
in interface IMdModel
element
- A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addElements(IArray elements) throws java.io.IOException, AutomationException
addElements
in interface IMdModel
elements
- A reference to a com.esri.arcgis.system.IArray (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMdElement getElement(java.lang.String name) throws java.io.IOException, AutomationException
getElement
in interface IMdModel
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMdElement getElementByID(int identifier) throws java.io.IOException, AutomationException
getElementByID
in interface IMdModel
identifier
- The identifier (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumMdElement getElements() throws java.io.IOException, AutomationException
getElements
in interface IMdModel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumMdVariable getVariables() throws java.io.IOException, AutomationException
getVariables
in interface IMdModel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumMdProcess getProcesses() throws java.io.IOException, AutomationException
getProcesses
in interface IMdModel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteElement(IMdElement element) throws java.io.IOException, AutomationException
deleteElement
in interface IMdModel
element
- A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void empty() throws java.io.IOException, AutomationException
empty
in interface IMdModel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPMessages validate(boolean reset, IGPEnvironmentManager pEnvMgr) throws java.io.IOException, AutomationException
validate
in interface IMdModel
reset
- The reset (in)pEnvMgr
- A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void execute(ITrackCancel trackCancel, boolean reset, IGPEnvironmentManager pEnvMgr, IGPMessages messages, boolean stopOnFirstFailure) throws java.io.IOException, AutomationException
execute
in interface IMdModel
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void executeProcess(IMdProcess pMdProcess, ITrackCancel trackCancel, boolean reset, IGPEnvironmentManager pEnvMgr, IGPMessages messages, boolean stopOnFirstFailure) throws java.io.IOException, AutomationException
executeProcess
in interface IMdModel
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumMdElement sortElements() throws java.io.IOException, AutomationException
sortElements
in interface IMdModel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumMdElement traceDependents(IMdElement pMdElement, int direction, int depth) throws java.io.IOException, AutomationException
traceDependents
in interface IMdModel
pMdElement
- A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)direction
- A com.esri.arcgis.geoprocessing.esriMdDirection constant (in)depth
- The depth (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumMdElement findDependents(IMdElement pMdElement, int direction, int connectionType) throws java.io.IOException, AutomationException
findDependents
in interface IMdModel
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void mergeElements(IEnumMdElement pElements) throws java.io.IOException, AutomationException
mergeElements
in interface IMdModel
pElements
- A reference to a com.esri.arcgis.geoprocessing.IEnumMdElement (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean verifyUniqueElementName(java.lang.String name) throws java.io.IOException, AutomationException
verifyUniqueElementName
in interface IMdModel
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canAddElement(IMdElement pElement) throws java.io.IOException, AutomationException
canAddElement
in interface IMdModel
pElement
- A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPEnvironmentManager getEnvironmentManager() throws java.io.IOException, AutomationException
getEnvironmentManager
in interface IMdModel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setEnvironmentManagerByRef(IGPEnvironmentManager ppEnvMgr) throws java.io.IOException, AutomationException
setEnvironmentManagerByRef
in interface IMdModel
ppEnvMgr
- A reference to a com.esri.arcgis.geoprocessing.IGPEnvironmentManager (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValid() throws java.io.IOException, AutomationException
isValid
in interface IMdModel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isLicensed() throws java.io.IOException, AutomationException
isLicensed
in interface IMdModel
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void disconnectElements(IMdElement pFromElement, IMdElement pToElement, int connectionType) throws java.io.IOException, AutomationException
disconnectElements
in interface IMdModel
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String createUniqueElementName(java.lang.String name) throws java.io.IOException, AutomationException
createUniqueElementName
in interface IMdModel
name
- The name (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void isDirty() throws java.io.IOException, AutomationException
isDirty
in interface IPersistStream
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save
in interface IPersistStream
pstm
- A reference to a com.esri.arcgis.system.IStream (in)fClearDirty
- The fClearDirty (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax
in interface IPersistStream
pcbSize
- A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID
in interface IPersist
pClassID
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize
in interface IXMLSerialize
data
- A reference to a com.esri.arcgis.system.IXMLSerializeData (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone
in interface IClone
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign
in interface IClone
src
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical
in interface IClone
other
- A reference to a com.esri.arcgis.system.IClone (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void enumConnectionPoints(IEnumConnectionPoints[] ppEnum) throws java.io.IOException, AutomationException
enumConnectionPoints
in interface IConnectionPointContainer
ppEnum
- A reference to a com.esri.arcgis.display.IEnumConnectionPoints (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void findConnectionPoint(GUID riid, IConnectionPoint[] ppCP) throws java.io.IOException, AutomationException
findConnectionPoint
in interface IConnectionPointContainer
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)ppCP
- A reference to a com.esri.arcgis.display.IConnectionPoint (out: use single element array)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getIterationType() throws java.io.IOException, AutomationException
getIterationType
in interface IMdModelIteration
getIterationType
in interface IMdModelIteration2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIterationType(int type) throws java.io.IOException, AutomationException
setIterationType
in interface IMdModelIteration
setIterationType
in interface IMdModelIteration2
type
- A com.esri.arcgis.geoprocessing.esriMdIterationType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getIterationCount() throws java.io.IOException, AutomationException
getIterationCount
in interface IMdModelIteration
getIterationCount
in interface IMdModelIteration2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIterationCount(int count) throws java.io.IOException, AutomationException
setIterationCount
in interface IMdModelIteration
setIterationCount
in interface IMdModelIteration2
count
- The count (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMdVariable getIterationVariable() throws java.io.IOException, AutomationException
getIterationVariable
in interface IMdModelIteration
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIterationVariableByRef(IMdVariable ppVariable) throws java.io.IOException, AutomationException
setIterationVariableByRef
in interface IMdModelIteration
ppVariable
- A reference to a com.esri.arcgis.geoprocessing.IMdVariable (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCurrentIteration() throws java.io.IOException, AutomationException
getCurrentIteration
in interface IMdModelIteration
getCurrentIteration
in interface IMdModelIteration2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMdElement getIterationElement() throws java.io.IOException, AutomationException
getIterationElement
in interface IMdModelIteration2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIterationElementByRef(IMdElement ppElement) throws java.io.IOException, AutomationException
setIterationElementByRef
in interface IMdModelIteration2
ppElement
- A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |