oaCreate1to1RelationshipChangeRec Class Reference

Inheritance diagram for oaCreate1to1RelationshipChangeRec:

oaCreateRelationshipChangeRec oaRelationshipChangeRec oaLeafChangeRec oaChangeRec


Public Methods

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

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


Constructor & Destructor Documentation

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

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

oaCreate1to1RelationshipChangeRec::~oaCreate1to1RelationshipChangeRec   [virtual]
 

This is the oaCreate1to1RelationshipChangeRec destructor.


Member Function Documentation

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

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

Reimplemented from oaRelationshipChangeRec.

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

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

Reimplemented from oaRelationshipChangeRec.

sr::sr1to1Relationship::SPtr oaCreate1to1RelationshipChangeRec::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