getDomain operation Discovery class

Table 20 — UML attributes and role in describeRecordType operation normal response Name Definition Data type and value Optionality and use sessionInfo The core set of parameters required in each message exchanged between a client and server operating in a session context, where these parameters support message routing and session management SessionInfo, See Table 12 Zero or one Conditional Include when sessions are supportedrequired by protocol binding andor result sets are persistent typeName Name of metadata record type for which type information is returned Character String Values are names of metadata record types One or more Mandatory Include one for each record type to be returned schemaLanguage The schema language used to describe the type Character String. Non- empty Values specified by protocol binding One Mandatory.

7.2.4.5 getDomain operation

The getDomain operation is more completely specified in Table 21. provides a UML model of the getDomain operation that shows the complete Discovery class with the GetDomainRequest and GetDomainResponse classes and the class they use. The operation request includes the attributes listed and defined in Table 22. The normal operation response includes the attributes and association role name listed and defined in Table 23. Table 21 — Definition of getValueDomain operation Definition Allows clients to retrieve the domain allowed values of a metadata property or request parameter at the time the request is invoked. The returned information may be static domain information, but may also be dynamic in that the allowed values are determined at runtime. The operation does a best attempt at returning information about a metadata property or request parameter. Receives Names of one or more requested metadata properties or request parameters. Returns Descriptions of domains of one or more requested metadata properties or request parameters Exceptions Missing Parameter Value, Invalid Parameter Name Pre-conditions None Post-conditions Descriptions of domains returned to requesting client, containing the domain descriptions for all the identified metadata properties or request parameters. 42 Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. Figure 9 — getDomain operation UML static model Table 22 — UML attribute in getDomain operation request Name Definition Data type and value Optionality parameterName The name of a metadata property or request parameter Character string. Non-empty Allowed values specified by protocol binding One Mandatory Table 23 — UML attributes and role in getValueDomain operation normal response Name Definition Data type and value Optionality and use parameterName Name or identifier of metadata property or request parameter Character String type, not empty One Mandatory listOfValues Unordered list of domain values Data type of list elements depends on the data type of the parameter whose domain is being described Zero or one Optional a conceptualScheme Reference to an authoritative list of domain values for the specified parameter Data type of list of values in the authoritative list depends on the data type of the parameter whose domain is being described Zero or one Optional a rangeOfValues Range of domain values expressed by specifying a minimum and maximum value Data type of the minimum and maximum values depends on the data type of the parameter whose domain is being described Zero or one Optional a a For any single parameter, only one of listOfValues, conceptualScheme or rangeOfValues should be used to describe the value domain. Copyright © 2007 Open Geospatial Consortium, Inc. All Rights Reserved. 43

7.2.5 Session class