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 namespace='http://tethys.sdsu.edu/schema/1.0'/>
</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.Phonepublic void setPhone(ContactInfo.Phone value)
value - allowed object is
ContactInfo.Phonepublic ContactInfo.Address getAddress()
ContactInfo.Addresspublic void setAddress(ContactInfo.Address value)
value - allowed object is
ContactInfo.Addresspublic 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()
Stringpublic void setHoursOfService(String value)
value - allowed object is
Stringpublic String getContactInstructions()
StringCopyright © 2024 Tethys. All rights reserved.