Esempio n. 1
0
 public org.omg.CORBA.Container defined_in() {
   org.omg.CORBA.Request _request = this._request("_get_defined_in");
   _request.set_return_type(org.omg.CORBA.ContainerHelper.type());
   _request.invoke();
   java.lang.Exception _exception = _request.env().exception();
   if (_exception != null) {
     throw (org.omg.CORBA.SystemException) _exception;
   }
   ;
   org.omg.CORBA.Container _result;
   _result = org.omg.CORBA.ContainerHelper.extract(_request.return_value());
   return _result;
 }
Esempio n. 2
0
 public void move(
     org.omg.CORBA.Container new_container,
     java.lang.String new_name,
     java.lang.String new_version) {
   org.omg.CORBA.Request _request = this._request("move");
   org.omg.CORBA.Any $new_container = _request.add_named_in_arg("new_container");
   org.omg.CORBA.ContainerHelper.insert($new_container, new_container);
   org.omg.CORBA.Any $new_name = _request.add_named_in_arg("new_name");
   $new_name.insert_string(new_name);
   org.omg.CORBA.Any $new_version = _request.add_named_in_arg("new_version");
   $new_version.insert_string(new_version);
   _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;
   }
   ;
 }