Search in sources :

Example 6 with Description

use of org.omg.CORBA.ContainedPackage.Description in project wildfly by wildfly.

the class TypedefDefImpl method describe.

// Public --------------------------------------------------------
// ContainedImpl implementation ----------------------------------
public Description describe() {
    String defined_in_id = "IR";
    if (defined_in instanceof ContainedOperations)
        defined_in_id = ((ContainedOperations) defined_in).id();
    TypeDescription td = new TypeDescription(name, id, defined_in_id, version, typeCode);
    Any any = getORB().create_any();
    TypeDescriptionHelper.insert(any, td);
    return new Description(DefinitionKind.dk_Typedef, any);
}
Also used : Description(org.omg.CORBA.ContainedPackage.Description) TypeDescription(org.omg.CORBA.TypeDescription) TypeDescription(org.omg.CORBA.TypeDescription) ContainedOperations(org.omg.CORBA.ContainedOperations) Any(org.omg.CORBA.Any)

Example 7 with Description

use of org.omg.CORBA.ContainedPackage.Description in project wildfly by wildfly.

the class ValueDefImpl method describe.

// ContainedImpl implementation ----------------------------------
public Description describe() {
    String defined_in_id = "IR";
    if (defined_in instanceof org.omg.CORBA.ContainedOperations)
        defined_in_id = ((org.omg.CORBA.ContainedOperations) defined_in).id();
    ValueDescription md = new ValueDescription(name, id, is_abstract, is_custom, defined_in_id, version, supported_interfaces, abstract_base_valuetypes, false, baseValue);
    Any any = getORB().create_any();
    ValueDescriptionHelper.insert(any, md);
    return new Description(DefinitionKind.dk_Value, any);
}
Also used : ParameterDescription(org.omg.CORBA.ParameterDescription) Description(org.omg.CORBA.ContainedPackage.Description) ValueDescription(org.omg.CORBA.ValueDescription) AttributeDescription(org.omg.CORBA.AttributeDescription) OperationDescription(org.omg.CORBA.OperationDescription) FullValueDescription(org.omg.CORBA.ValueDefPackage.FullValueDescription) ValueDescription(org.omg.CORBA.ValueDescription) FullValueDescription(org.omg.CORBA.ValueDefPackage.FullValueDescription) Any(org.omg.CORBA.Any)

Example 8 with Description

use of org.omg.CORBA.ContainedPackage.Description in project wildfly by wildfly.

the class ValueMemberDefImpl method describe.

public Description describe() {
    String defined_in_id = "IR";
    if (defined_in instanceof ContainedOperations)
        defined_in_id = ((ContainedOperations) defined_in).id();
    ValueMember d = new ValueMember(name, id, defined_in_id, version, typeCode, type_def(), access());
    Any any = getORB().create_any();
    ValueMemberHelper.insert(any, d);
    return new Description(DefinitionKind.dk_ValueMember, any);
}
Also used : Description(org.omg.CORBA.ContainedPackage.Description) ValueMember(org.omg.CORBA.ValueMember) ContainedOperations(org.omg.CORBA.ContainedOperations) Any(org.omg.CORBA.Any)

Example 9 with Description

use of org.omg.CORBA.ContainedPackage.Description in project wildfly by wildfly.

the class ModuleDefImpl method describe.

// ContainedImpl implementation ----------------------------------
public Description describe() {
    String defined_in_id = "IR";
    if (defined_in instanceof ContainedOperations)
        defined_in_id = ((ContainedOperations) defined_in).id();
    ModuleDescription md = new ModuleDescription(name, id, defined_in_id, version);
    Any any = getORB().create_any();
    ModuleDescriptionHelper.insert(any, md);
    return new Description(DefinitionKind.dk_Module, any);
}
Also used : Description(org.omg.CORBA.ContainedPackage.Description) ModuleDescription(org.omg.CORBA.ModuleDescription) ModuleDescription(org.omg.CORBA.ModuleDescription) ContainedOperations(org.omg.CORBA.ContainedOperations) Any(org.omg.CORBA.Any)

Aggregations

Any (org.omg.CORBA.Any)9 Description (org.omg.CORBA.ContainedPackage.Description)9 ContainedOperations (org.omg.CORBA.ContainedOperations)7 AttributeDescription (org.omg.CORBA.AttributeDescription)3 OperationDescription (org.omg.CORBA.OperationDescription)3 ParameterDescription (org.omg.CORBA.ParameterDescription)3 ExceptionDescription (org.omg.CORBA.ExceptionDescription)2 ConstantDescription (org.omg.CORBA.ConstantDescription)1 FullInterfaceDescription (org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription)1 InterfaceDescription (org.omg.CORBA.InterfaceDescription)1 ModuleDescription (org.omg.CORBA.ModuleDescription)1 TypeDescription (org.omg.CORBA.TypeDescription)1 FullValueDescription (org.omg.CORBA.ValueDefPackage.FullValueDescription)1 ValueDescription (org.omg.CORBA.ValueDescription)1 ValueMember (org.omg.CORBA.ValueMember)1