Package nl.b3p.csw.jaxb.ows
Class ContactType
- java.lang.Object
-
- nl.b3p.csw.jaxb.ows.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected AddressTypeaddressprotected StringcontactInstructionsprotected StringhoursOfServiceprotected OnlineResourceTypeonlineResourceprotected TelephoneTypephone
-
Constructor Summary
Constructors Constructor Description ContactType()Default no-arg constructorContactType(TelephoneType phone, AddressType address, OnlineResourceType onlineResource, String hoursOfService, String contactInstructions)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressTypegetAddress()Gets the value of the address property.StringgetContactInstructions()Gets the value of the contactInstructions property.StringgetHoursOfService()Gets the value of the hoursOfService property.OnlineResourceTypegetOnlineResource()Gets the value of the onlineResource property.TelephoneTypegetPhone()Gets the value of the phone property.voidsetAddress(AddressType value)Sets the value of the address property.voidsetContactInstructions(String value)Sets the value of the contactInstructions property.voidsetHoursOfService(String value)Sets the value of the hoursOfService property.voidsetOnlineResource(OnlineResourceType value)Sets the value of the onlineResource property.voidsetPhone(TelephoneType value)Sets the value of the phone property.
-
-
-
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()
Default no-arg constructor
-
ContactType
public ContactType(TelephoneType phone, AddressType address, OnlineResourceType onlineResource, String hoursOfService, String contactInstructions)
Fully-initialising value constructor
-
-
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 isTelephoneType
-
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 isAddressType
-
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 isOnlineResourceType
-
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 isString
-
getContactInstructions
public String getContactInstructions()
Gets the value of the contactInstructions property.- Returns:
- possible object is
String
-
-