Class DomainType


  • public class DomainType
    extends Object
    Valid domain (or set of values) of one parameter or other quantity used by this server. A non-parameter quantity may not be explicitly represented in the server software. (Informative: An example is the outputFormat parameter of a WFS. Each WFS server should provide a Parameter element for the outputFormat parameter that lists the supported output formats, such as GML2, GML3, etc. as the allowed "Value" elements.)

    Java class for DomainType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="DomainType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
             <element ref="{http://www.opengis.net/ows}Metadata" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • DomainType

        public DomainType()
        Default no-arg constructor
    • Method Detail

      • getValue

        public List<String> getValue()
        Gets the value of the value property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the value property.

        For example, to add a new item, do as follows:

            getValue().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getMetadata

        public List<Metadata> getMetadata()
        Optional unordered list of additional metadata about this parameter. A list of required and optional metadata elements for this domain should be specified in the Implementation Specification for this service. (Informative: This metadata might specify the meanings of the valid values.) Gets the value of the metadata property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the metadata property.

        For example, to add a new item, do as follows:

            getMetadata().add(newItem);
         

        Objects of the following type(s) are allowed in the list Metadata

      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String