apm::package_version::attributes::default_value (public)

 apm::package_version::attributes::default_value attribute_name

Defined in packages/acs-tcl/tcl/apm-install-procs.tcl

Return the default value for the given attribute name.

Parameters:
attribute_name (required)
Author:
Peter Marklund

Partial Call Graph (max 5 caller/called nodes):
%3 apm::package_version::attributes::get_spec apm::package_version::attributes::get_spec (public) apm::package_version::attributes::default_value apm::package_version::attributes::default_value apm::package_version::attributes::get_spec->apm::package_version::attributes::default_value apm::package_version::attributes::parse_xml apm::package_version::attributes::parse_xml (private) apm::package_version::attributes::parse_xml->apm::package_version::attributes::default_value packages/acs-admin/www/apm/version-edit.tcl packages/acs-admin/ www/apm/version-edit.tcl packages/acs-admin/www/apm/version-edit.tcl->apm::package_version::attributes::default_value

Testcases:
No testcase defined.
Source code:
    set attributes [apm::package_version::attributes::get_spec]

    if { [dict exists $attributes $attribute_name default_value] } {
        set default_value [dict get $attributes $attribute_name default_value]
    } else {
        # No default value so use the empty string (the default default value)
        set default_value ""
    }

    return $default_value
Generic XQL file:
packages/acs-tcl/tcl/apm-install-procs.xql

PostgreSQL XQL file:
packages/acs-tcl/tcl/apm-install-procs-postgresql.xql

Oracle XQL file:
packages/acs-tcl/tcl/apm-install-procs-oracle.xql

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