Search in sources :

Example 1 with TypeDescription

use of org.omg.CORBA.TypeDescription 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)

Aggregations

Any (org.omg.CORBA.Any)1 ContainedOperations (org.omg.CORBA.ContainedOperations)1 Description (org.omg.CORBA.ContainedPackage.Description)1 TypeDescription (org.omg.CORBA.TypeDescription)1