Search in sources :

Example 6 with ContainedOperations

use of org.omg.CORBA.ContainedOperations 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 7 with ContainedOperations

use of org.omg.CORBA.ContainedOperations 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)7 ContainedOperations (org.omg.CORBA.ContainedOperations)7 Description (org.omg.CORBA.ContainedPackage.Description)7 ExceptionDescription (org.omg.CORBA.ExceptionDescription)2 AttributeDescription (org.omg.CORBA.AttributeDescription)1 ConstantDescription (org.omg.CORBA.ConstantDescription)1 ModuleDescription (org.omg.CORBA.ModuleDescription)1 OperationDescription (org.omg.CORBA.OperationDescription)1 ParameterDescription (org.omg.CORBA.ParameterDescription)1 TypeDescription (org.omg.CORBA.TypeDescription)1 ValueMember (org.omg.CORBA.ValueMember)1