|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.ContactInfo
public class ContactInfo
Allows multiple pieces of information to be repeated for a single contact (e.g. one employee has mutliple e-mail addresses) and also allows multiple contacts to be associated to a single or multiple piece of information (e.g. all employees working in a restaurant can be reached at the same phone number). Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ContactInfoType">
<xs:sequence>
<xs:element type="ns:ContactsType" name="Names" minOccurs="0">
<!-- Reference to inner class Names -->
</xs:element>
<xs:element type="ns:AddressesType" name="Addresses" minOccurs="0">
<!-- Reference to inner class Addresses -->
</xs:element>
<xs:element type="ns:PhonesType" name="Phones" minOccurs="0">
<!-- Reference to inner class Phones -->
</xs:element>
<xs:element type="ns:EmailsType" name="Emails" minOccurs="0">
<!-- Reference to inner class Emails -->
</xs:element>
<xs:element type="ns:URLsType" name="URLs" minOccurs="0"/>
<xs:element name="CompanyName" minOccurs="0">
<!-- Reference to inner class CompanyName -->
</xs:element>
</xs:sequence>
<xs:attribute type="xs:string" use="optional" name="Location"/>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
ContactInfo.Addresses
A collection of Address elements. |
static class |
ContactInfo.CompanyName
The name of the company with which this contact is associated. |
static class |
ContactInfo.Emails
A collection of email elements. |
static class |
ContactInfo.Names
A collection of Name elements. |
static class |
ContactInfo.Phones
A collection of Phone elements. |
| Constructor Summary | |
|---|---|
ContactInfo()
|
|
| Method Summary | |
|---|---|
ContactInfo.Addresses |
getAddresses()
Get the 'Addresses' element value. |
ContactInfo.CompanyName |
getCompanyName()
Get the 'CompanyName' element value. |
ContactInfo.Emails |
getEmails()
Get the 'Emails' element value. |
java.lang.String |
getLocation()
Get the 'Location' attribute value. |
ContactInfo.Names |
getNames()
Get the 'Names' element value. |
ContactInfo.Phones |
getPhones()
Get the 'Phones' element value. |
URLs |
getURLs()
Get the 'URLs' element value. |
void |
setAddresses(ContactInfo.Addresses addresses)
Set the 'Addresses' element value. |
void |
setCompanyName(ContactInfo.CompanyName companyName)
Set the 'CompanyName' element value. |
void |
setEmails(ContactInfo.Emails emails)
Set the 'Emails' element value. |
void |
setLocation(java.lang.String location)
Set the 'Location' attribute value. |
void |
setNames(ContactInfo.Names names)
Set the 'Names' element value. |
void |
setPhones(ContactInfo.Phones phones)
Set the 'Phones' element value. |
void |
setURLs(URLs URLs)
Set the 'URLs' element value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContactInfo()
| Method Detail |
|---|
public ContactInfo.Names getNames()
public void setNames(ContactInfo.Names names)
names - public ContactInfo.Addresses getAddresses()
public void setAddresses(ContactInfo.Addresses addresses)
addresses - public ContactInfo.Phones getPhones()
public void setPhones(ContactInfo.Phones phones)
phones - public ContactInfo.Emails getEmails()
public void setEmails(ContactInfo.Emails emails)
emails - public URLs getURLs()
public void setURLs(URLs URLs)
URLs - public ContactInfo.CompanyName getCompanyName()
public void setCompanyName(ContactInfo.CompanyName companyName)
companyName - public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||