Use this class for database operations whenever one of the values of a OSB_LIB::Id2<T> may not be set.
Definition at line 212 of file otl.h.
OSB_DB::OtlId2::OtlId2 | ( | const OSB_LIB::Id2< T > & | id | ) | [inline, explicit] |
Construct from an object id.
Definition at line 218 of file otl.h.
References id1_, id2_, and OSB_LIB::ID_NOT_SET.
OSB_DB::OtlId2::OtlId2 | ( | ) | [inline] |
long OSB_DB::OtlId2::id1 | ( | ) | const [inline] |
Get 1st identifier.
NULL from database is mapped to OSB_LIB::ID_NOT_SET.
long OSB_DB::OtlId2::id2 | ( | ) | const [inline] |
Get 2nd identifier.
NULL from database is mapped to OSB_LIB::ID_NOT_SET.
static long OSB_DB::OtlId2::nvl | ( | ) | [inline, static] |
The value for id() for a NULL value in the database.
Definition at line 257 of file otl.h.
References OSB_LIB::ID_NOT_SET.