org.ota.hotel
Class ContactInfoRoot

java.lang.Object
  extended by org.ota.hotel.ContactInfo
      extended by org.ota.hotel.ContactInfoRoot

public class ContactInfoRoot
extends ContactInfo

The ContactInfo class is used to define the contacts for consumers and technical people at the hotel facility, including various telephone numbers and e-mail addresses, or any respective attribute or affiliation for the hotel. 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="ContactInfoRootType">
   <xs:complexContent>
     <xs:extension base="ns:ContactInfoType">
       <xs:attributeGroup ref="ns:RemovalGroup"/>
       <xs:attribute type="xs:string" use="optional" name="ContactProfileID"/>
       <xs:attribute type="xs:string" use="optional" name="ContactProfileType"/>
       <xs:attribute type="xs:dateTime" use="optional" name="LastUpdated"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RemovalGroup">
   <xs:attribute type="xs:boolean" use="optional" name="Removal"/>
 </xs:attributeGroup>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.hotel.ContactInfo
ContactInfo.Addresses, ContactInfo.CompanyName, ContactInfo.Emails, ContactInfo.Names, ContactInfo.Phones
 
Constructor Summary
ContactInfoRoot()
           
 
Method Summary
 java.lang.String getContactProfile()
          Get the 'ContactProfileType' attribute value.
 java.lang.String getContactProfileID()
          Get the 'ContactProfileID' attribute value.
 java.util.Date getLastUpdated()
          Get the 'LastUpdated' attribute value.
 java.lang.Boolean getRemoval()
          Get the 'Removal' attribute value.
 void setContactProfile(java.lang.String contactProfile)
          Set the 'ContactProfileType' attribute value.
 void setContactProfileID(java.lang.String contactProfileID)
          Set the 'ContactProfileID' attribute value.
 void setLastUpdated(java.util.Date lastUpdated)
          Set the 'LastUpdated' attribute value.
 void setRemoval(java.lang.Boolean removal)
          Set the 'Removal' attribute value.
 
Methods inherited from class org.ota.hotel.ContactInfo
getAddresses, getCompanyName, getEmails, getLocation, getNames, getPhones, getURLs, setAddresses, setCompanyName, setEmails, setLocation, setNames, setPhones, setURLs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactInfoRoot

public ContactInfoRoot()
Method Detail

getRemoval

public java.lang.Boolean getRemoval()
Get the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Returns:
value

setRemoval

public void setRemoval(java.lang.Boolean removal)
Set the 'Removal' attribute value. If true, this item is obsolete and should be removed from the receiving system. false

Parameters:
removal -

getContactProfileID

public java.lang.String getContactProfileID()
Get the 'ContactProfileID' attribute value. This is a profile identifier for the contact, the type may be defined by the ContactProfileType.

Returns:
value

setContactProfileID

public void setContactProfileID(java.lang.String contactProfileID)
Set the 'ContactProfileID' attribute value. This is a profile identifier for the contact, the type may be defined by the ContactProfileType.

Parameters:
contactProfileID -

getContactProfile

public java.lang.String getContactProfile()
Get the 'ContactProfileType' attribute value. This defines what type of ContactProfileID is being provided (e.g. IATA, chain specific, etc.)

Returns:
value

setContactProfile

public void setContactProfile(java.lang.String contactProfile)
Set the 'ContactProfileType' attribute value. This defines what type of ContactProfileID is being provided (e.g. IATA, chain specific, etc.)

Parameters:
contactProfile -

getLastUpdated

public java.util.Date getLastUpdated()
Get the 'LastUpdated' attribute value. The date and time when the contact information for this hotel was last updated.

Returns:
value

setLastUpdated

public void setLastUpdated(java.util.Date lastUpdated)
Set the 'LastUpdated' attribute value. The date and time when the contact information for this hotel was last updated.

Parameters:
lastUpdated -