com.esri.arcgis.datasourcesnetCDF
Class INetCDFWorkspaceProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.datasourcesnetCDF.INetCDFWorkspaceProxy
All Implemented Interfaces:
INetCDFWorkspace, Externalizable, Serializable

public class INetCDFWorkspaceProxy
extends com.esri.arcgis.interop.Dispatch
implements INetCDFWorkspace, Serializable

Provides access to members that control a NetCDF workspace.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  INetCDFWorkspaceProxy()
           
  INetCDFWorkspaceProxy(Object obj)
           
protected INetCDFWorkspaceProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 IStringArray getAttributeNames(String varName)
          The array of global or variable specific attribute names.
 Object getAttributeValue(String varName, String attName, int valueIndex)
          The attribute value for a specified variable and an attribute name or keyword.
 int getDimensionIndex(String dimName, Object vValue)
          The dimension index for a specified dimension and value.
 IStringArray getDimensions()
          The array of dimension items.
 IStringArray getDimensionsByVariable(String varName)
          The dimension items for a specified variable.
 int getDimensionSize(String dimName)
          The size or length of a specified dimension.
 Object getDimensionValue(String dimName, int index)
          The dimension value for a specified dimension and index.
 IVariantArray getDimensionValues(String dimName)
          The values for a specified dimension.
 int getFieldType(String name)
          The field type of a variable or dimension.
 int getIndexFromValue(String name, Object value)
          Return the index of a specified variable or dimension value.
 ISpatialReference getSpatialReference(String varName, String xDim, String yDim)
          The spatial reference for a variable.
 Object getValueFromIndex(int index, String name)
          The dimension or variable value for a given index.
 IStringArray getVariables()
          The array of variable strings.
 IStringArray getVariablesByDimension(String dimName)
          All variables having the specified dimension name.
 void removeListener(String iidStr, Object theListener)
           
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

INetCDFWorkspaceProxy

public INetCDFWorkspaceProxy()

INetCDFWorkspaceProxy

public INetCDFWorkspaceProxy(Object obj)
                      throws IOException
Throws:
IOException

INetCDFWorkspaceProxy

protected INetCDFWorkspaceProxy(Object obj,
                                String iid)
                         throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getVariables

public IStringArray getVariables()
                          throws IOException,
                                 AutomationException
The array of variable strings.

Product Availability

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

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

getDimensions

public IStringArray getDimensions()
                           throws IOException,
                                  AutomationException
The array of dimension items.

Product Availability

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

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

getAttributeNames

public IStringArray getAttributeNames(String varName)
                               throws IOException,
                                      AutomationException
The array of global or variable specific attribute names.

Product Availability

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

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

getDimensionSize

public int getDimensionSize(String dimName)
                     throws IOException,
                            AutomationException
The size or length of a specified dimension.

Product Availability

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

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

getDimensionsByVariable

public IStringArray getDimensionsByVariable(String varName)
                                     throws IOException,
                                            AutomationException
The dimension items for a specified variable.

Product Availability

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

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

getVariablesByDimension

public IStringArray getVariablesByDimension(String dimName)
                                     throws IOException,
                                            AutomationException
All variables having the specified dimension name.

Product Availability

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

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

getDimensionValue

public Object getDimensionValue(String dimName,
                                int index)
                         throws IOException,
                                AutomationException
The dimension value for a specified dimension and index.

Product Availability

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

Specified by:
getDimensionValue in interface INetCDFWorkspace
Parameters:
dimName - The dimName (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 dimName,
                             Object vValue)
                      throws IOException,
                             AutomationException
The dimension index for a specified dimension and value.

Product Availability

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

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

getAttributeValue

public Object getAttributeValue(String varName,
                                String attName,
                                int valueIndex)
                         throws IOException,
                                AutomationException
The attribute value for a specified variable and an attribute name or keyword.

Product Availability

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

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

getDimensionValues

public IVariantArray getDimensionValues(String dimName)
                                 throws IOException,
                                        AutomationException
The values for a specified dimension.

Product Availability

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

Specified by:
getDimensionValues in interface INetCDFWorkspace
Parameters:
dimName - The dimName (in)
Returns:
A reference to a com.esri.arcgis.system.IVariantArray
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference(String varName,
                                             String xDim,
                                             String yDim)
                                      throws IOException,
                                             AutomationException
The spatial reference for a variable.

Product Availability

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

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

getFieldType

public int getFieldType(String name)
                 throws IOException,
                        AutomationException
The field type of a variable or dimension.

Product Availability

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

Specified by:
getFieldType in interface INetCDFWorkspace
Parameters:
name - The name (in)
Returns:
A com.esri.arcgis.geodatabase.esriFieldType constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getValueFromIndex

public Object getValueFromIndex(int index,
                                String name)
                         throws IOException,
                                AutomationException
The dimension or variable value for a given index.

Product Availability

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

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

getIndexFromValue

public int getIndexFromValue(String name,
                             Object value)
                      throws IOException,
                             AutomationException
Return the index of a specified variable or dimension value.

Product Availability

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

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