Comparison and casting functions for structured types
- Constructor functions for structured types
When you create a structured type, Db2® creates a function of the same name as the type is created. This function has no parameters and returns an instance of the type with all of its attributes set to null. - Mutator methods for structured types
A mutator method exists for each attribute of an object. - Observer methods for structured types
An observer method exists for each attribute of an object. If the method for an attribute receives an object of the expected type or subtype, the method returns the value of the attribute for that object.