If you need to store additional information in instances of the Fenced_Generic_Nickname
subclass, override the default implementation of the initialize_my_nickname
function to extract this information from the nickname information object
supplied as a parameter. In C++, you cannot retain a pointer to this nickname
information object. In Java™, you can retain a reference to the
nickname information object.
If you define nickname options, override the default implementation of
the verify_my_register_nickname_info function to verify that the validity
of the options and values supplied on the DDL. If you wish to alter an option
value supplied on the DDL, supply additional options, or supply information
and options obtained from the data source rather than from DDL, your implementation
should supply the overriding or additional information using a “delta” nickname
information object. Before allocating a new “delta” object, check whether
one already exists. If so, use it and do not allocate another. In Java, the
“delta” object is actually a return object and must be created by the wrapper.
If you allocated any out-of-line storage pointed to by the Unfenced_Generic_Nickname
subclass, you must implement a destructor for the subclass which frees this
storage.