Each holder class has a constructor from an instance, a default constructor, and has a public instance member, value, which is the typed value.
|
The default constructor sets the value field to the default value for the type as defined by the Java language:
-
false for boolean, 0 for numeric and char types, null for strings, null for object references.
|
In order to support portable stubs and skeletons, holder classes for user defined types also have to implement the org.omg.CORBA.portable.Streamable interface.
|
The holder classes for the basic types are illustrated on next foil. Note that they do not implement the Streamable interface. They are in the org.omg.CORBA package.
|