Name
TypeCode
Synopsis
A TypeCode
object describes the IDL type of a CORBA
object, analogously to how the Java Class for an object (obtained
using the getClass()
method on
java.lang.Object
) describes its Java type. At a
minimum, a TypeCode
object contains a
TCKind
element that specifies the IDL data type
that it represents. For structured IDL types, such as
structs
and unions, it also
contains additional information about the data type. The
member_XXX()
methods are used to obtain information
about the members of structs
,
unions, enum
s, and
exceptions, while the length()
method gives the length of string
s,
sequences, and array types, for example.
public abstract class TypeCode implements org.omg.CORBA.portable.IDLEntity { // Public Constructors public TypeCode(); // Public Instance Methods public abstract TypeCode concrete_base_type( ) throws org.omg.CORBA.TypeCodePackage.BadKind; public abstract TypeCode content_type( ) throws org.omg.CORBA.TypeCodePackage.BadKind; public abstract int default_index( ) throws org.omg.CORBA.TypeCodePackage.BadKind; public abstract TypeCode discriminator_type( ) throws org.omg.CORBA.TypeCodePackage.BadKind; public abstract boolean equal( TypeCode tc); public abstract boolean equivalent( TypeCode tc); public abstract short fixed_digits( ) throws org.omg.CORBA.TypeCodePackage.BadKind; public abstract short fixed_scale( ) throws org.omg.CORBA.TypeCodePackage.BadKind; ...
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.