install::xml::action::relation-type (public)

 install::xml::action::relation-type node

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

Create a relation type.

Parameters:
node (required)

Partial Call Graph (max 5 caller/called nodes):
%3 apm_attribute_value apm_attribute_value (public) apm_required_attribute_value apm_required_attribute_value (public) rel_types::new rel_types::new (public) install::xml::action::relation-type install::xml::action::relation-type install::xml::action::relation-type->apm_attribute_value install::xml::action::relation-type->apm_required_attribute_value install::xml::action::relation-type->rel_types::new

Testcases:
No testcase defined.
Source code:
    set rel_type [apm_required_attribute_value $node rel-type]
    set pretty_name [apm_required_attribute_value $node pretty-name]
    set pretty_plural [apm_required_attribute_value $node pretty-plural]
    set object_type_one [apm_required_attribute_value $node object-type-one]
    set min_n_rels_one [apm_required_attribute_value $node min-n-rels-one]
    set max_n_rels_one [apm_attribute_value -default "" $node max-n-rels-one]
    set object_type_two [apm_required_attribute_value $node object-type-two]
    set min_n_rels_two [apm_required_attribute_value $node min-n-rels-two]
    set max_n_rels_two [apm_attribute_value -default "" $node max-n-rels-two]

    rel_types::new $rel_type  $pretty_name  $pretty_plural  $object_type_one  $min_n_rels_one  $max_n_rels_one  $object_type_two  $min_n_rels_two  $max_n_rels_two

    return
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: