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(); org.omg.CORBA.InterfaceDescription md = new InterfaceDescription(name, id, defined_in_id, version, base_interfaces, false); Any any = getORB().create_any(); InterfaceDescriptionHelper.insert(any, md); return new Description(DefinitionKind.dk_Interface, any); }
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(); org.omg.CORBA.InterfaceDescription md = new InterfaceDescription(name, id, defined_in_id, version, base_interfaces, false); Any any = getORB().create_any(); InterfaceDescriptionHelper.insert(any, md); return new Description(DefinitionKind.dk_Interface, any); }
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(); org.omg.CORBA.InterfaceDescription md = new InterfaceDescription(name, id, defined_in_id, version, base_interfaces, false); Any any = getORB().create_any(); InterfaceDescriptionHelper.insert(any, md); return new Description(DefinitionKind.dk_Interface, any); }
public org.omg.CORBA.ContainedPackage.Description describe() { if ( ! defined) { throw new INTF_REPOS ("InterfaceDef " + name + " not defined."); } org.omg.CORBA.Any a = orb.create_any(); String def_in = null; if( myContainer == null ) def_in = "Global"; else def_in = myContainer.id(); org.omg.CORBA.InterfaceDescriptionHelper.insert( a, new org.omg.CORBA.InterfaceDescription( name, id, def_in, version, base_names) ); return new org.omg.CORBA.ContainedPackage.Description( org.omg.CORBA.DefinitionKind.dk_Interface, a); }