com.esri.arcgis.geodatabase
Class MetadataSynchronizer

java.lang.Object
  extended by com.esri.arcgis.geodatabase.MetadataSynchronizer
All Implemented Interfaces:
IMetadataSynchronizer, IMetadataSynchronizerManager, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class MetadataSynchronizer
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IMetadataSynchronizer, IMetadataSynchronizerManager

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

Description 'Esri Metadata Synchronizer object (singleton).' 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.IMetadataSynchronizer
IID, IID6a07ca46_9575_4cfc_a0d4_f2c8f9d30569, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMetadataSynchronizerManager
IID, IID7d41e96f_9216_4f4b_9f9d_7a524aecfbcc, xxDummy
 
Constructor Summary
MetadataSynchronizer()
          Constructs a MetadataSynchronizer using ArcGIS Engine.
MetadataSynchronizer(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MetadataSynchronizer theMetadataSynchronizer = (MetadataSynchronizer) obj;
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 IUID getClassID()
          The class ID of the metadata synchronizer.
static java.lang.String getClsid()
          getClsid.
 boolean getEnabled(int index)
          Indicates whether the Nth synchronizer is enabled.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 java.lang.String getName()
          The name of the metadata synchronizer.
 int getNumSynchronizers()
          The number of available synchronizers.
 IMetadataSynchronizer getSynchronizer(int index)
          Gets the nth synchronizer.
 int hashCode()
          the hashcode for this object
 void release()
          Release a MetadataSynchronizer.
 void setEnabled(int index, boolean enabled)
          Set the synchronizer to be enabled or disabled.
 void update(IXmlPropertySet propertySet, java.lang.String itemDesc, java.lang.Object value)
          Updates the metadata item using the value passed in.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataSynchronizer

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

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

MetadataSynchronizer

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

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

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

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

getName

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

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

getClassID

public IUID getClassID()
                throws java.io.IOException,
                       AutomationException
The class ID of the metadata synchronizer.

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

update

public void update(IXmlPropertySet propertySet,
                   java.lang.String itemDesc,
                   java.lang.Object value)
            throws java.io.IOException,
                   AutomationException
Updates the metadata item using the value passed in.

Specified by:
update in interface IMetadataSynchronizer
Parameters:
propertySet - A reference to a com.esri.arcgis.geodatabase.IXmlPropertySet (in)
itemDesc - The itemDesc (in)
value - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumSynchronizers

public int getNumSynchronizers()
                        throws java.io.IOException,
                               AutomationException
The number of available synchronizers.

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

getSynchronizer

public IMetadataSynchronizer getSynchronizer(int index)
                                      throws java.io.IOException,
                                             AutomationException
Gets the nth synchronizer.

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

setEnabled

public void setEnabled(int index,
                       boolean enabled)
                throws java.io.IOException,
                       AutomationException
Set the synchronizer to be enabled or disabled.

Specified by:
setEnabled in interface IMetadataSynchronizerManager
Parameters:
index - The index (in)
enabled - The enabled (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEnabled

public boolean getEnabled(int index)
                   throws java.io.IOException,
                          AutomationException
Indicates whether the Nth synchronizer is enabled.

Specified by:
getEnabled in interface IMetadataSynchronizerManager
Parameters:
index - The index (in)
Returns:
The enabled
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.