Class TLcdOWSContact
- All Implemented Interfaces:
ILcdDataObject,ILcdCloneable,ILcdDeepCloneable,Cloneable
For OWS use in the service metadata document, the optional hoursOfService and contactInstructions elements were retained, as possibly being useful in the ServiceProvider section.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData property that maps to theAddresselement.static final TLcdDataPropertyData property that maps to theContactInstructionselement.static final TLcdDataPropertyData property that maps to theHoursOfServiceelement.static final TLcdDataPropertyData property that maps to theOnlineResourceelement.static final TLcdDataPropertyData property that maps to thePhoneelement. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the property that maps to theAddresselement.Returns the value of the property that maps to theContactInstructionselement.Returns the value of the property that maps to theHoursOfServiceelement.Returns the value of the property that maps to theOnlineResourceelement.getPhone()Returns the value of the property that maps to thePhoneelement.voidsetAddress(TLcdOWSAddress aValue) Sets the value of the property that maps to theAddresselement.voidsetContactInstructions(String aValue) Sets the value of the property that maps to theContactInstructionselement.voidsetHoursOfService(String aValue) Sets the value of the property that maps to theHoursOfServiceelement.voidSets the value of the property that maps to theOnlineResourceelement.voidsetPhone(TLcdOWSTelephone aValue) Sets the value of the property that maps to thePhoneelement.
-
Field Details
-
PHONE_PROPERTY
Data property that maps to thePhoneelement. The possible values for this property are instances ofTLcdOWSTelephone. -
ADDRESS_PROPERTY
Data property that maps to theAddresselement. The possible values for this property are instances ofTLcdOWSAddress. -
ONLINE_RESOURCE_PROPERTY
Data property that maps to theOnlineResourceelement. The possible values for this property are instances ofTLcdOWSOnlineResource. -
HOURS_OF_SERVICE_PROPERTY
Data property that maps to theHoursOfServiceelement. The possible values for this property are instances ofString. -
CONTACT_INSTRUCTIONS_PROPERTY
Data property that maps to theContactInstructionselement. The possible values for this property are instances ofString.
-
-
Constructor Details
-
TLcdOWSContact
public TLcdOWSContact() -
TLcdOWSContact
-
-
Method Details
-
getPhone
Returns the value of the property that maps to thePhoneelement.Telephone numbers at which the organization or individual may be contacted.
- Returns:
- the value of the
PHONE_PROPERTYproperty.
-
setPhone
Sets the value of the property that maps to thePhoneelement.Telephone numbers at which the organization or individual may be contacted.
- Parameters:
aValue- the value to set for thePHONE_PROPERTYproperty.
-
getAddress
Returns the value of the property that maps to theAddresselement.Physical and email address at which the organization or individual may be contacted.
- Returns:
- the value of the
ADDRESS_PROPERTYproperty.
-
setAddress
Sets the value of the property that maps to theAddresselement.Physical and email address at which the organization or individual may be contacted.
- Parameters:
aValue- the value to set for theADDRESS_PROPERTYproperty.
-
getOnlineResource
Returns the value of the property that maps to theOnlineResourceelement.On-line information that can be used to contact the individual or organization. OWS specifics: The xlink:href attribute in the xlink:simpleAttrs attribute group shall be used to reference this resource. Whenever practical, the xlink:href attribute with type anyURI should be a URL from which more contact information can be electronically retrieved. The xlink:title attribute with type "string" can be used to name this set of information. The other attributes in the xlink:simpleAttrs attribute group should not be used.
- Returns:
- the value of the
ONLINE_RESOURCE_PROPERTYproperty.
-
setOnlineResource
Sets the value of the property that maps to theOnlineResourceelement.On-line information that can be used to contact the individual or organization. OWS specifics: The xlink:href attribute in the xlink:simpleAttrs attribute group shall be used to reference this resource. Whenever practical, the xlink:href attribute with type anyURI should be a URL from which more contact information can be electronically retrieved. The xlink:title attribute with type "string" can be used to name this set of information. The other attributes in the xlink:simpleAttrs attribute group should not be used.
- Parameters:
aValue- the value to set for theONLINE_RESOURCE_PROPERTYproperty.
-
getHoursOfService
Returns the value of the property that maps to theHoursOfServiceelement.Time period (including time zone) when individuals can contact the organization or individual.
- Returns:
- the value of the
HOURS_OF_SERVICE_PROPERTYproperty.
-
setHoursOfService
Sets the value of the property that maps to theHoursOfServiceelement.Time period (including time zone) when individuals can contact the organization or individual.
- Parameters:
aValue- the value to set for theHOURS_OF_SERVICE_PROPERTYproperty.
-
getContactInstructions
Returns the value of the property that maps to theContactInstructionselement.Supplemental instructions on how or when to contact the individual or organization.
- Returns:
- the value of the
CONTACT_INSTRUCTIONS_PROPERTYproperty.
-
setContactInstructions
Sets the value of the property that maps to theContactInstructionselement.Supplemental instructions on how or when to contact the individual or organization.
- Parameters:
aValue- the value to set for theCONTACT_INSTRUCTIONS_PROPERTYproperty.
-