The following operations are supported. For a formal definition,
please review the
Service Description.
Web Service Links
Namespace Children of ::wsdb::types::address::city
Namespace Code for ::wsdb::types::address::city
namespace eval ::wsdb::types::address::city {
variable base xsd::string
variable maxLength 80
variable validate ::wsdb::types::address::city::validate
}
Procedures in ::wsdb::types::address::city
proc ::wsdb::types::address::city::validate {
value
{errorListVar }
} {
variable base
variable maxLength
if {"$errorListVar" ne ""} {
upvar $errorListVar errorList
}
set valid 0
set errorList [list $value]
while {1} {
if {![::wsdb::types::${base}::validate $value]} {
lappend errorList "failed base test $base"
break
}
set valueLength [string length $value]
if {$valueLength > 80} {
lappend errorList "failed maxLength test foundLength ($valueLength) > maxLength (80)"
break
}
set valid 1
break
}
return $valid
}