net.opengis.ows.v_2_0
Class ContactType

java.lang.Object
  extended by net.opengis.ows.v_2_0.ContactType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

public class ContactType
extends Object
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

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/2.0}TelephoneType" minOccurs="0"/>
         <element name="Address" type="{http://www.opengis.net/ows/2.0}AddressType" minOccurs="0"/>
         <element name="OnlineResource" type="{http://www.opengis.net/ows/2.0}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>
 


Field Summary
protected  AddressType address
           
protected  String contactInstructions
           
protected  String hoursOfService
           
protected  OnlineResourceType onlineResource
           
protected  TelephoneType phone
           
 
Constructor Summary
ContactType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
           
 AddressType getAddress()
          Gets the value of the address property.
 String getContactInstructions()
          Gets the value of the contactInstructions property.
 String getHoursOfService()
          Gets the value of the hoursOfService property.
 OnlineResourceType getOnlineResource()
          Gets the value of the onlineResource property.
 TelephoneType getPhone()
          Gets the value of the phone property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetAddress()
           
 boolean isSetContactInstructions()
           
 boolean isSetHoursOfService()
           
 boolean isSetOnlineResource()
           
 boolean isSetPhone()
           
 void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setAddress(AddressType value)
          Sets the value of the address property.
 void setContactInstructions(String value)
          Sets the value of the contactInstructions property.
 void setHoursOfService(String value)
          Sets the value of the hoursOfService property.
 void setOnlineResource(OnlineResourceType value)
          Sets the value of the onlineResource property.
 void setPhone(TelephoneType value)
          Sets the value of the phone property.
 String toString()
           
 ContactType withAddress(AddressType value)
           
 ContactType withContactInstructions(String value)
           
 ContactType withHoursOfService(String value)
           
 ContactType withOnlineResource(OnlineResourceType value)
           
 ContactType withPhone(TelephoneType value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

phone

protected TelephoneType phone

address

protected AddressType address

onlineResource

protected OnlineResourceType onlineResource

hoursOfService

protected String hoursOfService

contactInstructions

protected String contactInstructions
Constructor Detail

ContactType

public ContactType()
Method Detail

getPhone

public TelephoneType getPhone()
Gets the value of the phone property.

Returns:
possible object is TelephoneType

setPhone

public void setPhone(TelephoneType value)
Sets the value of the phone property.

Parameters:
value - allowed object is TelephoneType

isSetPhone

public boolean isSetPhone()

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

isSetAddress

public boolean isSetAddress()

getOnlineResource

public OnlineResourceType getOnlineResource()
Gets the value of the onlineResource property.

Returns:
possible object is OnlineResourceType

setOnlineResource

public void setOnlineResource(OnlineResourceType value)
Sets the value of the onlineResource property.

Parameters:
value - allowed object is OnlineResourceType

isSetOnlineResource

public boolean isSetOnlineResource()

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

isSetHoursOfService

public boolean isSetHoursOfService()

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

isSetContactInstructions

public boolean isSetContactInstructions()

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString2

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals2

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2

mergeFrom

public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
                      Object left,
                      Object right,
                      org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2

withPhone

public ContactType withPhone(TelephoneType value)

withAddress

public ContactType withAddress(AddressType value)

withOnlineResource

public ContactType withOnlineResource(OnlineResourceType value)

withHoursOfService

public ContactType withHoursOfService(String value)

withContactInstructions

public ContactType withContactInstructions(String value)


Copyright © 2008-2016. All Rights Reserved.