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

Web Service Links

Namespace Children of ::wsdb::elements::address::toAddress::toCompany

Namespace Code for ::wsdb::elements::address::toAddress::toCompany

namespace eval ::wsdb::elements::address::toAddress::toCompany {
    variable base address::companyName
    variable facetList {form Value maxOccurs 1 minOccurs 1}
    variable maxOccurs 1
    variable minOccurs 1
    variable new ::wsdb::elements::address::toAddress::toCompany::new
    variable validate ::wsdb::elements::address::toAddress::toCompany::Validate
    variable validate_address_companyName ::wsdb::types::address::companyName::validate

}

Procedures in ::wsdb::elements::address::toAddress::toCompany


proc ::wsdb::elements::address::toAddress::toCompany::new {
    namespace
    value
} {
         ::xml::element::appendText [::xml::element::append $namespace toCompany] .TEXT $value
    }


proc ::wsdb::elements::address::toAddress::toCompany::Validate {
    namespace
} {
        variable validate_address_companyName
        set Valid [$validate_address_companyName [::xml::instance::getTextValue $namespace]]

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