acs_sc::contract::operation::parse_spec (private)

 acs_sc::contract::operation::parse_spec -contract_name contract_name \
    -operation operation -spec spec

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

Parse one operation

Switches:
-contract_name (required)
-operation (required)
-spec (required)

Partial Call Graph (max 5 caller/called nodes):
%3 acs_sc::contract::operation::parse_operations_spec acs_sc::contract::operation::parse_operations_spec (private) acs_sc::contract::operation::parse_spec acs_sc::contract::operation::parse_spec acs_sc::contract::operation::parse_operations_spec->acs_sc::contract::operation::parse_spec acs_sc::contract::operation::new acs_sc::contract::operation::new (public) acs_sc::contract::operation::parse_spec->acs_sc::contract::operation::new

Testcases:
No testcase defined.
Source code:

    # Default values
    array set attributes {
        description {}
        input {}
        output {}
        is_cachable_p "f"
    }

    # Get the sepc
    array set attributes $spec

    # New operation
    acs_sc::contract::operation::new  -contract_name $contract_name  -operation $operation  -description $attributes(description)  -input $attributes(input)    -output $attributes(output)  -is_cachable_p $attributes(is_cachable_p)
XQL Not present:
Generic
PostgreSQL XQL file:
packages/acs-service-contract/tcl/contract-procs-postgresql.xql

Oracle XQL file:
packages/acs-service-contract/tcl/contract-procs-oracle.xql

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