|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.location.GeocodingIndexClassExtension
public class GeocodingIndexClassExtension
A class extension for building and maintaining geocoding indexes.
The GeocodingIndexClassExtension is an object class extension for geocoding index Tables that are automatically maintained. This object only applies to pre-9.2 locator indexes.
When you register a Table as a geocoding index, use the IClassSchemaEdit::AlterClassExtensionCLSID method. With this method, you must specify a PropertySet that contains properties for the object class extension. The properties that this PropertySet must contain are:
For an example of setting up a geocoding index Table so that it is maintained automatically, see the Geocoding Index Maintenance sample in the Developer Samples section of the ArcObjects Developer Help system.
GeocodingIndexObject
,
GeocodingIndexClassExtension
,
ReferenceDataIndex
,
IReferenceDataTable.getGeocodingIndexes()
,
IGeocodingIndexCompute
,
IReferenceDataIndex
,
IReferenceDataIndexEdit
,
IAddressGeocoding.validate()
,
ReferenceDataIndexEnumerator
,
IEnumReferenceDataIndex
,
Serialized FormConstructor Summary | |
---|---|
GeocodingIndexClassExtension()
Constructs a GeocodingIndexClassExtension using ArcGIS Engine. |
|
GeocodingIndexClassExtension(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. GeocodingIndexClassExtension theGeocodingIndexClassExtension = (GeocodingIndexClassExtension) obj; |
Method Summary | |
---|---|
void |
computeIndexRow(IObject sourceRow,
IObject indexRow)
Generates the index row values for a reference data row. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
init(IClassHelper classHelper,
IPropertySet extensionProperties)
Initializes the extension, passing in a reference to its class helper. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
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 |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public GeocodingIndexClassExtension() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic GeocodingIndexClassExtension(Object obj) throws IOException
GeocodingIndexClassExtension theGeocodingIndexClassExtension = (GeocodingIndexClassExtension) obj;
obj
to GeocodingIndexClassExtension
.
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 void init(IClassHelper classHelper, IPropertySet extensionProperties) throws IOException, AutomationException
If a reference to the class is required by other class extension members, the class helper should be stored in a member variable. Storing an object or feature class directly within a class extension is strongly discouraged.
init
in interface IClassExtension
classHelper
- A reference to a com.esri.arcgis.geodatabase.IClassHelper (in)extensionProperties
- A reference to a com.esri.arcgis.system.IPropertySet (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void shutdown() throws IOException, AutomationException
Shutdown is called when the extension's class is cleared from the client's memory, or when the extension is removed from the class. Note that if a class is deleted from a geodatabase, it may remain in memory, so this should not be relied upon for behavior that should be triggered by a class' deletion.
shutdown
in interface IClassExtension
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void relatedObjectCreated(IRelationshipClass relationshipClass, IObject objectThatWasCreated) throws IOException, AutomationException
The 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 IRelatedObjectClassEvents
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatWasCreated
- A reference to a com.esri.arcgis.geodatabase.IObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector
public void computeIndexRow(IObject sourceRow, IObject indexRow) throws IOException, AutomationException
This method is deprecated.
computeIndexRow
in interface IGeocodingIndexCompute
sourceRow
- A reference to a com.esri.arcgis.geodatabase.IObject (in)indexRow
- A reference to a com.esri.arcgis.geodatabase.IObject (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 |