com.esri.arcgis.datasourcesnetCDF
Class NetCDFWorkspace

java.lang.Object
  extended by com.esri.arcgis.datasourcesnetCDF.NetCDFWorkspace
All Implemented Interfaces:
IMDWorkspace, INetCDFWorkspace, IDataset, IWorkspace, IWorkspaceProperties, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class NetCDFWorkspace
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IWorkspace, INetCDFWorkspace, IMDWorkspace, IDataset, ISupportErrorInfo, IWorkspaceProperties

COM Class 'NetCDFWorkspace'. Generated 3/19/2015 1:20:47 PM from 'C:\ArcGIS\COM\esriDataSourcesNetCDF.olb'

Description 'The NetCDF workspace object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspace
IID, IIDd4803ee1_79f4_11d0_97fc_0080c7f79481, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesnetCDF.INetCDFWorkspace
IID, IID2d289ea0_e56e_44e9_bdb7_1bc829222cc3, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesnetCDF.IMDWorkspace
IID, IID88b7b494_1c1d_4b6c_a1db_28900afa96ec, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDataset
IID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IWorkspaceProperties
IID, IID0f1b2257_e2d8_4046_b749_7ff1b058a943, xxDummy
 
Constructor Summary
NetCDFWorkspace(java.lang.Object obj)
          Construct a NetCDFWorkspace using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean canCopy()
          True if this dataset can be copied.
 boolean canDelete()
          True if this dataset can be deleted.
 boolean canRename()
          True if this dataset can be renamed.
 IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace)
          Copies this dataset to a new dataset with the specified name.
 IDataset createView(java.lang.String viewName, IMDDatasetView pView)
          Creates a dataset from a view definition.
 void delete()
          Deletes this dataset.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void executeSQL(java.lang.String sqlStmt)
          Executes the specified SQL statement.
 boolean exists()
          Checks if the workspace exists.
 IStringArray getAttributeNames(java.lang.String varName)
          The array of global or variable specific attribute names.
 java.lang.Object getAttributeValue(java.lang.String varName, java.lang.String attName, int valueIndex)
          The attribute value for a specified variable and an attribute name or keyword.
 java.lang.String getBrowseName()
          The browse name of the dataset.
 java.lang.String getCategory()
          The category of the dataset.
 IPropertySet getConnectionProperties()
          The connection properties of the workspace.
 IEnumDatasetName getDatasetNames(int datasetType)
          The DatasetNames in the workspace.
 IEnumDataset getDatasets(int datasetType)
          The datasets in the workspace.
 int getDimensionIndex(java.lang.String dimName, java.lang.Object vValue)
          The dimension index for a specified dimension and value.
 IStringArray getDimensions()
          The array of dimension items.
 IStringArray getDimensionsByVariable(java.lang.String varName)
          The dimension items for a specified variable.
 int getDimensionSize(java.lang.String dimName)
          The size or length of a specified dimension.
 java.lang.Object getDimensionValue(java.lang.String dimName, int index)
          The dimension value for a specified dimension and index.
 IVariantArray getDimensionValues(java.lang.String dimName)
          The values for a specified dimension.
 int getFieldType(java.lang.String name)
          The field type of a variable or dimension.
 IName getFullName()
          The associated name object.
 int getIndexFromValue(java.lang.String name, java.lang.Object value)
          Return the index of a specified variable or dimension value.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the Dataset.
 java.lang.String getPathName()
          The file system full path of the workspace.
 IWorkspaceProperty getProperty(int propertyGroup, int propertyType)
          Information about this particular property.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 ISpatialReference getSpatialReference(java.lang.String varName, java.lang.String xDim, java.lang.String yDim)
          The spatial reference for a variable.
 IEnumDataset getSubsets()
          Datasets contained within this dataset.
 int getType()
          The Type of the Workspace.
 java.lang.Object getValueFromIndex(int index, java.lang.String name)
          The dimension or variable value for a given index.
 IStringArray getVariables()
          The array of variable strings.
 IStringArray getVariablesByDimension(java.lang.String dimName)
          All variables having the specified dimension name.
 IWorkspace getWorkspace()
          The workspace containing this dataset.
 IWorkspaceFactory getWorkspaceFactory()
          The factory that created the workspace.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isDirectory()
          TRUE if the workspace is a file system directory.
 void release()
          Release a NetCDFWorkspace.
 void rename(java.lang.String name)
          Renames this Dataset.
 void setBrowseName(java.lang.String name)
          The browse name of the dataset.
 void setProperty(int propertyGroup, int propertyType, IWorkspaceProperty workspaceProperty)
          Information about this particular property.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetCDFWorkspace

public NetCDFWorkspace(java.lang.Object obj)
                throws java.io.IOException
Construct a NetCDFWorkspace using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to NetCDFWorkspace.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
NetCDFWorkspace o = (NetCDFWorkspace)obj; // will not work

NetCDFWorkspace o = new NetCDFWorkspace(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems NetCDFWorkspace theNetCDFWorkspace = (NetCDFWorkspace) obj;
Method Detail

equals

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

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a NetCDFWorkspace.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

getConnectionProperties

public IPropertySet getConnectionProperties()
                                     throws java.io.IOException,
                                            AutomationException
The connection properties of the workspace.

Specified by:
getConnectionProperties in interface IWorkspace
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspaceFactory

public IWorkspaceFactory getWorkspaceFactory()
                                      throws java.io.IOException,
                                             AutomationException
The factory that created the workspace.

Specified by:
getWorkspaceFactory in interface IWorkspace
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceFactory
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasets

public IEnumDataset getDatasets(int datasetType)
                         throws java.io.IOException,
                                AutomationException
The datasets in the workspace.

Specified by:
getDatasets in interface IWorkspace
Parameters:
datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDatasetNames

public IEnumDatasetName getDatasetNames(int datasetType)
                                 throws java.io.IOException,
                                        AutomationException
The DatasetNames in the workspace.

Specified by:
getDatasetNames in interface IWorkspace
Parameters:
datasetType - A com.esri.arcgis.geodatabase.esriDatasetType constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDatasetName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPathName

public java.lang.String getPathName()
                             throws java.io.IOException,
                                    AutomationException
The file system full path of the workspace.

Specified by:
getPathName in interface IWorkspace
Returns:
The pathName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
The Type of the Workspace.

Specified by:
getType in interface IDataset
Specified by:
getType in interface IWorkspace
Returns:
A com.esri.arcgis.geodatabase.esriWorkspaceType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirectory

public boolean isDirectory()
                    throws java.io.IOException,
                           AutomationException
TRUE if the workspace is a file system directory.

Specified by:
isDirectory in interface IWorkspace
Returns:
The isDir
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exists

public boolean exists()
               throws java.io.IOException,
                      AutomationException
Checks if the workspace exists.

Specified by:
exists in interface IWorkspace
Returns:
The exists
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

executeSQL

public void executeSQL(java.lang.String sqlStmt)
                throws java.io.IOException,
                       AutomationException
Executes the specified SQL statement.

Specified by:
executeSQL in interface IWorkspace
Parameters:
sqlStmt - The sqlStmt (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVariables

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

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

getDimensions

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

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

getAttributeNames

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

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

getDimensionSize

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

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

getDimensionsByVariable

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

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

getVariablesByDimension

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

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

getDimensionValue

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

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

getDimensionIndex

public int getDimensionIndex(java.lang.String dimName,
                             java.lang.Object vValue)
                      throws java.io.IOException,
                             AutomationException
The dimension index for a specified dimension and value.

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

getAttributeValue

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

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

getDimensionValues

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

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

getSpatialReference

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

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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFieldType

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

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

getValueFromIndex

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

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

getIndexFromValue

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

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

createView

public IDataset createView(java.lang.String viewName,
                           IMDDatasetView pView)
                    throws java.io.IOException,
                           AutomationException
Creates a dataset from a view definition.

Specified by:
createView in interface IMDWorkspace
Parameters:
viewName - The viewName (in)
pView - A reference to a com.esri.arcgis.datasourcesnetCDF.IMDDatasetView (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the Dataset.

Specified by:
getName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
The associated name object.

Specified by:
getFullName in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBrowseName

public java.lang.String getBrowseName()
                               throws java.io.IOException,
                                      AutomationException
The browse name of the dataset.

Specified by:
getBrowseName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBrowseName

public void setBrowseName(java.lang.String name)
                   throws java.io.IOException,
                          AutomationException
The browse name of the dataset.

Specified by:
setBrowseName in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
The category of the dataset.

Specified by:
getCategory in interface IDataset
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubsets

public IEnumDataset getSubsets()
                        throws java.io.IOException,
                               AutomationException
Datasets contained within this dataset.

Specified by:
getSubsets in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getWorkspace

public IWorkspace getWorkspace()
                        throws java.io.IOException,
                               AutomationException
The workspace containing this dataset.

Specified by:
getWorkspace in interface IDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPropertySet

public IPropertySet getPropertySet()
                            throws java.io.IOException,
                                   AutomationException
The set of properties for the dataset.

Specified by:
getPropertySet in interface IDataset
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canCopy

public boolean canCopy()
                throws java.io.IOException,
                       AutomationException
True if this dataset can be copied.

Specified by:
canCopy in interface IDataset
Returns:
The canCopy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copy

public IDataset copy(java.lang.String copyName,
                     IWorkspace copyWorkspace)
              throws java.io.IOException,
                     AutomationException
Copies this dataset to a new dataset with the specified name.

Specified by:
copy in interface IDataset
Parameters:
copyName - The copyName (in)
copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canDelete

public boolean canDelete()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be deleted.

Specified by:
canDelete in interface IDataset
Returns:
The canDelete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Deletes this dataset.

Specified by:
delete in interface IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canRename

public boolean canRename()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be renamed.

Specified by:
canRename in interface IDataset
Returns:
The canRename
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rename

public void rename(java.lang.String name)
            throws java.io.IOException,
                   AutomationException
Renames this Dataset.

Specified by:
rename in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProperty

public IWorkspaceProperty getProperty(int propertyGroup,
                                      int propertyType)
                               throws java.io.IOException,
                                      AutomationException
Information about this particular property.

Specified by:
getProperty in interface IWorkspaceProperties
Parameters:
propertyGroup - A com.esri.arcgis.geodatabase.esriWorkspacePropertyGroupType constant (in)
propertyType - The propertyType (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspaceProperty
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setProperty

public void setProperty(int propertyGroup,
                        int propertyType,
                        IWorkspaceProperty workspaceProperty)
                 throws java.io.IOException,
                        AutomationException
Information about this particular property.

Specified by:
setProperty in interface IWorkspaceProperties
Parameters:
propertyGroup - A com.esri.arcgis.geodatabase.esriWorkspacePropertyGroupType constant (in)
propertyType - The propertyType (in)
workspaceProperty - A reference to a com.esri.arcgis.geodatabase.IWorkspaceProperty (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.