|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.location.GeocodedFeatureClassExtension
A class extension for automatically maintaining geocoded feature classes.
The GeocodedFeatureClassExtension is a feature class extension for geocoded FeatureClasses that are automatically maintained.
When you register a FeatureClass as a geocoded feature class, use the IClassSchemaEdit::AlterClassExtensionCLSID method. With this method, you must specify a PropertySet that contains properties for the feature class extension. The properties that this PropertySet must contain are:
RelationshipClass,
Serialized Form| Constructor Summary | |
GeocodedFeatureClassExtension()
Constructs a GeocodedFeatureClassExtension using ArcGIS Engine. |
|
GeocodedFeatureClassExtension(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Compare this object with another |
void |
geocodeAddress(IObject address,
IFeature result)
Updates the geocoded feature. |
IClassExtension |
getAsIClassExtension()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IFeatureClassExtension |
getAsIFeatureClassExtension()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IGeocodedFeatureClass |
getAsIGeocodedFeatureClass()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IObjectClassExtension |
getAsIObjectClassExtension()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
IRelatedObjectClassEvents |
getAsIRelatedObjectClassEvents()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
ISupportErrorInfo |
getAsISupportErrorInfo()
Deprecated. No replacement. The object reference can be directly used where the implemented interface is needed. |
static java.lang.String |
getClsid()
|
int |
hashCode()
the hashcode for this object |
void |
init(IClassHelper pClassHelper,
IPropertySet pExtensionProperties)
Initializes the extension, passing in a reference to its class helper. |
void |
interfaceSupportsErrorInfo(GUID riid)
Supported Platforms |
boolean |
needsUpdate(IObject address,
IFeature shape)
Indicates if a geocoded feature needs to be updated. |
void |
relatedObjectCreated(IRelationshipClass relationshipClass,
IObject objectThatWasCreated)
Notifies this object class that a related object was created. |
void |
shutdown()
Informs the extension that its class helper is going away. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GeocodedFeatureClassExtension()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems
public GeocodedFeatureClassExtension(java.lang.Object obj)
throws java.io.IOException
obj to GeocodedFeatureClassExtension. GeocodedFeatureClassExtension theGeocodedFeatureClassExtension = (GeocodedFeatureClassExtension) obj;
obj - an object returned from ArcGIS Engine or Server
java.io.IOException - if there are interop problems| Method Detail |
public static java.lang.String getClsid()
public IClassExtension getAsIClassExtension()
public IObjectClassExtension getAsIObjectClassExtension()
public IFeatureClassExtension getAsIFeatureClassExtension()
public IRelatedObjectClassEvents getAsIRelatedObjectClassEvents()
public IGeocodedFeatureClass getAsIGeocodedFeatureClass()
public ISupportErrorInfo getAsISupportErrorInfo()
public boolean equals(java.lang.Object o)
public int hashCode()
public void init(IClassHelper pClassHelper,
IPropertySet pExtensionProperties)
throws java.io.IOException,
AutomationException
IClassExtension
init in interface IClassExtensionpClassHelper - A reference to a com.esri.arcgis.geodatabase.IClassHelper (in)pExtensionProperties - A reference to a com.esri.arcgis.system.IPropertySet (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void shutdown()
throws java.io.IOException,
AutomationException
IClassExtension
shutdown in interface IClassExtensionAutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void relatedObjectCreated(IRelationshipClass relationshipClass,
IObject objectThatWasCreated)
throws java.io.IOException,
AutomationException
IRelatedObjectClassEventsThe RelationshipClass argument is useful for establishing new relationships. Since an object class may often participate in many relationships, the properties of RelationshipClass can be used to modify behavior of this method.
In order for this method to be called, the relationship class must have messaging set. If the object class which this class extension is associated with is the origin class in the relationship class, then the messaging should be set to Backward or Both. If the object class is the destination class in the relationship, then messaging should be set to Forward or Both.
relatedObjectCreated in interface IRelatedObjectClassEventsrelationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatWasCreated - A reference to a com.esri.arcgis.geodatabase.IObject (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.IRelationshipClass,
IClassExtension
public boolean needsUpdate(IObject address,
IFeature shape)
throws java.io.IOException,
AutomationException
IGeocodedFeatureClassThe address parameter is an Object from the address Table.
The result parameter is a Feature representing the geocoded location of the Object.
needsUpdate in interface IGeocodedFeatureClassaddress - A reference to a com.esri.arcgis.geodatabase.IObject (in)shape - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
public void geocodeAddress(IObject address,
IFeature result)
throws java.io.IOException,
AutomationException
IGeocodedFeatureClassThis method returns a boolean value that indicates if the geometry of a GeocodedFeature needs to be updated.
The address parameter is an Object from the address Table.
The Shape parameter is a Feature representing the geocoded location of the Object.
geocodeAddress in interface IGeocodedFeatureClassaddress - A reference to a com.esri.arcgis.geodatabase.IObject (in)result - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void interfaceSupportsErrorInfo(GUID riid)
throws java.io.IOException,
AutomationException
ISupportErrorInfoIndicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
AutomationException - If the ArcObject component throws an exception.
java.io.IOException - If there are interop problems.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||