public class MetadataCopyHelper extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ICopyHelper
Description 'Metadata Copy Helper.' 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 =
IID, IID7e3d4a40_727c_4d4f_9c06_b0e93c8dfe0a, xxDummy
Constructor and Description |
---|
MetadataCopyHelper()
Constructs a MetadataCopyHelper using ArcGIS Engine.
|
MetadataCopyHelper(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
MetadataCopyHelper theMetadataCopyHelper = (MetadataCopyHelper) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
hashCode()
the hashcode for this object
|
void |
release()
Release this COM object reference
|
void |
updateDatabaseMetadata(IPropertySet destPropertySet,
IDatasetName src,
IDatasetName dest)
Call this while creating a copy of a dataset in a geodatabase.
|
void |
updateMetadata(IName src,
IName dest,
boolean isMove)
Call this after creating a copy of a dataset, workspace, or file.
|
public MetadataCopyHelper() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic MetadataCopyHelper(java.lang.Object obj) throws java.io.IOException
MetadataCopyHelper theMetadataCopyHelper = (MetadataCopyHelper) obj;
obj
to MetadataCopyHelper
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void updateMetadata(IName src, IName dest, boolean isMove) throws java.io.IOException, AutomationException
updateMetadata
in interface ICopyHelper
src
- A reference to a com.esri.arcgis.system.IName (in)dest
- A reference to a com.esri.arcgis.system.IName (in)isMove
- The isMove (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void updateDatabaseMetadata(IPropertySet destPropertySet, IDatasetName src, IDatasetName dest) throws java.io.IOException, AutomationException
updateDatabaseMetadata
in interface ICopyHelper
destPropertySet
- A reference to a com.esri.arcgis.system.IPropertySet (in)src
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)dest
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.