public org.omg.CORBA.DefinitionKind def_kind() { org.omg.CORBA.Request _request = this._request("_get_def_kind"); _request.set_return_type(org.omg.CORBA.DefinitionKindHelper.type()); _request.invoke(); java.lang.Exception _exception = _request.env().exception(); if (_exception != null) { throw (org.omg.CORBA.SystemException) _exception; } ; org.omg.CORBA.DefinitionKind _result; _result = org.omg.CORBA.DefinitionKindHelper.extract(_request.return_value()); return _result; }
public org.omg.CORBA.Contained[] lookup_name( java.lang.String search_name, int levels_to_search, org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited) { org.omg.CORBA.Request _request = this._request("lookup_name"); _request.set_return_type(org.omg.CORBA.ContainedSeqHelper.type()); org.omg.CORBA.Any $search_name = _request.add_named_in_arg("search_name"); $search_name.insert_string(search_name); org.omg.CORBA.Any $levels_to_search = _request.add_named_in_arg("levels_to_search"); $levels_to_search.insert_long(levels_to_search); org.omg.CORBA.Any $limit_type = _request.add_named_in_arg("limit_type"); org.omg.CORBA.DefinitionKindHelper.insert($limit_type, limit_type); org.omg.CORBA.Any $exclude_inherited = _request.add_named_in_arg("exclude_inherited"); $exclude_inherited.insert_boolean(exclude_inherited); _request.invoke(); java.lang.Exception _exception = _request.env().exception(); if (_exception != null) { if (_exception instanceof org.omg.CORBA.UnknownUserException) { org.omg.CORBA.UnknownUserException _userException = (org.omg.CORBA.UnknownUserException) _exception; } throw (org.omg.CORBA.SystemException) _exception; } ; org.omg.CORBA.Contained[] _result; _result = org.omg.CORBA.ContainedSeqHelper.extract(_request.return_value()); return _result; }
// read interface 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.Contained[] contents( org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited) { org.omg.CORBA.Request _request = this._request("contents"); _request.set_return_type(org.omg.CORBA.ContainedSeqHelper.type()); org.omg.CORBA.Any $limit_type = _request.add_named_in_arg("limit_type"); org.omg.CORBA.DefinitionKindHelper.insert($limit_type, limit_type); org.omg.CORBA.Any $exclude_inherited = _request.add_named_in_arg("exclude_inherited"); $exclude_inherited.insert_boolean(exclude_inherited); _request.invoke(); java.lang.Exception _exception = _request.env().exception(); if (_exception != null) { if (_exception instanceof org.omg.CORBA.UnknownUserException) { org.omg.CORBA.UnknownUserException _userException = (org.omg.CORBA.UnknownUserException) _exception; } throw (org.omg.CORBA.SystemException) _exception; } ; org.omg.CORBA.Contained[] _result; _result = org.omg.CORBA.ContainedSeqHelper.extract(_request.return_value()); return _result; }
public org.omg.CORBA.TypeCode _type() { return org.omg.CORBA.DefinitionKindHelper.type(); };
public void _write(org.omg.CORBA.portable.OutputStream os) { org.omg.CORBA.DefinitionKindHelper.write(os, value); };
public void _read(org.omg.CORBA.portable.InputStream is) { value = org.omg.CORBA.DefinitionKindHelper.read(is); };