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

Web Service Links

Namespace Children of ::wsdb::types::aca::SoftwareIdType

Namespace Code for ::wsdb::types::aca::SoftwareIdType

namespace eval ::wsdb::types::aca::SoftwareIdType {
    variable base xsd::string
    variable maxLength 10
    variable validate ::wsdb::types::aca::SoftwareIdType::validate

}

Procedures in ::wsdb::types::aca::SoftwareIdType


proc ::wsdb::types::aca::SoftwareIdType::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 > 10} {
            lappend errorList "failed maxLength test foundLength ($valueLength) > maxLength (10)"
            break
        }
        set valid 1
        break
    }

    return $valid
}