Class ContactType


  • public class ContactType
    extends Object
    For OWS use in the service metadata document, the optional hoursOfService and contactInstructions elements were retained, as possibly being useful in the ServiceProvider section.

    Java class for ContactType complex type.

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

     <complexType name="ContactType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Phone" type="{http://www.opengis.net/ows}TelephoneType" minOccurs="0"/>
             <element name="Address" type="{http://www.opengis.net/ows}AddressType" minOccurs="0"/>
             <element name="OnlineResource" type="{http://www.opengis.net/ows}OnlineResourceType" minOccurs="0"/>
             <element name="HoursOfService" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="ContactInstructions" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • ContactType

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

      • setPhone

        public void setPhone​(TelephoneType value)
        Sets the value of the phone property.
        Parameters:
        value - allowed object is TelephoneType
      • getAddress

        public AddressType getAddress()
        Gets the value of the address property.
        Returns:
        possible object is AddressType
      • setAddress

        public void setAddress​(AddressType value)
        Sets the value of the address property.
        Parameters:
        value - allowed object is AddressType
      • setOnlineResource

        public void setOnlineResource​(OnlineResourceType value)
        Sets the value of the onlineResource property.
        Parameters:
        value - allowed object is OnlineResourceType
      • getHoursOfService

        public String getHoursOfService()
        Gets the value of the hoursOfService property.
        Returns:
        possible object is String
      • setHoursOfService

        public void setHoursOfService​(String value)
        Sets the value of the hoursOfService property.
        Parameters:
        value - allowed object is String
      • getContactInstructions

        public String getContactInstructions()
        Gets the value of the contactInstructions property.
        Returns:
        possible object is String
      • setContactInstructions

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