|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabase.FGDCSynchronizer
public class FGDCSynchronizer
ESRI FGDC Synchronizer object.
Constructor Summary | |
---|---|
FGDCSynchronizer()
Constructs a FGDCSynchronizer using ArcGIS Engine. |
|
FGDCSynchronizer(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. FGDCSynchronizer theFGDCSynchronizer = (FGDCSynchronizer) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
IUID |
getClassID()
The class ID of the metadata synchronizer. |
static String |
getClsid()
getClsid. |
String |
getName()
The name of the metadata synchronizer. |
int |
hashCode()
the hashcode for this object |
void |
update(IXmlPropertySet propertySet,
String itemDesc,
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public FGDCSynchronizer() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic FGDCSynchronizer(Object obj) throws IOException
FGDCSynchronizer theFGDCSynchronizer = (FGDCSynchronizer) obj;
obj
to FGDCSynchronizer
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
A string that identifies the synchronizer. The Name is used when managing metadata synchronizers through the IMetadataSynchronizationManager interface.
getName
in interface IMetadataSynchronizer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IUID getClassID() throws IOException, AutomationException
A UID object that must be unique to the synchronizer.
getClassID
in interface IMetadataSynchronizer
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void update(IXmlPropertySet propertySet, String itemDesc, Object value) throws IOException, AutomationException
This method is used to define the structure of the metadata that is written during synchronization. It is called once for each property of the dataset during synchronization. The method requires three parameters; pPropertySet, itemDesc, and Value.
The pPropertySet parameter is an XML property set representing the metadata of the dataset being synchronized.
The itemDesc string parameter describes what object is being passed in the Value parameter.
The Value parameter is an object of the data sets whose metadata is being synchronized.
The different objects passed to the Update method, the Value parameter, vary from type of data set that is being synchronized. Not all itemDesc are supported for all data types. For instance CoverageEntity objects only apply to ArcInfo coverages and ArcInfo tables.
A complete list of the expected Values for the supported itemDesc items is available in the Technical Paper "Creating a Custom Metadata Synchronizer", May 2001.
update
in interface IMetadataSynchronizer
propertySet
- A reference to a com.esri.arcgis.geodatabase.IXmlPropertySet (in)itemDesc
- The itemDesc (in)value
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |