Exemplo n.º 1
0
 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
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;
 }
Exemplo n.º 4
0
 public void is_abstract(boolean value) {
   org.omg.CORBA.Request _request = this._request("_set_is_abstract");
   org.omg.CORBA.Any $value = _request.add_in_arg();
   $value.insert_boolean(value);
   _request.invoke();
   java.lang.Exception _exception = _request.env().exception();
   if (_exception != null) {
     throw (org.omg.CORBA.SystemException) _exception;
   }
   ;
 }
Exemplo n.º 5
0
 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;
 }