com.esri.arcgis.geodatabase
Interface IRelatedObjectClassEvents

All Superinterfaces:
Serializable
All Known Implementing Classes:
AnnotationFeatureClassExtension, GeocodedFeatureClassExtension, GeocodingIndexClassExtension, SoundexTableClassExtension

public interface IRelatedObjectClassEvents
extends Serializable

Provides access to events that occur when related objects are created.

Description

The IRelatedObjectClassEvents interface is an optional interface that is implemented by class extensions to receive messages about newly created objects in related object classes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector

Method Summary
 void relatedObjectCreated(IRelationshipClass relationshipClass, IObject objectThatWasCreated)
          Notifies this object class that a related object was created.
 

Method Detail

relatedObjectCreated

void relatedObjectCreated(IRelationshipClass relationshipClass,
                          IObject objectThatWasCreated)
                          throws IOException,
                                 AutomationException
Notifies this object class that a related object was created.

Remarks

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.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
relationshipClass - A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)
objectThatWasCreated - A reference to a com.esri.arcgis.geodatabase.IObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
com.esri.arcgis.editor.IShortTransactionObjectInspector