public static org.omg.CORBA.InterfaceDef unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CORBA.InterfaceDef) return (org.omg.CORBA.InterfaceDef)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CORBA._InterfaceDefStub stub = new org.omg.CORBA._InterfaceDefStub (); stub._set_delegate(delegate); return stub; } }
if(!this._is_local()) try out = _request("_get_base_interfaces", true); in = _invoke(out); InterfaceDef[] _ob_r = InterfaceDefSeqHelper.read(in); return _ob_r; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("base_interfaces", _ob_opsClass); if(_ob_so == null) continue; _servant_postinvoke(_ob_so);
public String absolute_name () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_absolute_name", true); $in = _invoke ($out); String $result = org.omg.CORBA.ScopedNameHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return absolute_name ( ); } finally { _releaseReply ($in); } } // absolute_name
public void destroy () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("destroy", true); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { destroy ( ); } finally { _releaseReply ($in); } } // destroy
public void id (String newId) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_id", true); org.omg.CORBA.RepositoryIdHelper.write ($out, newId); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { id (newId ); } finally { _releaseReply ($in); } } // id
public String name () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_name", true); $in = _invoke ($out); String $result = org.omg.CORBA.IdentifierHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return name ( ); } finally { _releaseReply ($in); } } // name
public org.omg.CORBA.InterfaceDef[] base_interfaces () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_base_interfaces", true); $in = _invoke ($out); org.omg.CORBA.InterfaceDef $result[] = org.omg.CORBA.InterfaceDefSeqHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return base_interfaces ( ); } finally { _releaseReply ($in); } } // base_interfaces
public void is_abstract (boolean newIs_abstract) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_is_abstract", true); $out.write_boolean (newIs_abstract); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { is_abstract (newIs_abstract ); } finally { _releaseReply ($in); } } // is_abstract
public String version () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_version", true); $in = _invoke ($out); String $result = org.omg.CORBA.VersionSpecHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return version ( ); } finally { _releaseReply ($in); } } // version
public org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription describe_interface () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("describe_interface", true); $in = _invoke ($out); org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescription $result = org.omg.CORBA.InterfaceDefPackage.FullInterfaceDescriptionHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return describe_interface ( ); } finally { _releaseReply ($in); } } // describe_interface
public org.omg.CORBA.Repository containing_repository () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_containing_repository", true); $in = _invoke ($out); org.omg.CORBA.Repository $result = org.omg.CORBA.RepositoryHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return containing_repository ( ); } finally { _releaseReply ($in); } } // containing_repository
public org.omg.CORBA.TypeCode type () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_type", true); $in = _invoke ($out); org.omg.CORBA.TypeCode $result = $in.read_TypeCode (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return type ( ); } finally { _releaseReply ($in); } } // type
public org.omg.CORBA.DefinitionKind def_kind () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_def_kind", true); $in = _invoke ($out); org.omg.CORBA.DefinitionKind $result = org.omg.CORBA.DefinitionKindHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return def_kind ( ); } finally { _releaseReply ($in); } } // def_kind
public org.omg.CORBA.Container defined_in () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_defined_in", true); $in = _invoke ($out); org.omg.CORBA.Container $result = org.omg.CORBA.ContainerHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return defined_in ( ); } finally { _releaseReply ($in); } } // defined_in
public org.omg.CORBA.ContainedPackage.Description describe () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("describe", true); $in = _invoke ($out); org.omg.CORBA.ContainedPackage.Description $result = org.omg.CORBA.ContainedPackage.DescriptionHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return describe ( ); } finally { _releaseReply ($in); } } // describe
public boolean is_a (String interface_id) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("is_a", true); org.omg.CORBA.RepositoryIdHelper.write ($out, interface_id); $in = _invoke ($out); boolean $result = $in.read_boolean (); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return is_a (interface_id ); } finally { _releaseReply ($in); } } // is_a
public org.omg.CORBA.Contained lookup (String search_name) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("lookup", true); org.omg.CORBA.ScopedNameHelper.write ($out, search_name); $in = _invoke ($out); org.omg.CORBA.Contained $result = org.omg.CORBA.ContainedHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return lookup (search_name ); } finally { _releaseReply ($in); } } // lookup
public void move (org.omg.CORBA.Container new_container, String new_name, String new_version) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("move", true); org.omg.CORBA.ContainerHelper.write ($out, new_container); org.omg.CORBA.IdentifierHelper.write ($out, new_name); org.omg.CORBA.VersionSpecHelper.write ($out, new_version); $in = _invoke ($out); return; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { move (new_container, new_name, new_version ); } finally { _releaseReply ($in); } } // move
public org.omg.CORBA.Contained[] contents (org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("contents", true); org.omg.CORBA.DefinitionKindHelper.write ($out, limit_type); $out.write_boolean (exclude_inherited); $in = _invoke ($out); org.omg.CORBA.Contained $result[] = org.omg.CORBA.ContainedSeqHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return contents (limit_type, exclude_inherited ); } finally { _releaseReply ($in); } } // contents
public org.omg.CORBA.NativeDef create_native (String id, String name, String version) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("create_native", true); org.omg.CORBA.RepositoryIdHelper.write ($out, id); org.omg.CORBA.IdentifierHelper.write ($out, name); org.omg.CORBA.VersionSpecHelper.write ($out, version); $in = _invoke ($out); org.omg.CORBA.NativeDef $result = org.omg.CORBA.NativeDefHelper.read ($in); return $result; } catch (org.omg.CORBA.portable.ApplicationException $ex) { $in = $ex.getInputStream (); String _id = $ex.getId (); throw new org.omg.CORBA.MARSHAL (_id); } catch (org.omg.CORBA.portable.RemarshalException $rm) { return create_native (id, name, version ); } finally { _releaseReply ($in); } } // create_native