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

Web Service Links

Namespace Children of ::wsdb::elements::datetime::AddDurationToDateTimeRequest::Duration

Namespace Code for ::wsdb::elements::datetime::AddDurationToDateTimeRequest::Duration

namespace eval ::wsdb::elements::datetime::AddDurationToDateTimeRequest::Duration {
    variable base xsd::duration
    variable facetList {form Value maxOccurs 1 minOccurs 1}
    variable maxOccurs 1
    variable minOccurs 1
    variable new ::wsdb::elements::datetime::AddDurationToDateTimeRequest::Duration::new
    variable validate ::wsdb::elements::datetime::AddDurationToDateTimeRequest::Duration::Validate
    variable validate_xsd_duration ::wsdb::types::xsd::duration::validate

}

Procedures in ::wsdb::elements::datetime::AddDurationToDateTimeRequest::Duration


proc ::wsdb::elements::datetime::AddDurationToDateTimeRequest::Duration::new {
    namespace
    value
} {
         ::xml::element::appendText [::xml::element::append $namespace Duration] .TEXT $value
    }


proc ::wsdb::elements::datetime::AddDurationToDateTimeRequest::Duration::Validate {
    namespace
} {
        variable validate_xsd_duration
        set Valid [$validate_xsd_duration [::xml::instance::getTextValue $namespace]]

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