org.apache.geronimo.corba.util
Class TypeCode

java.lang.Object
  extended by org.omg.CORBA.TypeCode
      extended by org.apache.geronimo.corba.util.TypeCode
All Implemented Interfaces:
Serializable, IDLEntity

public class TypeCode
extends TypeCode

See Also:
Serialized Form

Field Summary
static TypeCode ANY
           
static TypeCode BOOLEAN
           
static TypeCode CHAR
           
static TypeCode DOUBLE
           
static TypeCode FLOAT
           
static TypeCode LONG
           
static TypeCode LONGDOUBLE
           
static TypeCode LONGLONG
           
static TypeCode NULL
           
static TypeCode OBJREF
           
static TypeCode OCTET
           
static TypeCode SHORT
           
static TypeCode STRING
           
static TypeCode TYPECODE
           
static TypeCode ULONG
           
static TypeCode ULONGLONG
           
static TypeCode USHORT
           
static TypeCode VOID
           
static TypeCode WCHAR
           
static TypeCode WSTRING
           
 
Constructor Summary
TypeCode(TCKind kind)
           
 
Method Summary
 TypeCode concrete_base_type()
           
 void concrete_base_type(TypeCode base)
           
 TypeCode content_type()
           
 void content_type(TypeCode type)
           
 int default_index()
           
 TypeCode discriminator_type()
           
 void discriminator_type(TypeCode disc)
           
 boolean equal(TypeCode tc)
           
 boolean equivalent(TypeCode tc)
           
 void fix_recursive_members()
           
 short fixed_digits()
           
 void fixed_digits(short digits)
           
 short fixed_scale()
           
 void fixed_scale(short scale)
           
 TypeCode get_compact_typecode()
           
 String id()
           
 void id(String id)
           
 void indirection(TypeCode ref)
           
 TCKind kind()
           
 int length()
           
 void length(int length)
           
 int member_count()
           
 void member_count(int count)
           
 Any member_label(int index)
           
 void member_label(int index, Any label)
           
 String member_name(int index)
           
 void member_name(int index, String name)
           
 TypeCode member_type(int index)
           
 void member_type(int index, TypeCode type)
           
 short member_visibility(int index)
           
 void member_visibility(int index, short visibility)
           
 String name()
           
 void name(String name)
           
 void recursive(String id)
           
 short type_modifier()
           
 void type_modifier(short modifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final TypeCode NULL

VOID

public static final TypeCode VOID

ANY

public static final TypeCode ANY

BOOLEAN

public static final TypeCode BOOLEAN

CHAR

public static final TypeCode CHAR

WCHAR

public static final TypeCode WCHAR

OCTET

public static final TypeCode OCTET

SHORT

public static final TypeCode SHORT

USHORT

public static final TypeCode USHORT

LONG

public static final TypeCode LONG

ULONG

public static final TypeCode ULONG

LONGLONG

public static final TypeCode LONGLONG

ULONGLONG

public static final TypeCode ULONGLONG

FLOAT

public static final TypeCode FLOAT

DOUBLE

public static final TypeCode DOUBLE

LONGDOUBLE

public static final TypeCode LONGDOUBLE

STRING

public static final TypeCode STRING

WSTRING

public static final TypeCode WSTRING

OBJREF

public static final TypeCode OBJREF

TYPECODE

public static final TypeCode TYPECODE
Constructor Detail

TypeCode

public TypeCode(TCKind kind)
Parameters:
kind -
Method Detail

equal

public boolean equal(TypeCode tc)
Specified by:
equal in class TypeCode

equivalent

public boolean equivalent(TypeCode tc)
Specified by:
equivalent in class TypeCode

get_compact_typecode

public TypeCode get_compact_typecode()
Specified by:
get_compact_typecode in class TypeCode

kind

public TCKind kind()
Specified by:
kind in class TypeCode

id

public String id()
          throws BadKind
Specified by:
id in class TypeCode
Returns:
Throws:
BadKind

id

public void id(String id)
Parameters:
id -

name

public String name()
            throws BadKind
Specified by:
name in class TypeCode
Returns:
Throws:
BadKind

name

public void name(String name)
Parameters:
name -

member_count

public int member_count()
                 throws BadKind
Specified by:
member_count in class TypeCode
Returns:
Throws:
BadKind

member_count

public void member_count(int count)
Parameters:
count -

member_name

public String member_name(int index)
                   throws BadKind,
                          Bounds
Specified by:
member_name in class TypeCode
Parameters:
index -
Returns:
Throws:
BadKind
Bounds

member_name

public void member_name(int index,
                        String name)
Parameters:
index -
name -

member_type

public TypeCode member_type(int index)
                     throws BadKind,
                            Bounds
Specified by:
member_type in class TypeCode
Parameters:
index -
Returns:
Throws:
BadKind
Bounds

member_type

public void member_type(int index,
                        TypeCode type)
Parameters:
index -
type -

member_label

public Any member_label(int index)
                 throws BadKind,
                        Bounds
Specified by:
member_label in class TypeCode
Parameters:
index -
Returns:
Throws:
BadKind
Bounds

member_label

public void member_label(int index,
                         Any label)
Parameters:
index -
label -

discriminator_type

public TypeCode discriminator_type()
                            throws BadKind
Specified by:
discriminator_type in class TypeCode
Returns:
Throws:
BadKind

discriminator_type

public void discriminator_type(TypeCode disc)
Parameters:
disc -

default_index

public int default_index()
                  throws BadKind
Specified by:
default_index in class TypeCode
Returns:
Throws:
BadKind

length

public int length()
           throws BadKind
Specified by:
length in class TypeCode
Returns:
Throws:
BadKind

length

public void length(int length)
Parameters:
length -

content_type

public TypeCode content_type()
                      throws BadKind
Specified by:
content_type in class TypeCode
Returns:
Throws:
BadKind

content_type

public void content_type(TypeCode type)
Parameters:
type -

fixed_digits

public short fixed_digits()
                   throws BadKind
Specified by:
fixed_digits in class TypeCode
Returns:
Throws:
BadKind

fixed_digits

public void fixed_digits(short digits)
Parameters:
digits -

fixed_scale

public short fixed_scale()
                  throws BadKind
Specified by:
fixed_scale in class TypeCode
Returns:
Throws:
BadKind

fixed_scale

public void fixed_scale(short scale)
Parameters:
scale -

member_visibility

public short member_visibility(int index)
                        throws BadKind,
                               Bounds
Specified by:
member_visibility in class TypeCode
Parameters:
index -
Returns:
Throws:
BadKind
Bounds

member_visibility

public void member_visibility(int index,
                              short visibility)
Parameters:
index -
visibility -

type_modifier

public short type_modifier()
                    throws BadKind
Specified by:
type_modifier in class TypeCode
Returns:
Throws:
BadKind

type_modifier

public void type_modifier(short modifier)
Parameters:
modifier -

concrete_base_type

public TypeCode concrete_base_type()
                            throws BadKind
Specified by:
concrete_base_type in class TypeCode
Returns:
Throws:
BadKind

concrete_base_type

public void concrete_base_type(TypeCode base)
Parameters:
base -

indirection

public void indirection(TypeCode ref)
Parameters:
ref -

recursive

public void recursive(String id)
Parameters:
id -

fix_recursive_members

public void fix_recursive_members()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.