OtlId extends otl_value<long> with a conversion from an OSB object identifier, which converts an unset id to a NULL value. This makes it easy to use a nullable id in a database transaction.
Definition at line 169 of file otl.h.
OSB_DB::OtlId::OtlId | ( | const otl_null & | rhs | ) | [inline] |
OSB_DB::OtlId::OtlId | ( | const OSB_LIB::Id< T > & | rhs | ) | [inline, explicit] |
Conversion from type safe OSB object identifiers. The 'not set' identifier value is mapped to NULL.
Definition at line 183 of file otl.h.
References OSB_LIB::Id< T >::notSet().
long OSB_DB::OtlId::id | ( | ) | const [inline] |
For use in the constructor of an OSB object identifier. A NULL value is translated to OSB_LIB::ID_NOT_SET.
Definition at line 192 of file otl.h.
References nvl().
static long OSB_DB::OtlId::nvl | ( | ) | [inline, static] |
The value for id() for a NULL value in the database.
Definition at line 199 of file otl.h.
References OSB_LIB::ID_NOT_SET.
Referenced by id().