TCKind

Embed Size (px)

Citation preview

  • 7/25/2019 TCKind

    1/17

    Overview Package Class Use Tree Deprecated Index HelpJava Platform

    Standard Ed. 7

    Prev Class Next Class Frames No Frames

    Summary: Nested | Field| Constr| Method Detail: Field| Constr| Method

    org.omg.CORBA

    Class TCKind

    java.lang.Object

    org.omg.CORBA.TCKind

    public class TCKind

    extends Object

    The Java mapping of the IDL enum TCKind, which specifies the kind of a TypeCodeobject. There is one kind for each

    primitive and essential IDL data type.

    The class TCKindconsists of:

    a set of intconstants, one for each kind of IDL data type. These intconstants make it possible to use a

    switchstatement.

    a set of TCKindconstants, one for each kind of IDL data type. The valuefield for each TCKindinstance is

    initialized with the intconstant that corresponds with the IDL data type that the instance represents.

    the method from_intfor converting an intto its corresponding TCKindinstance

    Example:

    org.omg.CORBA.TCKind k = org.omg.CORBA.TCKind.from_int(

    org.omg.CORBA.TCKind._tk_string);

    The variable krepresents the TCKindinstance for the IDL type string, which is tk_string.

    the method valuefor accessing the _valuefield of a TCKindconstant

    Example:

    int i = org.omg.CORBA.TCKind.tk_char.value();

    The variable irepresents 9, the value for the IDL data type char.

    The valuefield of a TCKindinstance is the CDR encoding used for a TypeCodeobject in an IIOP message.

    Field Summary

    Modifier and Type Field and Description

    static int _tk_abstract_interface

    The intconstant for the IDL data type abstract interface.

    static int _tk_alias

    The intconstant for the IDL data type alias.

    Fields

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    de 17 20/01/16 13

  • 7/25/2019 TCKind

    2/17

    static int _tk_any

    The intconstant for the IDL data type any.

    static int _tk_array

    The intconstant for the IDL data type array.

    static int _tk_boolean

    The intconstant for the IDL data type boolean.

    static int _tk_char

    The intconstant for the IDL data type char.

    static int _tk_double

    The intconstant for the IDL data type double.

    static int _tk_enum

    The intconstant for the IDL data type enum.

    static int _tk_except

    The intconstant for the IDL data type except.

    static int _tk_fixed

    The intconstant for the IDL data type fixed.

    static int _tk_float

    The intconstant for the IDL data type float.

    static int _tk_long

    The intconstant for the IDL data type long.

    static int _tk_longdouble

    The intconstant for the IDL data type longdouble.

    static int _tk_longlong

    The intconstant for the IDL data type longlong.

    static int _tk_native

    The intconstant for the IDL data type native.

    static int _tk_null

    The intconstant for a nullIDL data type.

    static int _tk_objref

    The intconstant for the IDL data type objref.

    static int _tk_octet

    The intconstant for the IDL data type octet.

    static int _tk_Principal

    The intconstant for the IDL data type Principal.

    static int _tk_sequence

    The intconstant for the IDL data type sequence.

    static int _tk_short

    The intconstant for the IDL data type short.

    static int _tk_string

    The intconstant for the IDL data type string.

    static int _tk_struct

    The intconstant for the IDL data type struct.

    static int _tk_TypeCode

    The intconstant for the IDL data type TypeCode.

    static int _tk_ulong

    The intconstant for the IDL data type ulong.

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    2 de 17 20/01/16 13

  • 7/25/2019 TCKind

    3/17

    static int _tk_ulonglong

    The intconstant for the IDL data type ulonglong.

    static int _tk_union

    The intconstant for the IDL data type union.

    static int _tk_ushort

    The intconstant for the IDL data type ushort.

    static int _tk_value

    The intconstant for the IDL data type value.

    static int _tk_value_box

    The intconstant for the IDL data type value_box.

    static int _tk_void

    The intconstant for the IDL data type void.

    static int _tk_wchar

    The intconstant for the IDL data type wchar.

    static int _tk_wstring

    The intconstant for the IDL data type wstring.

    static TCKind tk_abstract_interface

    The TCKindconstant whose valuefield is initialized with

    TCKind._tk_abstract_interface .

    static TCKind tk_alias

    The TCKindconstant whose valuefield is initialized with TCKind._tk_alias .

    static TCKind tk_any

    The TCKindconstant whose valuefield is initialized with TCKind._tk_any.

    static TCKind tk_array

    The TCKindconstant whose valuefield is initialized with TCKind._tk_array .

    static TCKind tk_boolean

    The TCKindconstant whose valuefield is initialized with TCKind._tk_boolean .

    static TCKind tk_char

    The TCKindconstant whose valuefield is initialized with TCKind._tk_char.

    static TCKind tk_double

    The TCKindconstant whose valuefield is initialized with TCKind._tk_double .

    static TCKind tk_enum

    The TCKindconstant whose valuefield is initialized with TCKind._tk_enum.

    static TCKind tk_except

    The TCKindconstant whose valuefield is initialized with TCKind._tk_except .

    static TCKind tk_fixed

    The TCKindconstant whose valuefield is initialized with TCKind._tk_fixed .

    static TCKind tk_float

    The TCKindconstant whose valuefield is initialized with TCKind._tk_float .

    static TCKind tk_long

    The TCKindconstant whose valuefield is initialized with TCKind._tk_long.

    static TCKind tk_longdouble

    The TCKindconstant whose valuefield is initialized with

    TCKind._tk_longdouble .

    static TCKind tk_longlong

    The TCKindconstant whose valuefield is initialized with TCKind._tk_longlong .

    static TCKind tk_native

    The TCKindconstant whose valuefield is initialized with TCKind._tk_native .

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    3 de 17 20/01/16 13

  • 7/25/2019 TCKind

    4/17

    static TCKind tk_null

    The TCKindconstant whose valuefield is initialized with TCKind._tk_null.

    static TCKind tk_objref

    The TCKindconstant whose valuefield is initialized with TCKind._tk_objref .

    static TCKind tk_octet

    The TCKindconstant whose valuefield is initialized with TCKind._tk_octet .

    static TCKind tk_Principal

    The TCKindconstant whose valuefield is initialized with

    TCKind._tk_Principal .

    static TCKind tk_sequence

    The TCKindconstant whose valuefield is initialized with TCKind._tk_sequence .

    static TCKind tk_short

    The TCKindconstant whose valuefield is initialized with TCKind._tk_short .

    static TCKind tk_string

    The TCKindconstant whose valuefield is initialized with TCKind._tk_string .

    static TCKind tk_struct

    The TCKindconstant whose valuefield is initialized with TCKind._tk_struct .

    static TCKind tk_TypeCode

    The TCKindconstant whose valuefield is initialized with TCKind._tk_TypeCode .

    static TCKind tk_ulong

    The TCKindconstant whose valuefield is initialized with TCKind._tk_ulong .

    static TCKind tk_ulonglong

    The TCKindconstant whose valuefield is initialized with

    TCKind._tk_ulonglong .

    static TCKind tk_union

    The TCKindconstant whose valuefield is initialized with TCKind._tk_union .

    static TCKind tk_ushort

    The TCKindconstant whose valuefield is initialized with TCKind._tk_ushort .

    static TCKind tk_value

    The TCKindconstant whose valuefield is initialized with TCKind._tk_value .static TCKind tk_value_box

    The TCKindconstant whose valuefield is initialized with

    TCKind._tk_value_box .

    static TCKind tk_void

    The TCKindconstant whose valuefield is initialized with TCKind._tk_void.

    static TCKind tk_wchar

    The TCKindconstant whose valuefield is initialized with TCKind._tk_wchar .

    static TCKind tk_wstring

    The TCKindconstant whose valuefield is initialized with TCKind._tk_wstring .

    Constructor Summary

    Modifier Constructor and Description

    Constructors

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    4 de 17 20/01/16 13

  • 7/25/2019 TCKind

    5/17

    protected TCKind(int _value)

    Deprecated.

    Do not use this constructor as this method should be private according to the

    OMG specification. Use from_int(int)instead.

    Method Summary

    Modifier and Type Method and Description

    static TCKind from_int(int i)

    Converts the given intto the corresponding TCKindinstance.

    int value()

    Retrieves the value of this TCKindinstance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait,

    wait

    Field Detail

    _tk_null

    public static final int _tk_null

    The intconstant for a nullIDL data type.

    See Also:

    Constant Field Values

    _tk_void

    public static final int _tk_void

    The intconstant for the IDL data type void.

    See Also:

    Constant Field Values

    _tk_short

    public static final int _tk_short

    Methods

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    5 de 17 20/01/16 13

  • 7/25/2019 TCKind

    6/17

    The intconstant for the IDL data type short.

    See Also:

    Constant Field Values

    _tk_long

    public static final int _tk_long

    The intconstant for the IDL data type long.

    See Also:

    Constant Field Values

    _tk_ushort

    public static final int _tk_ushort

    The intconstant for the IDL data type ushort.

    See Also:

    Constant Field Values

    _tk_ulong

    public static final int _tk_ulong

    The intconstant for the IDL data type ulong.

    See Also:

    Constant Field Values

    _tk_float

    public static final int _tk_float

    The intconstant for the IDL data type float.

    See Also:

    Constant Field Values

    _tk_double

    public static final int _tk_double

    The intconstant for the IDL data type double.

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    6 de 17 20/01/16 13

  • 7/25/2019 TCKind

    7/17

    See Also:

    Constant Field Values

    _tk_boolean

    public static final int _tk_boolean

    The intconstant for the IDL data type boolean.

    See Also:

    Constant Field Values

    _tk_char

    public static final int _tk_char

    The intconstant for the IDL data type char.

    See Also:

    Constant Field Values

    _tk_octet

    public static final int _tk_octet

    The intconstant for the IDL data type octet.

    See Also:

    Constant Field Values

    _tk_any

    public static final int _tk_any

    The intconstant for the IDL data type any.

    See Also:

    Constant Field Values

    _tk_TypeCode

    public static final int _tk_TypeCode

    The intconstant for the IDL data type TypeCode.

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    7 de 17 20/01/16 13

  • 7/25/2019 TCKind

    8/17

    See Also:

    Constant Field Values

    _tk_Principal

    public static final int _tk_Principal

    The intconstant for the IDL data type Principal.

    See Also:

    Constant Field Values

    _tk_objref

    public static final int _tk_objref

    The intconstant for the IDL data type objref.

    See Also:

    Constant Field Values

    _tk_struct

    public static final int _tk_struct

    The intconstant for the IDL data type struct.

    See Also:

    Constant Field Values

    _tk_union

    public static final int _tk_union

    The intconstant for the IDL data type union.

    See Also:

    Constant Field Values

    _tk_enum

    public static final int _tk_enum

    The intconstant for the IDL data type enum.

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    8 de 17 20/01/16 13

  • 7/25/2019 TCKind

    9/17

    See Also:

    Constant Field Values

    _tk_string

    public static final int _tk_string

    The intconstant for the IDL data type string.

    See Also:

    Constant Field Values

    _tk_sequence

    public static final int _tk_sequence

    The intconstant for the IDL data type sequence.

    See Also:

    Constant Field Values

    _tk_array

    public static final int _tk_array

    The intconstant for the IDL data type array.

    See Also:

    Constant Field Values

    _tk_alias

    public static final int _tk_alias

    The intconstant for the IDL data type alias.

    See Also:

    Constant Field Values

    _tk_except

    public static final int _tk_except

    The intconstant for the IDL data type except.

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    9 de 17 20/01/16 13

  • 7/25/2019 TCKind

    10/17

    See Also:

    Constant Field Values

    _tk_longlong

    public static final int _tk_longlong

    The intconstant for the IDL data type longlong.

    See Also:

    Constant Field Values

    _tk_ulonglong

    public static final int _tk_ulonglong

    The intconstant for the IDL data type ulonglong.

    See Also:

    Constant Field Values

    _tk_longdouble

    public static final int _tk_longdouble

    The intconstant for the IDL data type longdouble.

    See Also:

    Constant Field Values

    _tk_wchar

    public static final int _tk_wchar

    The intconstant for the IDL data type wchar.

    See Also:

    Constant Field Values

    _tk_wstring

    public static final int _tk_wstring

    The intconstant for the IDL data type wstring.

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    0 de 17 20/01/16 13

  • 7/25/2019 TCKind

    11/17

    See Also:

    Constant Field Values

    _tk_fixed

    public static final int _tk_fixed

    The intconstant for the IDL data type fixed.

    See Also:

    Constant Field Values

    _tk_value

    public static final int _tk_value

    The intconstant for the IDL data type value.

    See Also:

    Constant Field Values

    _tk_value_box

    public static final int _tk_value_box

    The intconstant for the IDL data type value_box.

    See Also:

    Constant Field Values

    _tk_native

    public static final int _tk_native

    The intconstant for the IDL data type native.

    See Also:

    Constant Field Values

    _tk_abstract_interface

    public static final int _tk_abstract_interface

    The intconstant for the IDL data type abstract interface.

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    1 de 17 20/01/16 13

  • 7/25/2019 TCKind

    12/17

    See Also:

    Constant Field Values

    tk_null

    public static final TCKindtk_null

    The TCKindconstant whose valuefield is initialized with TCKind._tk_null.

    tk_void

    public static final TCKindtk_void

    The TCKindconstant whose valuefield is initialized with TCKind._tk_void.

    tk_short

    public static final TCKindtk_short

    The TCKindconstant whose valuefield is initialized with TCKind._tk_short.

    tk_long

    public static final TCKindtk_long

    The TCKindconstant whose valuefield is initialized with TCKind._tk_long.

    tk_ushort

    public static final TCKindtk_ushort

    The TCKindconstant whose valuefield is initialized with TCKind._tk_ushort .

    tk_ulong

    public static final TCKindtk_ulong

    The TCKindconstant whose valuefield is initialized with TCKind._tk_ulong.

    tk_float

    public static final TCKindtk_float

    The TCKindconstant whose valuefield is initialized with TCKind._tk_float.

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    2 de 17 20/01/16 13

  • 7/25/2019 TCKind

    13/17

    tk_double

    public static final TCKindtk_double

    The TCKindconstant whose valuefield is initialized with TCKind._tk_double .

    tk_booleanpublic static final TCKindtk_boolean

    The TCKindconstant whose valuefield is initialized with TCKind._tk_boolean .

    tk_char

    public static final TCKindtk_char

    The TCKindconstant whose valuefield is initialized with TCKind._tk_char.

    tk_octet

    public static final TCKindtk_octet

    The TCKindconstant whose valuefield is initialized with TCKind._tk_octet.

    tk_any

    public static final TCKindtk_any

    The TCKindconstant whose valuefield is initialized with TCKind._tk_any.

    tk_TypeCode

    public static final TCKindtk_TypeCode

    The TCKindconstant whose valuefield is initialized with TCKind._tk_TypeCode .

    tk_Principal

    public static final TCKindtk_Principal

    The TCKindconstant whose valuefield is initialized with TCKind._tk_Principal .

    tk_objref

    public static final TCKindtk_objref

    The TCKindconstant whose valuefield is initialized with TCKind._tk_objref .

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    3 de 17 20/01/16 13

  • 7/25/2019 TCKind

    14/17

    tk_struct

    public static final TCKindtk_struct

    The TCKindconstant whose valuefield is initialized with TCKind._tk_struct .

    tk_unionpublic static final TCKindtk_union

    The TCKindconstant whose valuefield is initialized with TCKind._tk_union.

    tk_enum

    public static final TCKindtk_enum

    The TCKindconstant whose valuefield is initialized with TCKind._tk_enum.

    tk_string

    public static final TCKindtk_string

    The TCKindconstant whose valuefield is initialized with TCKind._tk_string .

    tk_sequence

    public static final TCKindtk_sequence

    The TCKindconstant whose valuefield is initialized with TCKind._tk_sequence .

    tk_array

    public static final TCKindtk_array

    The TCKindconstant whose valuefield is initialized with TCKind._tk_array.

    tk_alias

    public static final TCKindtk_alias

    The TCKindconstant whose valuefield is initialized with TCKind._tk_alias.

    tk_except

    public static final TCKindtk_except

    The TCKindconstant whose valuefield is initialized with TCKind._tk_except .

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    4 de 17 20/01/16 13

  • 7/25/2019 TCKind

    15/17

    tk_longlong

    public static final TCKindtk_longlong

    The TCKindconstant whose valuefield is initialized with TCKind._tk_longlong .

    tk_ulonglongpublic static final TCKindtk_ulonglong

    The TCKindconstant whose valuefield is initialized with TCKind._tk_ulonglong .

    tk_longdouble

    public static final TCKindtk_longdouble

    The TCKindconstant whose valuefield is initialized with TCKind._tk_longdouble .

    tk_wchar

    public static final TCKindtk_wchar

    The TCKindconstant whose valuefield is initialized with TCKind._tk_wchar.

    tk_wstring

    public static final TCKindtk_wstring

    The TCKindconstant whose valuefield is initialized with TCKind._tk_wstring .

    tk_fixed

    public static final TCKindtk_fixed

    The TCKindconstant whose valuefield is initialized with TCKind._tk_fixed.

    tk_value

    public static final TCKindtk_value

    The TCKindconstant whose valuefield is initialized with TCKind._tk_value.

    tk_value_box

    public static final TCKindtk_value_box

    The TCKindconstant whose valuefield is initialized with TCKind._tk_value_box .

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    5 de 17 20/01/16 13

  • 7/25/2019 TCKind

    16/17

    tk_native

    public static final TCKindtk_native

    The TCKindconstant whose valuefield is initialized with TCKind._tk_native .

    tk_abstract_interfacepublic static final TCKindtk_abstract_interface

    The TCKindconstant whose valuefield is initialized with TCKind._tk_abstract_interface .

    Constructor Detail

    TCKind

    @Deprecated

    protected TCKind(int _value)

    Deprecated. Do not use this constructor as this method should be private according to the OMG

    specification. Use from_int(int)instead.

    Creates a new TCKindinstance initialized with the given int.

    Parameters:

    _value- the intto convert. It must be one of the intconstants in the class TCKind.

    Method Detail

    value

    public int value()

    Retrieves the value of this TCKindinstance.

    Returns:

    the intthat represents the kind of IDL data type for this TCKindinstance

    from_int

    public static TCKindfrom_int(int i)

    Converts the given intto the corresponding TCKindinstance.

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    6 de 17 20/01/16 13

  • 7/25/2019 TCKind

    17/17

    Overview Package Class Use Tree Deprecated Index HelpJava Platform

    Standard Ed. 7

    Prev Class Next Class Frames No Frames

    Summary: Nested | Field| Constr| Method Detail: Field| Constr| Method

    Submit a bug or featureFor 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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the

    documentation redistribution policy.

    Parameters:

    i- the intto convert. It must be one of the intconstants in the class TCKind.

    Returns:

    the TCKindinstance whose valuefield matches the given int

    Throws:

    BAD_PARAM- if the given intdoes not match the _valuefield of any TCKindinstance

    TCKind (Java Platform SE 7 ) https://docs.oracle.com/javase/7/docs/api/org/o

    7 de 17 20/01/16 13