|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.ContactPerson
public class ContactPerson
Name of an individual and appropriate contact information. May be contact information for the customer or someone affiliated with the customer. 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="ContactPersonType"> <xs:sequence> <xs:element type="ns:PersonNameType" name="PersonName" minOccurs="0"/> <xs:element name="Telephone" minOccurs="0" maxOccurs="5"> <xs:complexType> <xs:attributeGroup ref="ns:TelephoneInfoGroup"/> </xs:complexType> </xs:element> <xs:element type="ns:AddressInfoType" name="Address" minOccurs="0" maxOccurs="5"/> <xs:element type="ns:EmailType" name="Email" minOccurs="0" maxOccurs="5"/> <xs:element type="ns:URL_Type" name="URL" minOccurs="0" maxOccurs="5"/> <xs:element type="ns:CompanyNameType" name="CompanyName" minOccurs="0" maxOccurs="3"/> <xs:element type="ns:EmployeeInfoType" name="EmployeeInfo" minOccurs="0" maxOccurs="3"/> </xs:sequence> <xs:attributeGroup ref="ns:PrivacyGroup"/> <xs:attributeGroup ref="ns:DefaultIndGroup"/> <xs:attribute type="xs:string" name="ContactType"/> <xs:attribute type="xs:string" name="Relation"/> <xs:attribute type="xs:boolean" use="optional" name="EmergencyFlag"/> <xs:attribute type="xs:string" name="RPH"/> <xs:attribute type="xs:string" use="optional" name="CommunicationMethodCode"/> <xs:attribute type="xs:string" use="optional" name="DocumentDistribMethodCode"/> </xs:complexType> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DefaultIndGroup"> <xs:attribute type="xs:boolean" use="optional" name="DefaultInd"/> </xs:attributeGroup>
Constructor Summary | |
---|---|
ContactPerson()
|
Method Summary | |
---|---|
void |
addAddress(AddressInfo item)
Add a 'Address' element item. |
void |
addCompanyName(CompanyName item)
Add a 'CompanyName' element item. |
void |
addEmail(Email item)
Add a 'Email' element item. |
void |
addEmployeeInfo(EmployeeInfo item)
Add a 'EmployeeInfo' element item. |
void |
addTelephone(TelephoneInfoGroup item)
Add a 'Telephone' element item. |
void |
addURL(URL item)
Add a 'URL' element item. |
void |
clearAddresses()
Remove all 'Address' element items. |
void |
clearCompanyNames()
Remove all 'CompanyName' element items. |
void |
clearEmails()
Remove all 'Email' element items. |
void |
clearEmployeeInfos()
Remove all 'EmployeeInfo' element items. |
void |
clearTelephones()
Remove all 'Telephone' element items. |
void |
clearURLs()
Remove all 'URL' element items. |
AddressInfo |
getAddress(int index)
Get 'Address' element item by position. |
java.util.List<AddressInfo> |
getAddresses()
Get the list of 'Address' element items. |
java.lang.String |
getCommunicationMethodCode()
Get the 'CommunicationMethodCode' attribute value. |
CompanyName |
getCompanyName(int index)
Get 'CompanyName' element item by position. |
java.util.List<CompanyName> |
getCompanyNames()
Get the list of 'CompanyName' element items. |
java.lang.String |
getContact()
Get the 'ContactType' attribute value. |
java.lang.Boolean |
getDefaultInd()
Get the 'DefaultInd' attribute value. |
java.lang.String |
getDocumentDistribMethodCode()
Get the 'DocumentDistribMethodCode' attribute value. |
Email |
getEmail(int index)
Get 'Email' element item by position. |
java.util.List<Email> |
getEmails()
Get the list of 'Email' element items. |
java.lang.Boolean |
getEmergencyFlag()
Get the 'EmergencyFlag' attribute value. |
EmployeeInfo |
getEmployeeInfo(int index)
Get 'EmployeeInfo' element item by position. |
java.util.List<EmployeeInfo> |
getEmployeeInfos()
Get the list of 'EmployeeInfo' element items. |
PersonName |
getPersonName()
Get the 'PersonName' element value. |
PrivacyGroup |
getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value. |
java.lang.String |
getRelation()
Get the 'Relation' attribute value. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
TelephoneInfoGroup |
getTelephone(int index)
Get 'Telephone' element item by position. |
java.util.List<TelephoneInfoGroup> |
getTelephones()
Get the list of 'Telephone' element items. |
URL |
getURL(int index)
Get 'URL' element item by position. |
java.util.List<URL> |
getURLs()
Get the list of 'URL' element items. |
void |
setAddresses(java.util.List<AddressInfo> list)
Set the list of 'Address' element items. |
void |
setCommunicationMethodCode(java.lang.String communicationMethodCode)
Set the 'CommunicationMethodCode' attribute value. |
void |
setCompanyNames(java.util.List<CompanyName> list)
Set the list of 'CompanyName' element items. |
void |
setContact(java.lang.String contact)
Set the 'ContactType' attribute value. |
void |
setDefaultInd(java.lang.Boolean defaultInd)
Set the 'DefaultInd' attribute value. |
void |
setDocumentDistribMethodCode(java.lang.String documentDistribMethodCode)
Set the 'DocumentDistribMethodCode' attribute value. |
void |
setEmails(java.util.List<Email> list)
Set the list of 'Email' element items. |
void |
setEmergencyFlag(java.lang.Boolean emergencyFlag)
Set the 'EmergencyFlag' attribute value. |
void |
setEmployeeInfos(java.util.List<EmployeeInfo> list)
Set the list of 'EmployeeInfo' element items. |
void |
setPersonName(PersonName personName)
Set the 'PersonName' element value. |
void |
setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value. |
void |
setRelation(java.lang.String relation)
Set the 'Relation' attribute value. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
void |
setTelephones(java.util.List<TelephoneInfoGroup> list)
Set the list of 'Telephone' element items. |
void |
setURLs(java.util.List<URL> list)
Set the list of 'URL' element items. |
int |
sizeAddresses()
Get the number of 'Address' element items. |
int |
sizeCompanyNames()
Get the number of 'CompanyName' element items. |
int |
sizeEmails()
Get the number of 'Email' element items. |
int |
sizeEmployeeInfos()
Get the number of 'EmployeeInfo' element items. |
int |
sizeTelephones()
Get the number of 'Telephone' element items. |
int |
sizeURLs()
Get the number of 'URL' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContactPerson()
Method Detail |
---|
public PersonName getPersonName()
public void setPersonName(PersonName personName)
personName
- public java.util.List<TelephoneInfoGroup> getTelephones()
public void setTelephones(java.util.List<TelephoneInfoGroup> list)
list
- public int sizeTelephones()
public void addTelephone(TelephoneInfoGroup item)
item
- public TelephoneInfoGroup getTelephone(int index)
index
-
public void clearTelephones()
public java.util.List<AddressInfo> getAddresses()
public void setAddresses(java.util.List<AddressInfo> list)
list
- public int sizeAddresses()
public void addAddress(AddressInfo item)
item
- public AddressInfo getAddress(int index)
index
-
public void clearAddresses()
public java.util.List<Email> getEmails()
public void setEmails(java.util.List<Email> list)
list
- public int sizeEmails()
public void addEmail(Email item)
item
- public Email getEmail(int index)
index
-
public void clearEmails()
public java.util.List<URL> getURLs()
public void setURLs(java.util.List<URL> list)
list
- public int sizeURLs()
public void addURL(URL item)
item
- public URL getURL(int index)
index
-
public void clearURLs()
public java.util.List<CompanyName> getCompanyNames()
public void setCompanyNames(java.util.List<CompanyName> list)
list
- public int sizeCompanyNames()
public void addCompanyName(CompanyName item)
item
- public CompanyName getCompanyName(int index)
index
-
public void clearCompanyNames()
public java.util.List<EmployeeInfo> getEmployeeInfos()
public void setEmployeeInfos(java.util.List<EmployeeInfo> list)
list
- public int sizeEmployeeInfos()
public void addEmployeeInfo(EmployeeInfo item)
item
- public EmployeeInfo getEmployeeInfo(int index)
index
-
public void clearEmployeeInfos()
public PrivacyGroup getPrivacyGroup()
public void setPrivacyGroup(PrivacyGroup privacyGroup)
privacyGroup
- public java.lang.Boolean getDefaultInd()
public void setDefaultInd(java.lang.Boolean defaultInd)
defaultInd
- public java.lang.String getContact()
public void setContact(java.lang.String contact)
contact
- public java.lang.String getRelation()
public void setRelation(java.lang.String relation)
relation
- public java.lang.Boolean getEmergencyFlag()
public void setEmergencyFlag(java.lang.Boolean emergencyFlag)
emergencyFlag
- public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH
- public java.lang.String getCommunicationMethodCode()
public void setCommunicationMethodCode(java.lang.String communicationMethodCode)
communicationMethodCode
- public java.lang.String getDocumentDistribMethodCode()
public void setDocumentDistribMethodCode(java.lang.String documentDistribMethodCode)
documentDistribMethodCode
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |