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 static InterfaceDescription read(org.omg.CORBA.portable.InputStream in) { InterfaceDescription _ob_v = new InterfaceDescription(); _ob_v.name = IdentifierHelper.read(in); _ob_v.id = RepositoryIdHelper.read(in); _ob_v.defined_in = RepositoryIdHelper.read(in); _ob_v.version = VersionSpecHelper.read(in); _ob_v.base_interfaces = RepositoryIdSeqHelper.read(in); return _ob_v; }
public static org.omg.CORBA.InterfaceDescription read (final org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.InterfaceDescription result = new org.omg.CORBA.InterfaceDescription(); result.name=in.read_string(); result.id=in.read_string(); result.defined_in=in.read_string(); result.version=in.read_string(); result.base_interfaces = org.omg.CORBA.RepositoryIdSeqHelper.read(in); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CORBA.InterfaceDescription s)
public static org.omg.CORBA.InterfaceDescription read (final org.omg.CORBA.portable.InputStream in) { org.omg.CORBA.InterfaceDescription result = new org.omg.CORBA.InterfaceDescription(); result.name=in.read_string(); result.id=in.read_string(); result.defined_in=in.read_string(); result.version=in.read_string(); result.base_interfaces = org.omg.CORBA.RepositoryIdSeqHelper.read(in); return result; } public static void write (final org.omg.CORBA.portable.OutputStream out, final org.omg.CORBA.InterfaceDescription s)
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 static org.omg.CORBA.InterfaceDescription read (org.omg.CORBA.portable.InputStream istream) { org.omg.CORBA.InterfaceDescription value = new org.omg.CORBA.InterfaceDescription (); value.name = istream.read_string (); value.id = istream.read_string (); value.defined_in = istream.read_string (); value.version = istream.read_string (); value.base_interfaces = org.omg.CORBA.RepositoryIdSeqHelper.read (istream); value.is_abstract = istream.read_boolean (); return value; }
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); }