00001 #ifndef CDBBDB_OBJECT_HH
00002 #define CDBBDB_OBJECT_HH
00003
00004
00005
00006
00007 #include "CdbBase/CdbObject.hh"
00008
00009 #include "BdbCond/BdbObject.hh"
00010
00011
00012
00013
00014
00015
00016
00017 class CdbBdbObject : public CdbObject {
00018
00019 friend class CdbBdbObjectCreator;
00020
00021 private:
00022
00023
00024
00025
00026
00027 CdbBdbObject( );
00028
00029
00030
00031
00032
00033 CdbBdbObject( const CdbBdbObject& theObject );
00034
00035
00036
00037
00038
00039 CdbBdbObject& operator=( const CdbBdbObject& theObject );
00040
00041 protected:
00042
00043
00044
00045
00046
00047 CdbBdbObject( const CdbConditionPtr& theConditionPtr,
00048 const BdbTime& theBeginOriginalValidity,
00049 const BdbTime& theEndOriginalValidity,
00050 const BdbTime& theBeginValidity,
00051 const BdbTime& theEndValidity,
00052 const BdbTime& theBeginDuration,
00053 const BdbTime& theEndDuration,
00054 const BdbTime& theInsertionTime,
00055 const BdbHandle(BdbObject)& thePersObj
00056 );
00057
00058
00059
00060
00061
00062
00063 virtual ~CdbBdbObject( );
00064
00065 public:
00066
00067
00068
00069
00070
00071 const BdbRef(BdbObject)& objectRef( ) const;
00072
00073
00074
00075
00076
00077
00078
00079 virtual std::string id( ) const;
00080
00081
00082
00083
00084
00085
00086
00087 virtual std::string legacyId( ) const;
00088
00089
00090
00091
00092
00093
00094
00095 virtual std::string type( ) const;
00096
00097 private:
00098
00099 BdbRef(BdbObject) _objectRef;
00100 };
00101
00102 #endif // CDBBDB_OBJECT_HH