|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.GPEnvironment
public class GPEnvironment
Geoprocessing Environment object.
Constructor Summary | |
---|---|
GPEnvironment()
Constructs a GPEnvironment using ArcGIS Engine. |
|
GPEnvironment(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GPEnvironment theGPEnvironment = (GPEnvironment) obj; |
Method Summary | |
---|---|
void |
addDependency(String name)
Adds the name of an environment that the geoprocessing environment is dependent on. |
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. |
String |
getCategory()
Category of the geoprocessing environment. |
void |
getClassID(GUID[] pClassID)
getClassID |
static String |
getClsid()
getClsid. |
IUID |
getControlCLSID()
Class identifier (CLSID) of the ActiveX control to use to edit the geoprocessing environment. |
IGPDataType |
getDataType()
Data type of acceptable values of the geoprocessing environment. |
IEnumBSTR |
getDependencies()
Enumeration of environment names the geoprocessing environment is dependent on. |
String |
getDisplayName()
Display name of the geoprocessing environment. |
int |
getDisplayOrder()
Display order of the geoprocessing environment. |
IGPDomain |
getDomain()
Domain of the geoprocessing environment. |
String |
getMetadataFile()
Name of the (XML) file containing the default metadata for this environment object. |
String |
getName()
Name of the geoprocessing environment. |
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax |
IGPValue |
getValue()
Value of the geoprocessing environment. |
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. |
void |
load(IStream pstm)
load |
void |
readExternal(ObjectInput in)
|
void |
save(IStream pstm,
int fClearDirty)
save |
void |
serialize(IXMLSerializeData data)
Serializes an object to XML. |
void |
setCategory(String category)
Category of the geoprocessing environment. |
void |
setControlCLSID(IUID cLSID)
Class identifier (CLSID) of the ActiveX control to use to edit the geoprocessing environment. |
void |
setDataTypeByRef(IGPDataType dataType)
Data type of acceptable values of the geoprocessing environment. |
void |
setDependencies(IEnumBSTR dependencies)
Enumeration of environment names the geoprocessing environment is dependent on. |
void |
setDisplayName(String name)
Display name of the geoprocessing environment. |
void |
setDisplayOrder(int displayOrder)
Display order of the geoprocessing environment. |
void |
setDomainByRef(IGPDomain domain)
Domain of the geoprocessing environment. |
void |
setMetadataFile(String file)
Name of the (XML) file containing the default metadata for this environment object. |
void |
setName(String name)
Name of the geoprocessing environment. |
void |
setValueByRef(IGPValue value)
Value of the geoprocessing environment. |
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 GPEnvironment() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GPEnvironment(Object obj) throws IOException
GPEnvironment theGPEnvironment = (GPEnvironment) obj;
obj
to GPEnvironment
.
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 String getName() throws IOException, AutomationException
The Name property sets the name of an environment setting. This name appears when using the environment at the command line or in scripting. It must be unique and must not contain any spaces.
getName
in interface IGPEnvironment
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 IGPEnvironment
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDisplayName() throws IOException, AutomationException
The DisplayName property sets the user-friendly name of an environment setting. It is displayed in the graphic user interface of the Environment Settings dialog. The DisplayName can be internationalized.
getDisplayName
in interface IGPEnvironment
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 IGPEnvironment
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getCategory() throws IOException, AutomationException
Currently the GPEnvironment object has 5 defined categories. Use the Category property to access one of those categories.
getCategory
in interface IGPEnvironment
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 IGPEnvironment
category
- The category (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPValue getValue() throws IOException, AutomationException
The Value property returns the value of this environment setting such as the path string for the Current Workspace.
getValue
in interface IGPEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setValueByRef(IGPValue value) throws IOException, AutomationException
setValueByRef
in interface IGPEnvironment
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 IGPDomain getDomain() throws IOException, AutomationException
The Domain property returns the domain of Value objects associated with the environment. It is used during validation to ensure only acceptable values are used.
getDomain
in interface IGPEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDomainByRef(IGPDomain domain) throws IOException, AutomationException
setDomainByRef
in interface IGPEnvironment
domain
- A reference to a com.esri.arcgis.geodatabase.IGPDomain (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGPDataType getDataType() throws IOException, AutomationException
The DataType property is used to access the DataType object associated with this Environment object.
getDataType
in interface IGPEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDataTypeByRef(IGPDataType dataType) throws IOException, AutomationException
setDataTypeByRef
in interface IGPEnvironment
dataType
- A reference to a com.esri.arcgis.geodatabase.IGPDataType (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getDisplayOrder() throws IOException, AutomationException
getDisplayOrder
in interface IGPEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayOrder(int displayOrder) throws IOException, AutomationException
setDisplayOrder
in interface IGPEnvironment
displayOrder
- The displayOrder (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getControlCLSID() throws IOException, AutomationException
getControlCLSID
in interface IGPEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setControlCLSID(IUID cLSID) throws IOException, AutomationException
setControlCLSID
in interface IGPEnvironment
cLSID
- 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 IEnumBSTR getDependencies() throws IOException, AutomationException
The Dependencies property returns a list, or enumeration [IEnumBSTR], of environment names the environment is dependent on. Dependency examples are
getDependencies
in interface IGPEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDependencies(IEnumBSTR dependencies) throws IOException, AutomationException
setDependencies
in interface IGPEnvironment
dependencies
- A reference to a com.esri.arcgis.system.IEnumBSTR (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addDependency(String name) throws IOException, AutomationException
addDependency
in interface IGPEnvironment
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getMetadataFile() throws IOException, AutomationException
The MetadataFile property stores the name of a .xml file with the default metadata for an environment setting. The .xml file supplies parameter descriptions in the help panel of the Environment Settings dialog.
getMetadataFile
in interface IGPEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMetadataFile(String file) throws IOException, AutomationException
setMetadataFile
in interface IGPEnvironment
file
- The file (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 |