com.esri.arcgis.geoprocessing
Class GPNetCDFWorkspace

java.lang.Object
  extended by com.esri.arcgis.geoprocessing.GPNetCDFWorkspace
All Implemented Interfaces:
IGPNetCDFWorkspace, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class GPNetCDFWorkspace
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IGPNetCDFWorkspace

NetCDFWorkspace Access.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
GPNetCDFWorkspace()
          Constructs a GPNetCDFWorkspace using ArcGIS Engine.
GPNetCDFWorkspace(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GPNetCDFWorkspace theGPNetCDFWorkspace = (GPNetCDFWorkspace) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 IGpEnumList getAttributeNames(String variable)
          The names of the attributes of the NetCDFWorkspace
 Object getAttributeValue(String variable, String attribute, int valueIndex)
          The value of an attribute of the NetCDFWorkspace
static String getClsid()
          getClsid.
 int getDimensionIndex(String dimension, Object value)
          The index of a dimension of the NetCDFWorkspace
 IGpEnumList getDimensions()
          The dimensions of the NetCDFWorkspace
 IGpEnumList getDimensionsByVariable(String variable)
          The dimensions of the NetCDFWorkspace by variable
 int getDimensionSize(String dimension)
          The number of dimensions of the NetCDFWorkspace
 Object getDimensionValue(String dimension, int index)
          The value of a dimension of the NetCDFWorkspace
 String getFieldType(String name)
          The type of a field of the NetCDFWorkspace
 IGpSpRefObject getSpatialReference(String variable, String xDim, String yDim)
          The spatial reference of the NetCDFWorkspace
 IGpEnumList getVariables()
          The variables of the NetCDFWorkspace
 IGpEnumList getVariablesByDimension(String dimension)
          The variables of the NetCDFWorkspace by dimension
 int hashCode()
          the hashcode for this object
 void initialize(INetCDFWorkspace pNetCDFWorkspace)
          Initialize the NetCDFWorkspace dispatch object to the properties of the real NetCDFWorkspace object
 
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

GPNetCDFWorkspace

public GPNetCDFWorkspace()
                  throws IOException,
                         UnknownHostException
Constructs a GPNetCDFWorkspace using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

GPNetCDFWorkspace

public GPNetCDFWorkspace(Object obj)
                  throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
GPNetCDFWorkspace theGPNetCDFWorkspace = (GPNetCDFWorkspace) obj;

Construct a GPNetCDFWorkspace using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to GPNetCDFWorkspace.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

initialize

public void initialize(INetCDFWorkspace pNetCDFWorkspace)
                throws IOException,
                       AutomationException
Initialize the NetCDFWorkspace dispatch object to the properties of the real NetCDFWorkspace object

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
initialize in interface IGPNetCDFWorkspace
Parameters:
pNetCDFWorkspace - A reference to a com.esri.arcgis.datasourcesnetCDF.INetCDFWorkspace (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVariables

public IGpEnumList getVariables()
                         throws IOException,
                                AutomationException
The variables of the NetCDFWorkspace

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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

getVariablesByDimension

public IGpEnumList getVariablesByDimension(String dimension)
                                    throws IOException,
                                           AutomationException
The variables of the NetCDFWorkspace by dimension

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getVariablesByDimension in interface IGPNetCDFWorkspace
Parameters:
dimension - The dimension (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensions

public IGpEnumList getDimensions()
                          throws IOException,
                                 AutomationException
The dimensions of the NetCDFWorkspace

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDimensions in interface IGPNetCDFWorkspace
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionsByVariable

public IGpEnumList getDimensionsByVariable(String variable)
                                    throws IOException,
                                           AutomationException
The dimensions of the NetCDFWorkspace by variable

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDimensionsByVariable in interface IGPNetCDFWorkspace
Parameters:
variable - The variable (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionSize

public int getDimensionSize(String dimension)
                     throws IOException,
                            AutomationException
The number of dimensions of the NetCDFWorkspace

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDimensionSize in interface IGPNetCDFWorkspace
Parameters:
dimension - The dimension (in)
Returns:
The pSize
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionValue

public Object getDimensionValue(String dimension,
                                int index)
                         throws IOException,
                                AutomationException
The value of a dimension of the NetCDFWorkspace

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDimensionValue in interface IGPNetCDFWorkspace
Parameters:
dimension - The dimension (in)
index - The index (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDimensionIndex

public int getDimensionIndex(String dimension,
                             Object value)
                      throws IOException,
                             AutomationException
The index of a dimension of the NetCDFWorkspace

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getDimensionIndex in interface IGPNetCDFWorkspace
Parameters:
dimension - The dimension (in)
value - A Variant (in)
Returns:
The pIndex
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeNames

public IGpEnumList getAttributeNames(String variable)
                              throws IOException,
                                     AutomationException
The names of the attributes of the NetCDFWorkspace

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAttributeNames in interface IGPNetCDFWorkspace
Parameters:
variable - The variable (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpEnumList
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAttributeValue

public Object getAttributeValue(String variable,
                                String attribute,
                                int valueIndex)
                         throws IOException,
                                AutomationException
The value of an attribute of the NetCDFWorkspace

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getAttributeValue in interface IGPNetCDFWorkspace
Parameters:
variable - The variable (in)
attribute - The attribute (in)
valueIndex - The valueIndex (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldType

public String getFieldType(String name)
                    throws IOException,
                           AutomationException
The type of a field of the NetCDFWorkspace

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getFieldType in interface IGPNetCDFWorkspace
Parameters:
name - The name (in)
Returns:
The pType
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public IGpSpRefObject getSpatialReference(String variable,
                                          String xDim,
                                          String yDim)
                                   throws IOException,
                                          AutomationException
The spatial reference of the NetCDFWorkspace

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getSpatialReference in interface IGPNetCDFWorkspace
Parameters:
variable - The variable (in)
xDim - The xDim (in)
yDim - The yDim (in)
Returns:
A reference to a com.esri.arcgis.geoprocessing.IGpSpRefObject
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.