|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRelatedObjectClassEvents
Provides access to events that occur when related objects are created.
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
Method Summary | |
---|---|
void |
relatedObjectCreated(IRelationshipClass relationshipClass,
IObject objectThatWasCreated)
Notifies this object class that a related object was created. |
Method Detail |
---|
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.
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |