52 virtual bool isValid()
const {
return true; }
LMFUnique & setInt(std::string key, int value)
oracle::occi::Environment * m_env
oracle::occi::Connection * m_conn
virtual std::list< std::unique_ptr< LMFUnique > > fetchAll() const noexcept(false)
virtual LMFUnique * createObject() const
virtual bool isValid() const
std::string sequencePostfix(const Tm &t)
oracle::occi::ResultSet ResultSet
virtual void setClassName(std::string s)
std::map< std::string, LMFUnique * > m_foreignKeys
std::string getString(std::string fieldname) const
virtual std::string setByIDSql(Statement *stmt, int id)
void setByID(int id) noexcept(false) override
virtual std::string writeDBSql(Statement *stmt)
std::map< std::string, std::string > m_stringFields
oracle::occi::Statement Statement
virtual bool operator<=(const LMFUnique &r)
LMFUnique(EcalDBConnection *c)
LMFUnique(oracle::occi::Environment *env, oracle::occi::Connection *conn)
virtual void dump() const
LMFUnique & setString(std::string key, std::string value)
virtual int writeDB() noexcept(false)
int getInt(std::string fieldname) const
virtual std::string fetchIdSql(Statement *stmt)
virtual std::string fetchAllSql(Statement *stmt) const
std::string getClassName() const
oracle::occi::Statement * stmt
virtual int writeForeignKeys() noexcept(false)
void setConnection(oracle::occi::Environment *env, oracle::occi::Connection *conn)
virtual void fetchParentIDs()
std::string getClassName()
void attach(std::string name, LMFUnique *u)
int fetchID() noexcept(false) override
virtual void getParameters(ResultSet *rset)
std::map< std::string, int > m_intFields