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

Web Service Links

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

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

namespace eval ::wsdb::elements::address::fromAddress::fromState {
    variable base address::stateCode
    variable facetList {form Value maxOccurs 1 minOccurs 1}
    variable maxOccurs 1
    variable minOccurs 1
    variable new ::wsdb::elements::address::fromAddress::fromState::new
    variable validate ::wsdb::elements::address::fromAddress::fromState::Validate
    variable validate_address_stateCode ::wsdb::types::address::stateCode::validate

}

Procedures in ::wsdb::elements::address::fromAddress::fromState


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


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

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