oaDestroy1to1RelationshipChangeRec Class Reference

Inheritance diagram for oaDestroy1to1RelationshipChangeRec:

oaDestroyRelationshipChangeRec oaRelationshipChangeRec oaLeafChangeRec oaChangeRec


Public Methods

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

Detailed Description

The oaDestroy1to1RelationshipChangeRec class represents a change record that captures information related to the destruction of a relationship between two single objects.

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


Constructor & Destructor Documentation

oaDestroy1to1RelationshipChangeRec::oaDestroy1to1RelationshipChangeRec oaChangeSetBase *    changeSetIn,
sr::sr1to1Relationship::SPtr    valueIn
 

This is the oaDestroy1to1RelationshipChangeRec constructor.

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

oaDestroy1to1RelationshipChangeRec::~oaDestroy1to1RelationshipChangeRec   [virtual]
 

This is the oaDestroy1to1RelationshipChangeRec destructor.


Member Function Documentation

void oaDestroy1to1RelationshipChangeRec::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 * oaDestroy1to1RelationshipChangeRec::getFrom   const [virtual]
 

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

Reimplemented from oaRelationshipChangeRec.

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

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

Reimplemented from oaRelationshipChangeRec.

sr::sr1to1Relationship::SPtr oaDestroy1to1RelationshipChangeRec::getValue   const
 

This function returns a smart pointer to the sr1to1Relationship 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