com.esri.arcgis.geodatabase
Class MosaicDatasetName

java.lang.Object
  extended by com.esri.arcgis.geodatabase.MosaicDatasetName
All Implemented Interfaces:
IDatasetName, IMosaicDatasetName, IMosaicDatasetName2, IMosaicDatasetName3, com.esri.arcgis.interop.RemoteObjRef, IName, java.io.Serializable

public class MosaicDatasetName
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IMosaicDatasetName, IMosaicDatasetName2, IMosaicDatasetName3, IName, IDatasetName

COM Class 'MosaicDatasetName'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriGeoDatabase.olb'

Description 'The mosaic dataset name 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.IMosaicDatasetName3
IID, IIDb12a96b1_f62f_435d_9544_1b67502d1a83, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMosaicDatasetName2
IID0b6f5156_2e59_41c8_9817_48d6d27ffa07
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMosaicDatasetName
IID8911e302_d22b_42cb_b994_d3774b276460
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDatasetName
IID, IID89e75917_c287_11d1_aa77_00c04fa33a15, xxDummy
 
Constructor Summary
MosaicDatasetName()
          Constructs a MosaicDatasetName using ArcGIS Engine.
MosaicDatasetName(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MosaicDatasetName theMosaicDatasetName = (MosaicDatasetName) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 java.lang.String getCategory()
          The category of the dataset.
 IStringArray getChildrenNames()
          The mosaic dataset table names.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the dataset.
 java.lang.String getNameString()
          The name string of the object.
 IEnumDatasetName getSubsetNames()
          Subset names contained within this dataset name.
 int getType()
          The type of the dataset.
 IWorkspaceName getWorkspaceName()
          The WorkspaceName of the DatasetName.
 int hashCode()
          the hashcode for this object
 boolean isReferenced()
          Indicates if this is a referenced mosaic dataset.
 java.lang.Object open()
          Opens the object referred to by this name.
 void release()
          Release a MosaicDatasetName.
 void repairReferencedSideTables(IName pName)
          Repair side tables of a broken referenced mosaic dataset.
 void setCategory(java.lang.String category)
          The category of the dataset.
 void setChildrenNamesByRef(IStringArray ppNames)
          The mosaic dataset table names.
 void setName(java.lang.String name)
          The name of the dataset.
 void setNameString(java.lang.String nameString)
          The name string of the object.
 void setReferenced(boolean pReferenced)
          Indicates if this is a referenced mosaic dataset.
 void setWorkspaceNameByRef(IWorkspaceName workspaceName)
          The WorkspaceName of the DatasetName.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MosaicDatasetName

public MosaicDatasetName()
                  throws java.io.IOException,
                         java.net.UnknownHostException
Constructs a MosaicDatasetName using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

MosaicDatasetName

public MosaicDatasetName(java.lang.Object obj)
                  throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MosaicDatasetName theMosaicDatasetName = (MosaicDatasetName) obj;

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

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

getClsid

public static java.lang.String getClsid()
getClsid.


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 MosaicDatasetName.

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

isReferenced

public boolean isReferenced()
                     throws java.io.IOException,
                            AutomationException
Indicates if this is a referenced mosaic dataset.

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

setReferenced

public void setReferenced(boolean pReferenced)
                   throws java.io.IOException,
                          AutomationException
Indicates if this is a referenced mosaic dataset.

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

getChildrenNames

public IStringArray getChildrenNames()
                              throws java.io.IOException,
                                     AutomationException
The mosaic dataset table names.

Specified by:
getChildrenNames in interface IMosaicDatasetName2
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.

setChildrenNamesByRef

public void setChildrenNamesByRef(IStringArray ppNames)
                           throws java.io.IOException,
                                  AutomationException
The mosaic dataset table names.

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

repairReferencedSideTables

public void repairReferencedSideTables(IName pName)
                                throws java.io.IOException,
                                       AutomationException
Repair side tables of a broken referenced mosaic dataset.

Specified by:
repairReferencedSideTables in interface IMosaicDatasetName3
Parameters:
pName - A reference to a com.esri.arcgis.system.IName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNameString

public void setNameString(java.lang.String nameString)
                   throws java.io.IOException,
                          AutomationException
The name string of the object.

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

getNameString

public java.lang.String getNameString()
                               throws java.io.IOException,
                                      AutomationException
The name string of the object.

Remarks

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.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

open

public java.lang.Object open()
                      throws java.io.IOException,
                             AutomationException
Opens the object referred to by this name.

Remarks

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.

Example:

IName   pName = pFeatureClassName; 
pFeatureClass = new IFeatureClassProxy(pName.open());

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
open in interface IName
Returns:
A reference to another Object (IUnknown)
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 IDatasetName
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setName

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

Specified by:
setName in interface IDatasetName
Parameters:
name - The name (in)
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 dataset.

Specified by:
getType in interface IDatasetName
Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
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 IDatasetName
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCategory

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

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

getWorkspaceName

public IWorkspaceName getWorkspaceName()
                                throws java.io.IOException,
                                       AutomationException
The WorkspaceName of the DatasetName.

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

setWorkspaceNameByRef

public void setWorkspaceNameByRef(IWorkspaceName workspaceName)
                           throws java.io.IOException,
                                  AutomationException
The WorkspaceName of the DatasetName.

Specified by:
setWorkspaceNameByRef in interface IDatasetName
Parameters:
workspaceName - A reference to a com.esri.arcgis.geodatabase.IWorkspaceName (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubsetNames

public IEnumDatasetName getSubsetNames()
                                throws java.io.IOException,
                                       AutomationException
Subset names contained within this dataset name.

Specified by:
getSubsetNames in interface IDatasetName
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.