oaCreate1toNRelationshipChangeRec Class Reference

Inheritance diagram for oaCreate1toNRelationshipChangeRec:

oaCreateRelationshipChangeRec oaRelationshipChangeRec oaLeafChangeRec oaChangeRec


Public Methods

 oaCreate1toNRelationshipChangeRec (oaChangeSetBase *changeSetIn, sr::sr1toNRelationship::SPtr valueIn)
virtual ~oaCreate1toNRelationshipChangeRec ()
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 oaCreate1toNRelationshipChangeRec class represents a change record that captures information related to the creation of a relationship between a single from object to one or more to objects.

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


Constructor & Destructor Documentation

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

This is the oaCreate1toNRelationshipChangeRec 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.

oaCreate1toNRelationshipChangeRec::~oaCreate1toNRelationshipChangeRec   [virtual]
 

This is the oaCreate1toNRelationshipChangeRec destructor.


Member Function Documentation

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

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

Reimplemented from oaRelationshipChangeRec.

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

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

Reimplemented from oaRelationshipChangeRec.

sr::sr1toNRelationship::SPtr oaCreate1toNRelationshipChangeRec::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