oaDestroy1toNRelationshipChangeRec Class Reference

Inheritance diagram for oaDestroy1toNRelationshipChangeRec:

oaDestroyRelationshipChangeRec oaRelationshipChangeRec oaLeafChangeRec oaChangeRec


Public Methods

 oaDestroy1toNRelationshipChangeRec (oaChangeSetBase *changeSetIn, sr::sr1toNRelationship::SPtr valueIn)
virtual ~oaDestroy1toNRelationshipChangeRec ()
virtual const sd::sdRelationshipBase * getSchemaDefinition () const
virtual oaCMObjectRef::SPtr getFrom () const
sr::sr1toNRelationship::SPtr getValue () const
virtual void accept (oaChangeRecVisitor *visitor, oaBoolean forward=true)

Detailed Description

The oaDestroy1toNRelationshipChangeRec class represents a change record that captures information related to the destruction of a relationship between a single from object and one or more to objects.

Change records are used by the OpenAccess change management system (CMS).


Constructor & Destructor Documentation

oaDestroy1toNRelationshipChangeRec::oaDestroy1toNRelationshipChangeRec oaChangeSetBase *    changeSetIn,
sr::sr1toNRelationship::SPtr    valueIn
 

This is the oaDestroy1toNRelationshipChangeRec constructor.

Parameters:
changeSetIn A pointer to the change set to contain the change record.
valueIn A smart pointer to the sr1toNRelationship object that represents the particular relationship.

oaDestroy1toNRelationshipChangeRec::~oaDestroy1toNRelationshipChangeRec   [virtual]
 

This is the oaDestroy1toNRelationshipChangeRec destructor.


Member Function Documentation

void oaDestroy1toNRelationshipChangeRec::accept oaChangeRecVisitor *    visitor,
oaBoolean    forward = true
[virtual]
 

This function accepts a change record visitor. It calls the visit function of the specified visitor on this object.

The forward parameter indicates the direction in which the change records are being visited. The forward parameter might be set to false if the goal of the visit is to roll back changes due to an undo command.

Parameters:
visitor A pointer to the change record visitor to call on this object.
forward Specifies the direction in which change records are being visited.

Implements oaChangeRec.

sr::srObjectRef * oaDestroy1toNRelationshipChangeRec::getFrom   const [virtual]
 

This function returns the from object of the relationship associated with this change record.

Reimplemented from oaRelationshipChangeRec.

sd::sdRelationship * oaDestroy1toNRelationshipChangeRec::getSchemaDefinition   const [virtual]
 

This function returns a pointer to the schema definition for the 1-to-N relationship that is the subject of this oaDestroy1toNRelationshipChangeRec.

Reimplemented from oaRelationshipChangeRec.

sr::sr1toNRelationship::SPtr oaDestroy1toNRelationshipChangeRec::getValue   const
 

This function returns a smart pointer to the sr1toNRelationship object that represents the relationship that is the subject of this change record.


The documentation for this class was generated from the following files:

Return to top of page