33 virtual void setAlias(
const QString& alias) = 0;
39 virtual const QByteArray&
getHash()
const = 0;
45 virtual void setHash(
const QByteArray& source) = 0;
51 virtual const QByteArray&
getData()
const = 0;
58 virtual const QByteArray&
setData(
const QByteArray& newData) = 0;
The iRecord class This is main interface for all records of database.
virtual const QString & getAlias() const =0
getAlias returns alias of the record.
virtual const QByteArray & getData() const =0
getData This method returns data of the record.
virtual const QByteArray & setData(const QByteArray &newData)=0
setData This method sets new data of record.
virtual const QByteArray & getHash() const =0
getHash return hash of data
virtual void setAlias(const QString &alias)=0
setAlias This method sets new alias for record.
virtual void setHash(const QByteArray &source)=0
setHash This method sets new hash of record.