public class TLcdOWSContact extends TLcdDataObject
For OWS use in the service metadata document, the optional hoursOfService and contactInstructions elements were retained, as possibly being useful in the ServiceProvider section.
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ADDRESS_PROPERTY
Data property that maps to the
Address element. |
static TLcdDataProperty |
CONTACT_INSTRUCTIONS_PROPERTY
Data property that maps to the
ContactInstructions element. |
static TLcdDataProperty |
HOURS_OF_SERVICE_PROPERTY
Data property that maps to the
HoursOfService element. |
static TLcdDataProperty |
ONLINE_RESOURCE_PROPERTY
Data property that maps to the
OnlineResource element. |
static TLcdDataProperty |
PHONE_PROPERTY
Data property that maps to the
Phone element. |
Constructor and Description |
---|
TLcdOWSContact() |
TLcdOWSContact(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
TLcdOWSAddress |
getAddress()
Returns the value of the property that maps to the
Address element. |
String |
getContactInstructions()
Returns the value of the property that maps to the
ContactInstructions element. |
String |
getHoursOfService()
Returns the value of the property that maps to the
HoursOfService element. |
TLcdOWSOnlineResource |
getOnlineResource()
Returns the value of the property that maps to the
OnlineResource element. |
TLcdOWSTelephone |
getPhone()
Returns the value of the property that maps to the
Phone element. |
void |
setAddress(TLcdOWSAddress aValue)
Sets the value of the property that maps to the
Address element. |
void |
setContactInstructions(String aValue)
Sets the value of the property that maps to the
ContactInstructions element. |
void |
setHoursOfService(String aValue)
Sets the value of the property that maps to the
HoursOfService element. |
void |
setOnlineResource(TLcdOWSOnlineResource aValue)
Sets the value of the property that maps to the
OnlineResource element. |
void |
setPhone(TLcdOWSTelephone aValue)
Sets the value of the property that maps to the
Phone element. |
public static final TLcdDataProperty PHONE_PROPERTY
Phone
element.
The possible values for this property are instances of TLcdOWSTelephone
.public static final TLcdDataProperty ADDRESS_PROPERTY
Address
element.
The possible values for this property are instances of TLcdOWSAddress
.public static final TLcdDataProperty ONLINE_RESOURCE_PROPERTY
OnlineResource
element.
The possible values for this property are instances of TLcdOWSOnlineResource
.public static final TLcdDataProperty HOURS_OF_SERVICE_PROPERTY
HoursOfService
element.
The possible values for this property are instances of String
.public static final TLcdDataProperty CONTACT_INSTRUCTIONS_PROPERTY
ContactInstructions
element.
The possible values for this property are instances of String
.public TLcdOWSContact()
public TLcdOWSContact(TLcdDataType aType)
public TLcdOWSTelephone getPhone()
Phone
element.
Telephone numbers at which the organization or individual may be contacted.
PHONE_PROPERTY
property.public void setPhone(TLcdOWSTelephone aValue)
Phone
element.
Telephone numbers at which the organization or individual may be contacted.
aValue
- the value to set for the PHONE_PROPERTY
property.public TLcdOWSAddress getAddress()
Address
element.
Physical and email address at which the organization or individual may be contacted.
ADDRESS_PROPERTY
property.public void setAddress(TLcdOWSAddress aValue)
Address
element.
Physical and email address at which the organization or individual may be contacted.
aValue
- the value to set for the ADDRESS_PROPERTY
property.public TLcdOWSOnlineResource getOnlineResource()
OnlineResource
element.
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.
ONLINE_RESOURCE_PROPERTY
property.public void setOnlineResource(TLcdOWSOnlineResource aValue)
OnlineResource
element.
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.
aValue
- the value to set for the ONLINE_RESOURCE_PROPERTY
property.public String getHoursOfService()
HoursOfService
element.
Time period (including time zone) when individuals can contact the organization or individual.
HOURS_OF_SERVICE_PROPERTY
property.public void setHoursOfService(String aValue)
HoursOfService
element.
Time period (including time zone) when individuals can contact the organization or individual.
aValue
- the value to set for the HOURS_OF_SERVICE_PROPERTY
property.public String getContactInstructions()
ContactInstructions
element.
Supplemental instructions on how or when to contact the individual or organization.
CONTACT_INSTRUCTIONS_PROPERTY
property.public void setContactInstructions(String aValue)
ContactInstructions
element.
Supplemental instructions on how or when to contact the individual or organization.
aValue
- the value to set for the CONTACT_INSTRUCTIONS_PROPERTY
property.