BdsApi
2.2.7
This is the Blacknest BDS API.
|
This holds information on a medatdata or sensor data change. More...
#include <BdsD.h>
Public Member Functions | |
Change (BUInt32 id=0, BUInt32 changeGroupId=0, BTimeStamp time=BTimeStamp(), BString type=BString(), BString table=BString(), BUInt32 rowId=0) | |
BString | getType () |
BError | setMembers (BDictString &members) |
BError | setMember (BString name, BString value) |
BError | getMembers (BDictString &members) |
BError | getMember (BString name, BString &value) |
![]() | |
BObj () | |
virtual | ~BObj () |
virtual const char * | getType () const |
virtual const BObjMember * | getMembers () const |
virtual void | membersPrint () const |
virtual BString | getDebugString () |
Public Attributes | |
BUInt32 | id |
The unique id. More... | |
BUInt32 | changeGroupId |
The Change group ID. More... | |
BTimeStamp | time |
The Time the change was made. More... | |
BString | type |
The change type. More... | |
BString | table |
The database table affected. More... | |
BUInt32 | rowId |
The database row affected. More... | |
This holds information on a medatdata or sensor data change.
Whenever a change is made to the BDS metadata or 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.
Bds::Change::Change | ( | BUInt32 | id = 0 , |
BUInt32 | changeGroupId = 0 , |
||
BTimeStamp | time = BTimeStamp() , |
||
BString | type = BString() , |
||
BString | table = BString() , |
||
BUInt32 | rowId = 0 |
||
) |
|
virtual |
Reimplemented from BObj.
BString Bds::Change::getType | ( | ) |
|
virtual |
Reimplemented from BObj.
BUInt32 Bds::Change::id |
The unique id.
BUInt32 Bds::Change::rowId |
The database row affected.
BString Bds::Change::table |
The database table affected.
BTimeStamp Bds::Change::time |
The Time the change was made.
BString Bds::Change::type |
The change type.