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

Web Service Links

Namespace Children of ::wsdb::elements::stock::StockResponse::Name

Namespace Code for ::wsdb::elements::stock::StockResponse::Name

namespace eval ::wsdb::elements::stock::StockResponse::Name {
    variable base stock::name
    variable facetList {form Value maxOccurs 1 nillable true minOccurs 0}
    variable maxOccurs 1
    variable minOccurs 0
    variable new ::wsdb::elements::stock::StockResponse::Name::new
    variable validate ::wsdb::elements::stock::StockResponse::Name::Validate
    variable validate_stock_name ::wsdb::types::stock::name::validate

}

Procedures in ::wsdb::elements::stock::StockResponse::Name


proc ::wsdb::elements::stock::StockResponse::Name::new {
    namespace
    value
} {
         ::xml::element::appendText [::xml::element::append $namespace Name] .TEXT $value
    }


proc ::wsdb::elements::stock::StockResponse::Name::Validate {
    namespace
} {
        variable validate_stock_name
        set Valid [$validate_stock_name [::xml::instance::getTextValue $namespace]]

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