The following operations are supported. For a formal definition,
please review the
Service Description.
Web Service Links
Namespace Children of ::wsdb::types::address::addressLineTwo
Namespace Code for ::wsdb::types::address::addressLineTwo
namespace eval ::wsdb::types::address::addressLineTwo {
variable base xsd::string
variable maxLength 80
variable validate ::wsdb::types::address::addressLineTwo::validate
}
Procedures in ::wsdb::types::address::addressLineTwo
proc ::wsdb::types::address::addressLineTwo::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
}