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

Web Service Links

Namespace Children of ::wsdb::elements::address::fromAddress::fromCity

Namespace Code for ::wsdb::elements::address::fromAddress::fromCity

namespace eval ::wsdb::elements::address::fromAddress::fromCity {
    variable base address::city
    variable facetList {form Value maxOccurs 1 minOccurs 1}
    variable maxOccurs 1
    variable minOccurs 1
    variable new ::wsdb::elements::address::fromAddress::fromCity::new
    variable validate ::wsdb::elements::address::fromAddress::fromCity::Validate
    variable validate_address_city ::wsdb::types::address::city::validate

}

Procedures in ::wsdb::elements::address::fromAddress::fromCity


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


proc ::wsdb::elements::address::fromAddress::fromCity::Validate {
    namespace
} {
        variable validate_address_city
        set Valid [$validate_address_city [::xml::instance::getTextValue $namespace]]

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