org.objectweb.david.libs.binding.orbs
Class ValueTC
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.EnumTC
org.objectweb.david.libs.binding.orbs.StructTC
org.objectweb.david.libs.binding.orbs.ValueTC
- All Implemented Interfaces:
- org.omg.CORBA.portable.IDLEntity, java.io.Serializable
- public class ValueTC
- extends StructTC
TypeCode implementation for structures and exceptions
- See Also:
- Serialized Form
Constructor Summary |
ValueTC(java.lang.String id,
java.lang.String name,
short modifier)
Creates a new ValueTC with the provided parameters |
Method Summary |
org.omg.CORBA.TypeCode |
concrete_base_type()
|
void |
init(org.omg.CORBA.TypeCode concrete_base_type,
java.lang.String[] member_names,
org.omg.CORBA.TypeCode[] member_types,
short[] member_visibility)
Initializes the target TypeCode with the provided value members |
void |
init(org.omg.CORBA.TypeCode concrete_base_type,
org.omg.CORBA.ValueMember[] members)
Initializes the target TypeCode with the provided ValueMembers |
short |
member_visibility(int index)
|
java.lang.String |
toString()
|
short |
type_modifier()
|
Methods inherited from class org.objectweb.david.libs.binding.orbs.StructTC |
content_type, default_index, discriminator_type, equal, equivalent, fixed_digits, fixed_scale, get_compact_typecode, id, init, init, kind, length, member_count, member_label, member_name, member_type, name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ValueTC
public ValueTC(java.lang.String id,
java.lang.String name,
short modifier)
- Creates a new ValueTC with the provided parameters
- Parameters:
id
- the repository ID of the new TypeCode;name
- the name of the new TypeCode;modifier
- the value modifier;
init
public void init(org.omg.CORBA.TypeCode concrete_base_type,
org.omg.CORBA.ValueMember[] members)
- Initializes the target TypeCode with the provided ValueMembers
- Parameters:
members
- value members
init
public void init(org.omg.CORBA.TypeCode concrete_base_type,
java.lang.String[] member_names,
org.omg.CORBA.TypeCode[] member_types,
short[] member_visibility)
- Initializes the target TypeCode with the provided value members
- Parameters:
member_names
- the value members namesmember_types
- the value members typesmember_visibility
- the value members visibility
member_visibility
public short member_visibility(int index)
throws org.omg.CORBA.TypeCodePackage.Bounds
- Throws:
org.omg.CORBA.TypeCodePackage.Bounds
type_modifier
public short type_modifier()
concrete_base_type
public org.omg.CORBA.TypeCode concrete_base_type()
toString
public java.lang.String toString()
- Overrides:
toString
in class StructTC