org.objectweb.david.libs.binding.orbs
Class AliasTC

java.lang.Object
  extended byorg.omg.CORBA.TypeCode
      extended byorg.objectweb.david.libs.binding.orbs.PrimitiveTC
          extended byorg.objectweb.david.libs.binding.orbs.NamedTC
              extended byorg.objectweb.david.libs.binding.orbs.AliasTC
All Implemented Interfaces:
org.omg.CORBA.portable.IDLEntity, java.io.Serializable

public class AliasTC
extends org.objectweb.david.libs.binding.orbs.NamedTC

Implementation of TypeCode to be used for typedefs.

See Also:
Serialized Form

Constructor Summary
AliasTC(java.lang.String id, java.lang.String name)
          Constructs a new AliasTC
 
Method Summary
 org.omg.CORBA.TypeCode content_type()
           
 int default_index()
           
 org.omg.CORBA.TypeCode discriminator_type()
           
 boolean equal(org.omg.CORBA.TypeCode tc)
           
 boolean equivalent(org.omg.CORBA.TypeCode tc)
           
 short fixed_digits()
           
 short fixed_scale()
           
 org.omg.CORBA.TypeCode get_compact_typecode()
           
 java.lang.String id()
           
 void init(org.omg.CORBA.TypeCode content_type)
          Initializes the target type code's content type
 org.omg.CORBA.TCKind kind()
           
 int length()
           
 int member_count()
           
 org.omg.CORBA.Any member_label(int index)
           
 java.lang.String member_name(int index)
           
 org.omg.CORBA.TypeCode member_type(int index)
           
 java.lang.String name()
           
 java.lang.String toString()
           
 
Methods inherited from class org.omg.CORBA.TypeCode
concrete_base_type, member_visibility, type_modifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AliasTC

public AliasTC(java.lang.String id,
               java.lang.String name)
Constructs a new AliasTC

Parameters:
id - its repository id
name - its identifier
Method Detail

init

public void init(org.omg.CORBA.TypeCode content_type)
Initializes the target type code's content type

Parameters:
content_type - the content type code

content_type

public org.omg.CORBA.TypeCode content_type()

toString

public java.lang.String toString()

id

public java.lang.String id()

name

public java.lang.String name()

kind

public org.omg.CORBA.TCKind kind()

equal

public final boolean equal(org.omg.CORBA.TypeCode tc)

member_count

public int member_count()
                 throws org.omg.CORBA.TypeCodePackage.BadKind
Throws:
org.omg.CORBA.TypeCodePackage.BadKind

member_name

public java.lang.String member_name(int index)
                             throws org.omg.CORBA.TypeCodePackage.BadKind,
                                    org.omg.CORBA.TypeCodePackage.Bounds
Throws:
org.omg.CORBA.TypeCodePackage.BadKind
org.omg.CORBA.TypeCodePackage.Bounds

member_type

public org.omg.CORBA.TypeCode member_type(int index)
                                   throws org.omg.CORBA.TypeCodePackage.BadKind,
                                          org.omg.CORBA.TypeCodePackage.Bounds
Throws:
org.omg.CORBA.TypeCodePackage.BadKind
org.omg.CORBA.TypeCodePackage.Bounds

member_label

public org.omg.CORBA.Any member_label(int index)
                               throws org.omg.CORBA.TypeCodePackage.BadKind,
                                      org.omg.CORBA.TypeCodePackage.Bounds
Throws:
org.omg.CORBA.TypeCodePackage.BadKind
org.omg.CORBA.TypeCodePackage.Bounds

discriminator_type

public org.omg.CORBA.TypeCode discriminator_type()
                                          throws org.omg.CORBA.TypeCodePackage.BadKind
Throws:
org.omg.CORBA.TypeCodePackage.BadKind

default_index

public int default_index()
                  throws org.omg.CORBA.TypeCodePackage.BadKind
Throws:
org.omg.CORBA.TypeCodePackage.BadKind

length

public int length()
           throws org.omg.CORBA.TypeCodePackage.BadKind
Throws:
org.omg.CORBA.TypeCodePackage.BadKind

fixed_digits

public short fixed_digits()
                   throws org.omg.CORBA.TypeCodePackage.BadKind
Throws:
org.omg.CORBA.TypeCodePackage.BadKind

fixed_scale

public short fixed_scale()
                  throws org.omg.CORBA.TypeCodePackage.BadKind
Throws:
org.omg.CORBA.TypeCodePackage.BadKind

equivalent

public boolean equivalent(org.omg.CORBA.TypeCode tc)

get_compact_typecode

public org.omg.CORBA.TypeCode get_compact_typecode()