org.jacorb.ir

Class ModuleDef

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

public class ModuleDef
extends Contained
implements ModuleDefOperations, ContainerType

Field Summary

Fields inherited from class org.jacorb.ir.Contained

absolute_name, containing_repository, defined_in, id, version

Constructor Summary

ModuleDef(String path, String full_name, Container def_in, Repository ir, ClassLoader loader, POA poa, Logger logger)

Method Summary

Contained[]
contents(DefinitionKind limit_type, boolean exclude_inherited)
AliasDef
create_alias(String id, String name, String version, IDLType original_type)
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)
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(java.lang.String id, java.lang.String name, java.lang.String version)
not supported
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)
void
destroy()
void
loadContents()
Contained
lookup(String name)
Contained[]
lookup_name(String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)
String
path()

Methods inherited from class org.jacorb.ir.Contained

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

Constructor Details

ModuleDef

public ModuleDef(String path,
                 String full_name,
                 Container def_in,
                 Repository ir,
                 ClassLoader loader,
                 POA poa,
                 Logger logger)
            throws INTF_REPOS

Method Details

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_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)


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(java.lang.String id,
                               java.lang.String name,
                               java.lang.String version)
not supported
Specified by:
create_native in interface ContainerOperations


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


destroy

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


loadContents

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


lookup

public Contained lookup(String name)


lookup_name

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


path

public String path()