org.jacorb.ir

Class InterfaceDef

public class InterfaceDef extends Contained implements InterfaceDefOperations, ContainerType

JacORB implementation of org.omg.CORBA.InterfaceDef

Version: $Id: InterfaceDef.java,v 1.22 2006/06/15 16:43:14 alphonse.bendt Exp $

Author: Gerald Brose

Method Summary
InterfaceDef[]base_interfaces()
voidbase_interfaces(InterfaceDef[] a)
Contained[]contents(DefinitionKind limit_type, boolean exclude_inherited)
AliasDefcreate_alias(String id, String name, String version, IDLType original_type)
AttributeDefcreate_attribute(String id, String name, String version, IDLType type, AttributeMode mode)
ConstantDefcreate_constant(String id, String name, String version, IDLType type, Any value)
EnumDefcreate_enum(String id, String name, String version, String[] members)
ExceptionDefcreate_exception(String id, String name, String version, StructMember[] member)
not supported
InterfaceDefcreate_interface(String id, String name, String version, InterfaceDef[] base_interfaces, boolean is_abstract)
not supported
ModuleDefcreate_module(String id, String name, String version)
NativeDefcreate_native(String id, String name, String version)
not supported
OperationDefcreate_operation(String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, String[] contexts)
StructDefcreate_struct(String id, String name, String version, StructMember[] members)
UnionDefcreate_union(String id, String name, String version, IDLType discriminator_type, UnionMember[] members)
ValueDefcreate_value(String id, String name, String version, boolean is_custom, boolean is_abstract, ValueDef base_value, boolean is_truncatable, ValueDef[] abstract_base_values, InterfaceDef[] supported_interfaces, Initializer[] initializers)
not supported
ValueBoxDefcreate_value_box(String id, String name, String version, IDLType type)
not supported
Descriptiondescribe()
Description[]describe_contents(DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
FullInterfaceDescriptiondescribe_interface()
voiddestroy()
booleanis_a(String interface_id)
booleanis_abstract()
voidis_abstract(boolean arg)
voidloadContents()
Containedlookup(String scopedname)
Contained[]lookup_name(String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)
TypeCodetype()

Method Detail

base_interfaces

public InterfaceDef[] base_interfaces()

Returns: an array containing interface definitions of the superclass and the interfaces extended by this class. Has length 0 if this class is Object.

base_interfaces

public void base_interfaces(InterfaceDef[] a)

contents

public Contained[] contents(DefinitionKind limit_type, boolean exclude_inherited)

create_alias

public AliasDef create_alias(String id, String name, String version, IDLType original_type)

create_attribute

public AttributeDef create_attribute(String id, String name, String version, IDLType type, AttributeMode mode)

create_constant

public ConstantDef create_constant(String id, String name, String version, IDLType type, Any value)

create_enum

public EnumDef create_enum(String id, String name, String version, String[] members)

create_exception

public ExceptionDef create_exception(String id, String name, String version, StructMember[] member)
not supported

create_interface

public InterfaceDef create_interface(String id, String name, String version, InterfaceDef[] base_interfaces, boolean is_abstract)
not supported

create_module

public ModuleDef create_module(String id, String name, String version)

create_native

public NativeDef create_native(String id, String name, String version)
not supported

create_operation

public OperationDef create_operation(String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription[] params, ExceptionDef[] exceptions, String[] contexts)

create_struct

public StructDef create_struct(String id, String name, String version, StructMember[] members)

create_union

public UnionDef create_union(String id, String name, String version, IDLType discriminator_type, UnionMember[] members)

create_value

public ValueDef create_value(String id, String name, String version, boolean is_custom, boolean is_abstract, ValueDef base_value, boolean is_truncatable, ValueDef[] abstract_base_values, InterfaceDef[] supported_interfaces, Initializer[] initializers)
not supported

create_value_box

public ValueBoxDef create_value_box(String id, String name, String version, IDLType type)
not supported

describe

public Description describe()

describe_contents

public Description[] describe_contents(DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)

describe_interface

public FullInterfaceDescription describe_interface()

destroy

public void destroy()

is_a

public boolean is_a(String interface_id)

is_abstract

public boolean is_abstract()

is_abstract

public void is_abstract(boolean arg)

loadContents

public void loadContents()

lookup

public Contained lookup(String scopedname)

lookup_name

public Contained[] lookup_name(String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)

type

public TypeCode type()