|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMdModel
Provides access to properties/methods of a model.
| 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. |
boolean |
canAddElement(IMdElement pElement)
Returns whether or not the given model element can be added to the model. |
String |
createUniqueElementName(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 |
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 |
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. |
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. |
IMdElement |
getElement(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. |
String |
getName()
Name of the model. |
IEnumMdProcess |
getProcesses()
Returns all of the processes in the model. |
IEnumMdVariable |
getVariables()
Returns all of the variables in the model. |
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 |
mergeElements(IEnumMdElement pElements)
Merges the given enumeration of model elements, commonly from another model, into the current model. |
void |
setEnvironmentManagerByRef(IGPEnvironmentManager ppEnvMgr)
The set of overriding environment values used when validating/executing the model. |
void |
setName(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(String name)
Returns whether or not the model already contains a model element by the given name. |
| Method Detail |
|---|
String getName()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setName(String name)
throws IOException,
AutomationException
name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addElement(IMdElement element)
throws IOException,
AutomationException
element - A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void addElements(IArray elements)
throws IOException,
AutomationException
elements - A reference to a com.esri.arcgis.system.IArray (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IMdElement getElement(String name)
throws IOException,
AutomationException
name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IMdElement getElementByID(int identifier)
throws IOException,
AutomationException
identifier - The identifier (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumMdElement getElements()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumMdVariable getVariables()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumMdProcess getProcesses()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void deleteElement(IMdElement element)
throws IOException,
AutomationException
element - A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void empty()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGPMessages validate(boolean reset,
IGPEnvironmentManager pEnvMgr)
throws IOException,
AutomationException
reset - The reset (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.
void execute(ITrackCancel trackCancel,
boolean reset,
IGPEnvironmentManager pEnvMgr,
IGPMessages messages,
boolean stopOnFirstFailure)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void executeProcess(IMdProcess pMdProcess,
ITrackCancel trackCancel,
boolean reset,
IGPEnvironmentManager pEnvMgr,
IGPMessages messages,
boolean stopOnFirstFailure)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumMdElement sortElements()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumMdElement traceDependents(IMdElement pMdElement,
int direction,
int depth)
throws IOException,
AutomationException
pMdElement - A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)direction - A com.esri.arcgis.geoprocessing.esriMdDirection constant (in)depth - The depth (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IEnumMdElement findDependents(IMdElement pMdElement,
int direction,
int connectionType)
throws IOException,
AutomationException
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.
void mergeElements(IEnumMdElement pElements)
throws IOException,
AutomationException
pElements - A reference to a com.esri.arcgis.geoprocessing.IEnumMdElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean verifyUniqueElementName(String name)
throws IOException,
AutomationException
name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean canAddElement(IMdElement pElement)
throws IOException,
AutomationException
pElement - A reference to a com.esri.arcgis.geoprocessing.IMdElement (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
IGPEnvironmentManager getEnvironmentManager()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void setEnvironmentManagerByRef(IGPEnvironmentManager ppEnvMgr)
throws IOException,
AutomationException
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.
boolean isValid()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean isLicensed()
throws IOException,
AutomationException
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void disconnectElements(IMdElement pFromElement,
IMdElement pToElement,
int connectionType)
throws IOException,
AutomationException
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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String createUniqueElementName(String name)
throws IOException,
AutomationException
name - The name (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||