예제 #1
0
 public org.omg.CORBA.InterfaceDef[] base_interfaces() {
   org.omg.CORBA.Request _request = this._request("_get_base_interfaces");
   _request.set_return_type(org.omg.CORBA.InterfaceDefSeqHelper.type());
   _request.invoke();
   java.lang.Exception _exception = _request.env().exception();
   if (_exception != null) {
     throw (org.omg.CORBA.SystemException) _exception;
   }
   ;
   org.omg.CORBA.InterfaceDef[] _result;
   _result = org.omg.CORBA.InterfaceDefSeqHelper.extract(_request.return_value());
   return _result;
 }
예제 #2
0
 public org.omg.CORBA.InterfaceDef create_interface(
     java.lang.String id,
     java.lang.String name,
     java.lang.String version,
     org.omg.CORBA.InterfaceDef[] base_interfaces,
     boolean is_abstract) {
   org.omg.CORBA.Request _request = this._request("create_interface");
   _request.set_return_type(org.omg.CORBA.InterfaceDefHelper.type());
   org.omg.CORBA.Any $id = _request.add_named_in_arg("id");
   $id.insert_string(id);
   org.omg.CORBA.Any $name = _request.add_named_in_arg("name");
   $name.insert_string(name);
   org.omg.CORBA.Any $version = _request.add_named_in_arg("version");
   $version.insert_string(version);
   org.omg.CORBA.Any $base_interfaces = _request.add_named_in_arg("base_interfaces");
   org.omg.CORBA.InterfaceDefSeqHelper.insert($base_interfaces, base_interfaces);
   org.omg.CORBA.Any $is_abstract = _request.add_named_in_arg("is_abstract");
   $is_abstract.insert_boolean(is_abstract);
   _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.InterfaceDef _result;
   _result = org.omg.CORBA.InterfaceDefHelper.extract(_request.return_value());
   return _result;
 }
예제 #3
0
 public void base_interfaces(org.omg.CORBA.InterfaceDef[] value) {
   org.omg.CORBA.Request _request = this._request("_set_base_interfaces");
   org.omg.CORBA.Any $value = _request.add_in_arg();
   org.omg.CORBA.InterfaceDefSeqHelper.insert($value, value);
   _request.invoke();
   java.lang.Exception _exception = _request.env().exception();
   if (_exception != null) {
     throw (org.omg.CORBA.SystemException) _exception;
   }
   ;
 }
예제 #4
0
 public org.omg.CORBA.ValueDef create_value(
     java.lang.String id,
     java.lang.String name,
     java.lang.String version,
     boolean is_custom,
     boolean is_abstract,
     org.omg.CORBA.ValueDef base_value,
     boolean is_truncatable,
     org.omg.CORBA.ValueDef[] abstract_base_values,
     org.omg.CORBA.InterfaceDef[] supported_interfaces,
     org.omg.CORBA.Initializer[] initializers) {
   org.omg.CORBA.Request _request = this._request("create_value");
   _request.set_return_type(org.omg.CORBA.ValueDefHelper.type());
   org.omg.CORBA.Any $id = _request.add_named_in_arg("id");
   $id.insert_string(id);
   org.omg.CORBA.Any $name = _request.add_named_in_arg("name");
   $name.insert_string(name);
   org.omg.CORBA.Any $version = _request.add_named_in_arg("version");
   $version.insert_string(version);
   org.omg.CORBA.Any $is_custom = _request.add_named_in_arg("is_custom");
   $is_custom.insert_boolean(is_custom);
   org.omg.CORBA.Any $is_abstract = _request.add_named_in_arg("is_abstract");
   $is_abstract.insert_boolean(is_abstract);
   org.omg.CORBA.Any $base_value = _request.add_named_in_arg("base_value");
   org.omg.CORBA.ValueDefHelper.insert($base_value, base_value);
   org.omg.CORBA.Any $is_truncatable = _request.add_named_in_arg("is_truncatable");
   $is_truncatable.insert_boolean(is_truncatable);
   org.omg.CORBA.Any $abstract_base_values = _request.add_named_in_arg("abstract_base_values");
   org.omg.CORBA.ValueDefSeqHelper.insert($abstract_base_values, abstract_base_values);
   org.omg.CORBA.Any $supported_interfaces = _request.add_named_in_arg("supported_interfaces");
   org.omg.CORBA.InterfaceDefSeqHelper.insert($supported_interfaces, supported_interfaces);
   org.omg.CORBA.Any $initializers = _request.add_named_in_arg("initializers");
   org.omg.CORBA.InitializerSeqHelper.insert($initializers, initializers);
   _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.ValueDef _result;
   _result = org.omg.CORBA.ValueDefHelper.extract(_request.return_value());
   return _result;
 }