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

Web Service Links

Namespace Children of ::wsdb::types::stock::Code

Namespace Code for ::wsdb::types::stock::Code

namespace eval ::wsdb::types::stock::Code {
    variable base xsd::integer
    variable pattern {[0-9]{4}}
    variable validate ::wsdb::types::stock::Code::validate

}

Procedures in ::wsdb::types::stock::Code


proc ::wsdb::types::stock::Code::validate {
    value
} {
        variable base
        variable pattern
        if {[::wsdb::types::${base}::validate $value] && [regexp $pattern $value]} {
            return 1
        } else {
            return 0
     }}