Called by setDatabaseDefaults() after the values are set.
If pDb is null, the database containing this entity is used.
This function allows custom classes to inspect and modify the values set by setDatabaseDefaults.