public static org.omg.CORBA.UnionDef unchecked_narrow (org.omg.CORBA.Object obj) { if (obj == null) return null; else if (obj instanceof org.omg.CORBA.UnionDef) return (org.omg.CORBA.UnionDef)obj; else { org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl)obj)._get_delegate (); org.omg.CORBA._UnionDefStub stub = new org.omg.CORBA._UnionDefStub (); stub._set_delegate(delegate); return stub; } }
if(!this._is_local()) try out = _request("_get_id", true); in = _invoke(out); String _ob_r = RepositoryIdHelper.read(in); return _ob_r; _releaseReply(in); org.omg.CORBA.portable.ServantObject _ob_so = _servant_preinvoke("id", _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 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 void discriminator_type_def (org.omg.CORBA.IDLType newDiscriminator_type_def) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_discriminator_type_def", true); org.omg.CORBA.IDLTypeHelper.write ($out, newDiscriminator_type_def); $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) { discriminator_type_def (newDiscriminator_type_def ); } finally { _releaseReply ($in); } } // discriminator_type_def
public void members (org.omg.CORBA.UnionMember[] newMembers) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_set_members", true); org.omg.CORBA.UnionMemberSeqHelper.write ($out, newMembers); $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) { members (newMembers ); } finally { _releaseReply ($in); } } // members
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 String id () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_id", true); $in = _invoke ($out); String $result = org.omg.CORBA.RepositoryIdHelper.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 id ( ); } finally { _releaseReply ($in); } } // id
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.TypeCode discriminator_type () { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("_get_discriminator_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 discriminator_type ( ); } finally { _releaseReply ($in); } } // discriminator_type
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.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.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.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 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.ModuleDef create_module (String id, String name, String version) { org.omg.CORBA.portable.InputStream $in = null; try { org.omg.CORBA.portable.OutputStream $out = _request ("create_module", 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.ModuleDef $result = org.omg.CORBA.ModuleDefHelper.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_module (id, name, version ); } finally { _releaseReply ($in); } } // create_module
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