oaLeafChangeRec Class Reference

Inheritance diagram for oaLeafChangeRec:

oaChangeRec oaAttributeChangeRec oaMarkerChangeRec oaObjectChangeRec oaRelationshipChangeRec oaSetAttributeChangeRec oaUnsetAttributeChangeRec oaExportMarkerChangeRec oaTransientMarkerChangeRec oaConvertObjectChangeRec oaCreateObjectChangeRec oaDestroyObjectChangeRec oaCreateRelationshipChangeRec oaDestroyRelationshipChangeRec


Public Methods

 oaLeafChangeRec (oaChangeSetBase *changeSetIn)
oaBoolean isPrimary () const
void setIsPrimary (oaBoolean val)
virtual oaCMDatabaseRef::SPtr getDatabaseRef () const=0

Detailed Description

The oaLeafChangeRec class represents a simple change such as a changed attribute value.

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


Constructor & Destructor Documentation

oaLeafChangeRec::oaLeafChangeRec oaChangeSetBase *    changeSetIn
 

This is the oaLeafChangeRec constructor.

Parameters:
changeSetIn A pointer to the change set to contain the change record.


Member Function Documentation

oaCMDatabaseRef::SPtr oaLeafChangeRec::getDatabaseRef   const [pure virtual]
 

This function returns the database reference with which this leaf change record is associated.

Implemented in oaAttributeChangeRec, oaRelationshipChangeRec, oaObjectChangeRec, and oaMarkerChangeRec.

oaBoolean oaLeafChangeRec::isPrimary   const
 

An oaLeafChangeRec might have been specified as the primary change record for a series of hierarchical changes (with the oaHierChangeRec::setPrimary function). The oaLeafChangeRec::isPrimary function returns a boolean indicating whether or not this change record has been specified as such a primary record.

void oaLeafChangeRec::setIsPrimary oaBoolean    val
 

This function sets the boolean flag that indicates whether or not this change record is a primary change record for a series of hierarchical changes.

Parameters:
val The boolean value for the flag. True indicates that the oaLeafChangeRec is a primary change record.


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

Return to top of page