BDS Public
BdsApi 4.0.1
This is the Blacknest BDS API.
Loading...
Searching...
No Matches

This holds information on a Medatdata or Sensor data database change. More...

#include <BdsD.h>

Inheritance diagram for Bds::Change:
BObj

Public Member Functions

 Change (BUInt32 id=0, BUInt32 changeGroupId=0, BTimeStamp time=BTimeStamp(), BString type=BString(), BString table=BString(), BUInt32 rowId=0)
 
const char * getType () const
 
BError setMembers (BDictString &members)
 
BError setMember (BString name, BString value)
 
BError getMembers (BDictString &members)
 
BError getMember (BString name, BString &value)
 
- Public Member Functions inherited from BObj
 BObj ()
 
virtual ~BObj ()
 
virtual const char * getType () const
 
virtual const BObjMembergetMembers () const
 
virtual BError getMembers (BDictString &members)
 
virtual BError getMember (BString name, BString &value)
 
virtual BError setMembers (BDictString &members)
 
virtual BError setMember (BString name, BString value)
 
virtual void membersPrint () const
 
virtual BString getDebugString ()
 

Public Attributes

BUInt32 id
 The unique id.
 
BUInt32 changeGroupId
 The Change group ID.
 
BTimeStamp time
 The Time the change was made.
 
BString type
 The change type.
 
BString table
 The database table affected.
 
BUInt32 rowId
 The database row affected.
 

Detailed Description

This holds information on a Medatdata or Sensor data database change.

Whenever a change is made to the BDS Metadata or Sensor data a Change object is added to the BDS Changes database. This describes which database table and object that was added or modified. Change's are normally grouped together by a ChangeGroup.

Constructor & Destructor Documentation

◆ Change()

Bds::Change::Change ( BUInt32  id = 0,
BUInt32  changeGroupId = 0,
BTimeStamp  time = BTimeStamp(),
BString  type = BString(),
BString  table = BString(),
BUInt32  rowId = 0 
)

Member Function Documentation

◆ getType()

const char * Bds::Change::getType ( ) const
virtual

Reimplemented from BObj.

◆ setMembers()

BError Bds::Change::setMembers ( BDictString members)
virtual

Reimplemented from BObj.

◆ setMember()

BError Bds::Change::setMember ( BString  name,
BString  value 
)
virtual

Reimplemented from BObj.

◆ getMembers()

BError Bds::Change::getMembers ( BDictString members)
virtual

Reimplemented from BObj.

◆ getMember()

BError Bds::Change::getMember ( BString  name,
BString value 
)
virtual

Reimplemented from BObj.

Member Data Documentation

◆ id

BUInt32 Bds::Change::id

The unique id.

◆ changeGroupId

BUInt32 Bds::Change::changeGroupId

The Change group ID.

◆ time

BTimeStamp Bds::Change::time

The Time the change was made.

◆ type

BString Bds::Change::type

The change type.

◆ table

BString Bds::Change::table

The database table affected.

◆ rowId

BUInt32 Bds::Change::rowId

The database row affected.


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