org.jacorb.ir

Class InterfaceDef

Implemented Interfaces:
ContainedOperations, ContainerOperations, ContainerType, IDLEntity, IDLTypeOperations, InterfaceDefOperations, IRObjectOperations, Object, java.io.Serializable

public class InterfaceDef
extends Contained
implements InterfaceDefOperations, ContainerType

JacORB implementation of org.omg.CORBA.InterfaceDef

Version:
$Id: InterfaceDef.java,v 1.19 2004/05/06 12:39:59 nicolas Exp $

Author:
Gerald Brose

Field Summary

protected static char
fileSeparator

Fields inherited from class org.jacorb.ir.Contained

absolute_name, containing_repository, defined_in, id, version

Method Summary

InterfaceDef[]
base_interfaces()
void
base_interfaces(InterfaceDef a)
Contained[]
contents(DefinitionKind limit_type, boolean exclude_inherited)
AliasDef
create_alias(String id, String name, String version, IDLType original_type)
AttributeDef
create_attribute(String id, String name, String version, IDLType type, AttributeMode mode)
ConstantDef
create_constant(String id, String name, String version, IDLType type, Any value)
EnumDef
create_enum(String id, String name, String version, String[] members)
ExceptionDef
create_exception(String id, String name, String version, StructMember member)
not supported
InterfaceDef
create_interface(String id, String name, String version, InterfaceDef base_interfaces, boolean is_abstract)
not supported
ModuleDef
create_module(String id, String name, String version)
NativeDef
create_native(String id, String name, String version)
not supported
OperationDef
create_operation(String id, String name, String version, IDLType result, OperationMode mode, ParameterDescription params, ExceptionDef exceptions, String[] contexts)
StructDef
create_struct(String id, String name, String version, StructMember members)
UnionDef
create_union(String id, String name, String version, IDLType discriminator_type, UnionMember members)
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
ValueBoxDef
create_value_box(String id, String name, String version, IDLType type)
not supported
Description
describe()
Description[]
describe_contents(DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
FullInterfaceDescription
describe_interface()
void
destroy()
boolean
is_a(String interface_id)
boolean
is_abstract()
void
is_abstract(boolean arg)
void
loadContents()
Contained
lookup(String scopedname)
Contained[]
lookup_name(String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)
TypeCode
type()

Methods inherited from class org.jacorb.ir.Contained

absolute_name, containing_repository, createContained, createContainedReference, defined_in, describe, id, id, move, name, name, version, version

Field Details

fileSeparator

protected static char fileSeparator

Method Details

base_interfaces

public InterfaceDef[] base_interfaces()
Specified by:
base_interfaces in interface InterfaceDefOperations

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)
Specified by:
contents in interface ContainerOperations


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()
Specified by:
describe in interface ContainedOperations
Overrides:
describe in interface Contained


describe_contents

public Description[] describe_contents(DefinitionKind limit_type,
                                       boolean exclude_inherited,
                                       int max_returned_objs)
Specified by:
describe_contents in interface ContainerOperations


describe_interface

public FullInterfaceDescription describe_interface()
Specified by:
describe_interface in interface InterfaceDefOperations


destroy

public void destroy()
Specified by:
destroy in interface IRObjectOperations


is_a

public boolean is_a(String interface_id)


is_abstract

public boolean is_abstract()
Specified by:
is_abstract in interface InterfaceDefOperations


is_abstract

public void is_abstract(boolean arg)
Specified by:
is_abstract in interface InterfaceDefOperations


loadContents

public void loadContents()
Specified by:
loadContents in interface ContainerType


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()
Specified by:
type in interface IDLTypeOperations