org.objectweb.david.libs.binding.orbs
Class AliasTC
java.lang.Object
org.omg.CORBA.TypeCode
org.objectweb.david.libs.binding.orbs.PrimitiveTC
org.objectweb.david.libs.binding.orbs.NamedTC
org.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 |
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 |
AliasTC
public AliasTC(java.lang.String id,
java.lang.String name)
- Constructs a new AliasTC
- Parameters:
id
- its repository idname
- its identifier
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()