public class ContactInfo extends Object
Java class for contactInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="contactInfo"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="phone" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="voice" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="facsimile" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="address" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="deliveryPoint" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="city" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="administrativeArea" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="postalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="country" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="electronicMailAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="onlineResource" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <anyAttribute/> </restriction> </complexContent> </complexType> </element> <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>
Modifier and Type | Class and Description |
---|---|
static class |
ContactInfo.Address
Java class for anonymous complex type.
|
static class |
ContactInfo.OnlineResource
Java class for anonymous complex type.
|
static class |
ContactInfo.Phone
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected ContactInfo.Address |
address |
protected String |
contactInstructions |
protected String |
hoursOfService |
protected List<ContactInfo.OnlineResource> |
onlineResource |
protected ContactInfo.Phone |
phone |
Constructor and Description |
---|
ContactInfo() |
Modifier and Type | Method and Description |
---|---|
ContactInfo.Address |
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.
|
List<ContactInfo.OnlineResource> |
getOnlineResource()
Gets the value of the onlineResource property.
|
ContactInfo.Phone |
getPhone()
Gets the value of the phone property.
|
void |
setAddress(ContactInfo.Address 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 |
setPhone(ContactInfo.Phone value)
Sets the value of the phone property.
|
protected ContactInfo.Phone phone
protected ContactInfo.Address address
protected List<ContactInfo.OnlineResource> onlineResource
protected String hoursOfService
protected String contactInstructions
public ContactInfo.Phone getPhone()
ContactInfo.Phone
public void setPhone(ContactInfo.Phone value)
value
- allowed object is
ContactInfo.Phone
public ContactInfo.Address getAddress()
ContactInfo.Address
public void setAddress(ContactInfo.Address value)
value
- allowed object is
ContactInfo.Address
public List<ContactInfo.OnlineResource> getOnlineResource()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the onlineResource property.
For example, to add a new item, do as follows:
getOnlineResource().add(newItem);
Objects of the following type(s) are allowed in the list
ContactInfo.OnlineResource
public String getHoursOfService()
String
public void setHoursOfService(String value)
value
- allowed object is
String
public String getContactInstructions()
String
Copyright © 2020 Tethys. All rights reserved.