org.openorb.CORBA.typecode
Class TypeCodePrimative

java.lang.Object
  extended byorg.omg.CORBA.TypeCode
      extended byorg.openorb.CORBA.typecode.TypeCodeBase
          extended byorg.openorb.CORBA.typecode.TypeCodePrimative
All Implemented Interfaces:
IDLEntity, java.io.Serializable

public class TypeCodePrimative
extends TypeCodeBase

Type code implemetation for primative types.

Version:
$Revision: 1.2 $ $Date: 2001/02/26 23:15:48 $
Author:
Chris Wood <wood@intalio.com>
See Also:
Serialized Form

Method Summary
 TypeCodeBase _base_type()
           
 boolean _is_compact()
           
 TypeCode concrete_base_type()
           
 TypeCode content_type()
           
 int default_index()
           
 TypeCode discriminator_type()
           
 boolean equal(TypeCode tc)
           
 boolean equivalent(TypeCode tc)
           
 short fixed_digits()
           
 short fixed_scale()
           
 TypeCode get_compact_typecode()
           
 int hashCode()
           
 java.lang.String id()
           
 TCKind kind()
           
 int length()
           
 int member_count()
           
 Any member_label(int index)
           
 java.lang.String member_name(int index)
           
 TypeCode member_type(int index)
           
 short member_visibility(int index)
           
 java.lang.String name()
           
 short type_modifier()
           
 
Methods inherited from class org.openorb.CORBA.typecode.TypeCodeBase
_base_type, equals
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

_is_compact

public boolean _is_compact()
Specified by:
_is_compact in class TypeCodeBase

_base_type

public TypeCodeBase _base_type()
Specified by:
_base_type in class TypeCodeBase

kind

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

equivalent

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

equal

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

hashCode

public int hashCode()

get_compact_typecode

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

id

public java.lang.String id()
                    throws BadKind
Specified by:
id in class TypeCode
Throws:
BadKind

member_count

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

member_type

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

member_label

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

length

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

default_index

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

member_name

public java.lang.String member_name(int index)
                             throws BadKind,
                                    Bounds
Specified by:
member_name in class TypeCode
Throws:
BadKind
Bounds

name

public java.lang.String name()
                      throws BadKind
Specified by:
name in class TypeCode
Throws:
BadKind

discriminator_type

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

content_type

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

fixed_digits

public short fixed_digits()
                   throws BadKind
Overrides:
fixed_digits in class TypeCode
Throws:
BadKind

fixed_scale

public short fixed_scale()
                  throws BadKind
Overrides:
fixed_scale in class TypeCode
Throws:
BadKind

member_visibility

public short member_visibility(int index)
                        throws BadKind,
                               Bounds
Overrides:
member_visibility in class TypeCode
Throws:
BadKind
Bounds

type_modifier

public short type_modifier()
                    throws BadKind
Overrides:
type_modifier in class TypeCode
Throws:
BadKind

concrete_base_type

public TypeCode concrete_base_type()
                            throws BadKind
Overrides:
concrete_base_type in class TypeCode
Throws:
BadKind