org.omg.CORBA
Class TypeCode

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by org.omg.CORBA.TypeCode
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

public abstract class TypeCode
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements IDLEntity sample code for org.omg.CORBA.portable.IDLEntity definition code for org.omg.CORBA.portable.IDLEntity

A container for information about a specific CORBA data type.

TypeCode objects are used:

The representation of a TypeCode object is opaque, but abstractly, a TypeCode object consists of:

TypeCode objects can be obtained in various ways:
  1. from a call to the method Any.insert_X, where X is a basic IDL type. This method creates a TypeCode object for type X and assigns it to the Any object's type field.
  2. from invocations of methods in the ORB class

    For example, the following creates a TypeCode object for a string with a maximum of 30 characters:

       org.omg.CORBA.TypeCode tcString = orb.create_string_tc(30);
     

    The following creates a TypeCode object for an array of five strings:

       org.omg.CORBA.TypeCode tcArray = orb.create_array_tc(
                                           5, TCKind.tk_string);
     

    The following creates a TypeCode object for an interface named "Account":

       org.omg.CORBA.TypeCode tcInterface = orb.create_interface_tc(
                                                     "thisId", "Account");
     
  3. as the return value from the _type method in Holder classes for user-defined IDL types. These Holder classes are generated by the idltojava compiler.
  4. from a CORBA Interface Repository

Most of the methods in the class TypeCode are accessors, and the information contained in a TypeCode object is specific to a particular type. Therefore, methods must be invoked only on the kind of type codes to which they apply. If an accessor method tries to access information from an inappropriate kind of type code, it will throw the exception TypeCodePackage.BadKind. For example, if the method discriminator_type is called on anything other than a union, it will throw BadKind because only unions have a discriminator. The following list shows which methods apply to which kinds of type codes:

These methods may be invoked on all TypeCode kinds:

These methods may be invoked on objref, struct, union, enum, alias, exception, value, value_box, native, and abstract_interface:

These methods may be invoked on struct, union, enum, and exception:

These methods may be invoked on struct, union, and exception:

These methods may be invoked on union:

These methods may be invoked on string, sequence, and array:

These methods may be invoked on alias, sequence, array, and value_box:

Unlike other CORBA pseudo-objects, TypeCode objects can be passed as general IDL parameters.

The methods parameter and param_count, which are deprecated, are not mapped.

Java IDL extends the CORBA specification to allow all operations permitted on a struct TypeCode to be permitted on an exception TypeCode as well.

See Also:
Serialized Form

Constructor Summary
TypeCode sample code for org.omg.CORBA.TypeCode.TypeCode() definition code for org.omg.CORBA.TypeCode.TypeCode() ()
           
 
Method Summary
abstract  TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode concrete_base_type sample code for org.omg.CORBA.TypeCode.concrete_base_type() definition code for org.omg.CORBA.TypeCode.concrete_base_type() ()
          Returns the TypeCode object that describes the concrete base type of the value type that this TypeCode object describes.
abstract  TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode content_type sample code for org.omg.CORBA.TypeCode.content_type() definition code for org.omg.CORBA.TypeCode.content_type() ()
          Returns the TypeCode object representing the IDL type for the members of the object described by this TypeCode object.
abstract  int default_index sample code for org.omg.CORBA.TypeCode.default_index() definition code for org.omg.CORBA.TypeCode.default_index() ()
          Returns the index of the default member, or -1 if there is no default member.
abstract  TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode discriminator_type sample code for org.omg.CORBA.TypeCode.discriminator_type() definition code for org.omg.CORBA.TypeCode.discriminator_type() ()
          Returns a TypeCode object describing all non-default member labels.
abstract  boolean equal sample code for org.omg.CORBA.TypeCode.equal(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.TypeCode.equal(org.omg.CORBA.TypeCode) (TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  tc)
          Compares this TypeCode object with the given one, testing for equality.
abstract  boolean equivalent sample code for org.omg.CORBA.TypeCode.equivalent(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.TypeCode.equivalent(org.omg.CORBA.TypeCode) (TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  tc)
          Tests to see if the given TypeCode object is equivalent to this TypeCode object.
abstract  short fixed_digits sample code for org.omg.CORBA.TypeCode.fixed_digits() definition code for org.omg.CORBA.TypeCode.fixed_digits() ()
          Returns the number of digits in the fixed type described by this TypeCode object.
abstract  short fixed_scale sample code for org.omg.CORBA.TypeCode.fixed_scale() definition code for org.omg.CORBA.TypeCode.fixed_scale() ()
          Returns the scale of the fixed type described by this TypeCode object.
abstract  TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode get_compact_typecode sample code for org.omg.CORBA.TypeCode.get_compact_typecode() definition code for org.omg.CORBA.TypeCode.get_compact_typecode() ()
          Strips out all optional name and member name fields, but leaves all alias typecodes intact.
abstract  String sample code for java.lang.String definition code for java.lang.String id sample code for org.omg.CORBA.TypeCode.id() definition code for org.omg.CORBA.TypeCode.id() ()
          Retrieves the RepositoryId globally identifying the type of this TypeCode object.
abstract  TCKind sample code for org.omg.CORBA.TCKind definition code for org.omg.CORBA.TCKind kind sample code for org.omg.CORBA.TypeCode.kind() definition code for org.omg.CORBA.TypeCode.kind() ()
          Retrieves the kind of this TypeCode object.
abstract  int length sample code for org.omg.CORBA.TypeCode.length() definition code for org.omg.CORBA.TypeCode.length() ()
          Returns the number of elements in the type described by this TypeCode object.
abstract  int member_count sample code for org.omg.CORBA.TypeCode.member_count() definition code for org.omg.CORBA.TypeCode.member_count() ()
          Retrieves the number of members in the type described by this TypeCode object.
abstract  Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any member_label sample code for org.omg.CORBA.TypeCode.member_label(int) definition code for org.omg.CORBA.TypeCode.member_label(int) (int index)
          Retrieves the label of the union member identified by the given index.
abstract  String sample code for java.lang.String definition code for java.lang.String member_name sample code for org.omg.CORBA.TypeCode.member_name(int) definition code for org.omg.CORBA.TypeCode.member_name(int) (int index)
          Retrieves the simple name of the member identified by the given index.
abstract  TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode member_type sample code for org.omg.CORBA.TypeCode.member_type(int) definition code for org.omg.CORBA.TypeCode.member_type(int) (int index)
          Retrieves the TypeCode object describing the type of the member identified by the given index.
abstract  short member_visibility sample code for org.omg.CORBA.TypeCode.member_visibility(int) definition code for org.omg.CORBA.TypeCode.member_visibility(int) (int index)
          Returns the constant that indicates the visibility of the member at the given index.
abstract  String sample code for java.lang.String definition code for java.lang.String name sample code for org.omg.CORBA.TypeCode.name() definition code for org.omg.CORBA.TypeCode.name() ()
          Retrieves the simple name identifying this TypeCode object within its enclosing scope.
abstract  short type_modifier sample code for org.omg.CORBA.TypeCode.type_modifier() definition code for org.omg.CORBA.TypeCode.type_modifier() ()
          Returns a constant indicating the modifier of the value type that this TypeCode object describes.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

TypeCode sample code for org.omg.CORBA.TypeCode() definition code for org.omg.CORBA.TypeCode()

public TypeCode()
Method Detail

equal sample code for org.omg.CORBA.TypeCode.equal(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.TypeCode.equal(org.omg.CORBA.TypeCode)

public abstract boolean equal(TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  tc)
Compares this TypeCode object with the given one, testing for equality. TypeCode objects are equal if they are interchangeable and give identical results when TypeCode operations are applied to them.

Parameters:
tc - the TypeCode object to compare against
Returns:
true if the type codes are equal; false otherwise

equivalent sample code for org.omg.CORBA.TypeCode.equivalent(org.omg.CORBA.TypeCode) definition code for org.omg.CORBA.TypeCode.equivalent(org.omg.CORBA.TypeCode)

public abstract boolean equivalent(TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  tc)
Tests to see if the given TypeCode object is equivalent to this TypeCode object.

Parameters:
tc - the typecode to compare with this typecode
Returns:
true if the given typecode is equivalent to this typecode; false otherwise

get_compact_typecode sample code for org.omg.CORBA.TypeCode.get_compact_typecode() definition code for org.omg.CORBA.TypeCode.get_compact_typecode()

public abstract TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  get_compact_typecode()
Strips out all optional name and member name fields, but leaves all alias typecodes intact.

Returns:
a TypeCode object with optional name and member name fields stripped out, except for alias typecodes, which are left intact
See Also:
CORBA package comments for unimplemented features

kind sample code for org.omg.CORBA.TypeCode.kind() definition code for org.omg.CORBA.TypeCode.kind()

public abstract TCKind sample code for org.omg.CORBA.TCKind definition code for org.omg.CORBA.TCKind  kind()
Retrieves the kind of this TypeCode object. The kind of a type code determines which TypeCode methods may legally be invoked on it.

The method kind may be invoked on any TypeCode object.

Returns:
the TCKind instance indicating the value of the kind field of this TypeCode object

id sample code for org.omg.CORBA.TypeCode.id() definition code for org.omg.CORBA.TypeCode.id()

public abstract String sample code for java.lang.String definition code for java.lang.String  id()
                   throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Retrieves the RepositoryId globally identifying the type of this TypeCode object.

The method id can be invoked on object reference, structure, union, enumeration, alias, exception, valuetype, boxed valuetype, native, and abstract interface type codes. Object reference, exception, valuetype, boxed valuetype, native, and abstract interface TypeCode objects always have a RepositoryId. Structure, union, enumeration, and alias TypeCode objects obtained from the Interface Repository or the method ORB.create_operation_list also always have a RepositoryId. If there is no RepositoryId, the method can return an empty string.

Returns:
the RepositoryId for this TypeCode object or an empty string if there is no RepositoryID
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on an inappropriate kind ofTypeCode object

name sample code for org.omg.CORBA.TypeCode.name() definition code for org.omg.CORBA.TypeCode.name()

public abstract String sample code for java.lang.String definition code for java.lang.String  name()
                     throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Retrieves the simple name identifying this TypeCode object within its enclosing scope. Since names are local to a Repository, the name returned from a TypeCode object may not match the name of the type in any particular Repository, and may even be an empty string.

The method name can be invoked on object reference, structure, union, enumeration, alias, exception, valuetype, boxed valuetype, native, and abstract interface TypeCode objects.

Returns:
the name identifying this TypeCode object or an empty string
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on an inappropriate kind ofTypeCode object

member_count sample code for org.omg.CORBA.TypeCode.member_count() definition code for org.omg.CORBA.TypeCode.member_count()

public abstract int member_count()
                          throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Retrieves the number of members in the type described by this TypeCode object.

The method member_count can be invoked on structure, union, and enumeration TypeCode objects. Java IDL extends the CORBA specification to allow this method to operate on exceptions as well.

Returns:
the number of members constituting the type described by this TypeCode object
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on an inappropriate kind of TypeCode object

member_name sample code for org.omg.CORBA.TypeCode.member_name(int) definition code for org.omg.CORBA.TypeCode.member_name(int)

public abstract String sample code for java.lang.String definition code for java.lang.String  member_name(int index)
                            throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind ,
                                   Bounds sample code for org.omg.CORBA.TypeCodePackage.Bounds definition code for org.omg.CORBA.TypeCodePackage.Bounds 
Retrieves the simple name of the member identified by the given index. Since names are local to a Repository, the name returned from a TypeCode object may not match the name of the member in any particular Repository, and may even be an empty string.

The method member_name can be invoked on structure, union, and enumeration TypeCode objects. Java IDL extends the CORBA specification to allow this method to operate on exceptions as well.

Parameters:
index - index of the member for which a name is being reqested
Returns:
simple name of the member identified by the index or an empty string
Throws:
Bounds sample code for org.omg.CORBA.TypeCodePackage.Bounds definition code for org.omg.CORBA.TypeCodePackage.Bounds - if the index is equal to or greater than the number of members constituting the type
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on an inappropriate kind of TypeCode object

member_type sample code for org.omg.CORBA.TypeCode.member_type(int) definition code for org.omg.CORBA.TypeCode.member_type(int)

public abstract TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  member_type(int index)
                              throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind ,
                                     Bounds sample code for org.omg.CORBA.TypeCodePackage.Bounds definition code for org.omg.CORBA.TypeCodePackage.Bounds 
Retrieves the TypeCode object describing the type of the member identified by the given index.

The method member_type can be invoked on structure and union TypeCode objects. Java IDL extends the CORBA specification to allow this method to operate on exceptions as well.

Parameters:
index - index of the member for which type information is begin requested
Returns:
the TypeCode object describing the member at the given index
Throws:
Bounds sample code for org.omg.CORBA.TypeCodePackage.Bounds definition code for org.omg.CORBA.TypeCodePackage.Bounds - if the index is equal to or greater than the number of members constituting the type
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on an inappropriate kind of TypeCode object

member_label sample code for org.omg.CORBA.TypeCode.member_label(int) definition code for org.omg.CORBA.TypeCode.member_label(int)

public abstract Any sample code for org.omg.CORBA.Any definition code for org.omg.CORBA.Any  member_label(int index)
                          throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind ,
                                 Bounds sample code for org.omg.CORBA.TypeCodePackage.Bounds definition code for org.omg.CORBA.TypeCodePackage.Bounds 
Retrieves the label of the union member identified by the given index. For the default member, the label is the zero octet.

The method member_label can only be invoked on union TypeCode objects.

Parameters:
index - index of the union member for which the label is being requested
Returns:
an Any object describing the label of the requested union member or the zero octet for the default member
Throws:
Bounds sample code for org.omg.CORBA.TypeCodePackage.Bounds definition code for org.omg.CORBA.TypeCodePackage.Bounds - if the index is equal to or greater than the number of members constituting the union
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on a non-union TypeCode object

discriminator_type sample code for org.omg.CORBA.TypeCode.discriminator_type() definition code for org.omg.CORBA.TypeCode.discriminator_type()

public abstract TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  discriminator_type()
                                     throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Returns a TypeCode object describing all non-default member labels. The method discriminator_type can be invoked only on union TypeCode objects.

Returns:
the TypeCode object describing the non-default member labels
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on a non-union TypeCode object

default_index sample code for org.omg.CORBA.TypeCode.default_index() definition code for org.omg.CORBA.TypeCode.default_index()

public abstract int default_index()
                           throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Returns the index of the default member, or -1 if there is no default member.

The method default_index can be invoked only on union TypeCode objects.

Returns:
the index of the default member, or -1 if there is no default member
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on a non-union TypeCode object

length sample code for org.omg.CORBA.TypeCode.length() definition code for org.omg.CORBA.TypeCode.length()

public abstract int length()
                    throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Returns the number of elements in the type described by this TypeCode object. For strings and sequences, it returns the bound, with zero indicating an unbounded string or sequence. For arrays, it returns the number of elements in the array.

The method length can be invoked on string, sequence, and array TypeCode objects.

Returns:
the bound for strings and sequences, or the number of elements for arrays
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on an inappropriate kind of TypeCode object

content_type sample code for org.omg.CORBA.TypeCode.content_type() definition code for org.omg.CORBA.TypeCode.content_type()

public abstract TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  content_type()
                               throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Returns the TypeCode object representing the IDL type for the members of the object described by this TypeCode object. For sequences and arrays, it returns the element type. For aliases, it returns the original type. Note that multidimensional arrays are represented by nesting TypeCode objects, one per dimension. For boxed valuetypes, it returns the boxed type.

The method content_type can be invoked on sequence, array, alias, and boxed valuetype TypeCode objects.

Returns:
a TypeCode object representing the element type for sequences and arrays, the original type for aliases, or the boxed type for boxed valuetypes.
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if the method is invoked on an inappropriate kind of TypeCode object

fixed_digits sample code for org.omg.CORBA.TypeCode.fixed_digits() definition code for org.omg.CORBA.TypeCode.fixed_digits()

public abstract short fixed_digits()
                            throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Returns the number of digits in the fixed type described by this TypeCode object. For example, the typecode for the number 3000.275d could be fixed<7,3>, where 7 is the precision and 3 is the scale.

Returns:
the total number of digits
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if this method is invoked on an inappropriate kind of TypeCode object

fixed_scale sample code for org.omg.CORBA.TypeCode.fixed_scale() definition code for org.omg.CORBA.TypeCode.fixed_scale()

public abstract short fixed_scale()
                           throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Returns the scale of the fixed type described by this TypeCode object. A positive number indicates the number of digits to the right of the decimal point. For example, the number 3000d could have the typecode fixed<4,0>, where the first number is the precision and the second number is the scale. A negative number is also possible and adds zeroes to the left of the decimal point. In this case, fixed<1,-3>, could be the typecode for the number 3000d.

Returns:
the scale of the fixed type that this TypeCode object describes
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if this method is invoked on an inappropriate kind of TypeCode object

member_visibility sample code for org.omg.CORBA.TypeCode.member_visibility(int) definition code for org.omg.CORBA.TypeCode.member_visibility(int)

public abstract short member_visibility(int index)
                                 throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind ,
                                        Bounds sample code for org.omg.CORBA.TypeCodePackage.Bounds definition code for org.omg.CORBA.TypeCodePackage.Bounds 
Returns the constant that indicates the visibility of the member at the given index. This operation can only be invoked on non-boxed value TypeCode objects.

Parameters:
index - an int indicating the index into the value
Returns:
either PRIVATE_MEMBER.value or PUBLIC_MEMBER.value
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if this method is invoked on a non-value type TypeCode object
Bounds sample code for org.omg.CORBA.TypeCodePackage.Bounds definition code for org.omg.CORBA.TypeCodePackage.Bounds - if the given index is out of bounds
See Also:
CORBA package comments for unimplemented features

type_modifier sample code for org.omg.CORBA.TypeCode.type_modifier() definition code for org.omg.CORBA.TypeCode.type_modifier()

public abstract short type_modifier()
                             throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Returns a constant indicating the modifier of the value type that this TypeCode object describes. The constant returned must be one of the following: VM_NONE.value, VM_ABSTRACT.value, VM_CUSTOM.value, or VM_TRUNCATABLE.value,

Returns:
a constant describing the value type that this TypeCode object describes
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if this method is invoked on a non-value type TypeCode object
See Also:
CORBA package comments for unimplemented features

concrete_base_type sample code for org.omg.CORBA.TypeCode.concrete_base_type() definition code for org.omg.CORBA.TypeCode.concrete_base_type()

public abstract TypeCode sample code for org.omg.CORBA.TypeCode definition code for org.omg.CORBA.TypeCode  concrete_base_type()
                                     throws BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind 
Returns the TypeCode object that describes the concrete base type of the value type that this TypeCode object describes. Returns null if it doesn't have a concrete base type.

Returns:
the TypeCode object that describes the concrete base type of the value type that this TypeCode object describes
Throws:
BadKind sample code for org.omg.CORBA.TypeCodePackage.BadKind definition code for org.omg.CORBA.TypeCodePackage.BadKind - if this method is invoked on a non-boxed value type TypeCode object
See Also:
CORBA package comments for unimplemented features