|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.GPToolName
public class GPToolName
Light-weight object referencing a geoprocessing tool.
Constructor Summary | |
---|---|
GPToolName()
Constructs a GPToolName using ArcGIS Engine. |
|
GPToolName(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GPToolName theGPToolName = (GPToolName) obj; |
Method Summary | |
---|---|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML. |
boolean |
equals(Object o)
Compare this object with another |
String |
getCategory()
The category of the dataset. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
String |
getDescription()
The description of the tool name object. |
IUID |
getDialogCLSID()
The CLSID of the dialog object of the tool name. |
String |
getDisplayName()
The display name of the tool name object. |
String |
getName()
The name of the dataset. |
String |
getNameString()
The name string of the object. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IEnumDatasetName |
getSubsetNames()
Subset names contained within this dataset name. |
IGPToolboxName |
getToolboxName()
The toolbox name of the tool name. |
String |
getToolCategory()
The category of the tool name object. |
int |
getToolType()
The tool type of the tool name. |
int |
getType()
The type of the dataset. |
IWorkspaceName |
getWorkspaceName()
The WorkspaceName of the DatasetName. |
int |
hashCode()
the hashcode for this object |
void |
isDirty()
isDirty |
void |
load(IStream pstm)
load |
Object |
open()
Opens the object referred to by this name. |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setCategory(String category)
The category of the dataset. |
void |
setDescription(String description)
The description of the tool name object. |
void |
setDialogCLSIDByRef(IUID ppClsid)
The CLSID of the dialog object of the tool name. |
void |
setDisplayName(String name)
The display name of the tool name object. |
void |
setName(String name)
The name of the dataset. |
void |
setNameString(String nameString)
The name string of the object. |
void |
setToolboxNameByRef(IGPToolboxName toolboxName)
The toolbox name of the tool name. |
void |
setToolCategory(String path)
The category of the tool name object. |
void |
setToolType(int type)
The tool type of the tool name. |
void |
setWorkspaceNameByRef(IWorkspaceName workspaceName)
The WorkspaceName of the DatasetName. |
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 GPToolName() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GPToolName(Object obj) throws IOException
GPToolName theGPToolName = (GPToolName) obj;
obj
to GPToolName
.
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 void setNameString(String nameString) throws IOException, AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
setNameString
in interface IName
nameString
- The nameString (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNameString() throws IOException, AutomationException
The NameString property is reserved for future use. When implemented, it will return a string representation of the locational component of the name object that may be persisted by applications.
getNameString
in interface IName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object open() throws IOException, AutomationException
The Open method lets you instantiate the actual object given the name object.
Note: Opening a feature class that participates in a topology or geometric network will also open all other feature classes participating in the topology or geometric network in memory.
IName pName = pFeatureClassName;
pFeatureClass = new IFeatureClassProxy(pName.open());
open
in interface IName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getName() throws IOException, AutomationException
getName
in interface IDatasetName
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 IDatasetName
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getType() throws IOException, AutomationException
getType
in interface IDatasetName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
getCategory
in interface IDatasetName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCategory(String category) throws IOException, AutomationException
setCategory
in interface IDatasetName
category
- The category (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWorkspaceName getWorkspaceName() throws IOException, AutomationException
getWorkspaceName
in interface IDatasetName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWorkspaceNameByRef(IWorkspaceName workspaceName) throws IOException, AutomationException
setWorkspaceNameByRef
in interface IDatasetName
workspaceName
- A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumDatasetName getSubsetNames() throws IOException, AutomationException
getSubsetNames
in interface IDatasetName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDisplayName() throws IOException, AutomationException
getDisplayName
in interface IGPToolName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayName(String name) throws IOException, AutomationException
setDisplayName
in interface IGPToolName
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
getDescription
in interface IGPToolName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String description) throws IOException, AutomationException
setDescription
in interface IGPToolName
description
- The description (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getToolCategory() throws IOException, AutomationException
getToolCategory
in interface IGPToolName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setToolCategory(String path) throws IOException, AutomationException
setToolCategory
in interface IGPToolName
path
- The path (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getToolType() throws IOException, AutomationException
getToolType
in interface IGPToolName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setToolType(int type) throws IOException, AutomationException
setToolType
in interface IGPToolName
type
- A com.esri.arcgis.geoprocessing.esriGPToolType constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPToolboxName getToolboxName() throws IOException, AutomationException
getToolboxName
in interface IGPToolName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setToolboxNameByRef(IGPToolboxName toolboxName) throws IOException, AutomationException
setToolboxNameByRef
in interface IGPToolName
toolboxName
- A reference to a com.esri.arcgis.geoprocessing.IGPToolboxName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getDialogCLSID() throws IOException, AutomationException
getDialogCLSID
in interface IGPToolName
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDialogCLSIDByRef(IUID ppClsid) throws IOException, AutomationException
setDialogCLSIDByRef
in interface IGPToolName
ppClsid
- A reference to a com.esri.arcgis.system.IUID (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 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 |