## Uses of Class
org.omg.CORBA.TypeCodePackage.BadKind

- Packages that use BadKind
  Package | Description
  --- | ---
  org.omg.CORBA | Provides the mapping of the OMG CORBA APIs to the JavaTM programming language, including the class `ORB`, which is implemented so that a programmer can use it as a fully-functional Object Request Broker (ORB).

- - ### Uses of BadKind in org.omg.CORBA

    Methods in org.omg.CORBA that throw BadKind
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract TypeCode` | 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` | TypeCode.`content_type()` Returns the `TypeCode` object representing the IDL type for the members of the object described by this `TypeCode` object.
    `abstract int` | TypeCode.`default_index()` Returns the index of the default member, or -1 if there is no default member.
    `abstract TypeCode` | TypeCode.`discriminator_type()` Returns a `TypeCode` object describing all non-default member labels.
    `abstract short` | TypeCode.`fixed_digits()` Returns the number of digits in the fixed type described by this `TypeCode` object.
    `abstract short` | TypeCode.`fixed_scale()` Returns the scale of the fixed type described by this `TypeCode` object.
    `abstract String` | TypeCode.`id()` Retrieves the RepositoryId globally identifying the type of this `TypeCode` object.
    `abstract int` | TypeCode.`length()` Returns the number of elements in the type described by this `TypeCode` object.
    `abstract int` | TypeCode.`member_count()` Retrieves the number of members in the type described by this `TypeCode` object.
    `abstract Any` | TypeCode.`member_label(int index)` Retrieves the label of the union member identified by the given index.
    `abstract String` | TypeCode.`member_name(int index)` Retrieves the simple name of the member identified by the given index.
    `abstract TypeCode` | TypeCode.`member_type(int index)` Retrieves the `TypeCode` object describing the type of the member identified by the given index.
    `abstract short` | TypeCode.`member_visibility(int index)` Returns the constant that indicates the visibility of the member at the given index.
    `abstract String` | TypeCode.`name()` Retrieves the simple name identifying this `TypeCode` object within its enclosing scope.
    `abstract short` | TypeCode.`type_modifier()` Returns a constant indicating the modifier of the value type that this `TypeCode` object describes.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.