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; }
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; }