acs_sc::msg_type::new (public)

 acs_sc::msg_type::new -name name [ -specification specification ]

Defined in packages/acs-service-contract/tcl/msg-type-procs.tcl

Switches:
-name (required)
-specification (optional)
Msg type specification in the format required by the SQL proc, namely 'foo:integer,bar:[string]'

Partial Call Graph (max 5 caller/called nodes):
%3 test_acs_sc_impl_new_from_spec acs_sc_impl_new_from_spec (test acs-service-contract) acs_sc::msg_type::new acs_sc::msg_type::new test_acs_sc_impl_new_from_spec->acs_sc::msg_type::new db_exec_plsql db_exec_plsql (public) acs_sc::msg_type::new->db_exec_plsql acs_sc::msg_type::parse_spec acs_sc::msg_type::parse_spec (private) acs_sc::msg_type::parse_spec->acs_sc::msg_type::new

Testcases:
acs_sc_impl_new_from_spec
Source code:
    db_exec_plsql insert_msg_type {}
Generic XQL file:
packages/acs-service-contract/tcl/msg-type-procs.xql

PostgreSQL XQL file:
<fullquery name="acs_sc::msg_type::new.insert_msg_type">
    <querytext>
        select acs_sc_msg_type__new(
            :name, 
            :specification); 	
    </querytext>
</fullquery>
packages/acs-service-contract/tcl/msg-type-procs-postgresql.xql

Oracle XQL file:
<fullquery name="acs_sc::msg_type::new.insert_msg_type">
    <querytext>
        begin
            :1 := acs_sc_msg_type.new(
                :name, 
                :specification
            );
        end;
    </querytext>
</fullquery>
packages/acs-service-contract/tcl/msg-type-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: