public interface IRelatedObjectClassEvents
extends java.io.Serializable
The IRelatedObjectClassEvents interface is an optional interface that is implemented by class extensions to receive messages about newly created objects in related object classes.
com.esri.arcgis.editor.IShortTransactionObjectInspector
Modifier and Type | Method and Description |
---|---|
void |
relatedObjectCreated(IRelationshipClass relationshipClass,
IObject objectThatWasCreated)
Notifies this object class that a related object was created.
|
void relatedObjectCreated(IRelationshipClass relationshipClass, IObject objectThatWasCreated) throws java.io.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.
relationshipClass
- A reference to a com.esri.arcgis.geodatabase.IRelationshipClass (in)objectThatWasCreated
- A reference to a com.esri.arcgis.geodatabase.IObject (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.com.esri.arcgis.editor.IShortTransactionObjectInspector