The following operations are supported. For a formal definition, please review the Service Description.

Web Service Links

Namespace Children of ::wsdb::elements::biz::item::Quantity

Namespace Code for ::wsdb::elements::biz::item::Quantity

namespace eval ::wsdb::elements::biz::item::Quantity {
    variable base xsd::integer
    variable facetList {form Value maxOccurs 1 minOccurs 1}
    variable maxOccurs 1
    variable minOccurs 1
    variable new ::wsdb::elements::biz::item::Quantity::new
    variable validate ::wsdb::elements::biz::item::Quantity::Validate
    variable validate_xsd_integer ::wsdb::types::xsd::integer::validate

}

Procedures in ::wsdb::elements::biz::item::Quantity


proc ::wsdb::elements::biz::item::Quantity::new {
    namespace
    value
} {
         ::xml::element::appendText [::xml::element::append $namespace Quantity] .TEXT $value
    }


proc ::wsdb::elements::biz::item::Quantity::Validate {
    namespace
} {
        variable validate_xsd_integer
        set Valid [$validate_xsd_integer [::xml::instance::getTextValue $namespace]]

        if {!$Valid} {
            ::wsdl::elements::noteFault $namespace [list 1 Quantity [::xml::instance::getTextValue $namespace] $validate_xsd_integer ]
        }
        return $Valid
    }