org.ota.misc
Class ReadRQ.ReadRequests.ProfileReadRequest

java.lang.Object
  extended by org.ota.misc.ReadRQ.ReadRequests.ProfileReadRequest
Enclosing class:
ReadRQ.ReadRequests

public static class ReadRQ.ReadRequests.ProfileReadRequest
extends java.lang.Object

To request a profile when the profile identifier is not known. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ProfileReadRequest" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="UniqueID" minOccurs="0" maxOccurs="9">
         <!-- Reference to inner class UniqueID -->
       </xs:element>
       <xs:element type="ns:ContactPersonType" name="Company" minOccurs="0"/>
       <xs:element type="ns:CustomerType" name="Customer" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
     <xs:attribute use="optional" name="DateType">
       <xs:simpleType>
         <!-- Reference to inner class Date -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:string" use="optional" name="StatusCode"/>
     <xs:attribute type="xs:string" use="optional" name="ProfileTypeCode"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class ReadRQ.ReadRequests.ProfileReadRequest.Date
          Schema fragment(s) for this class:
static class ReadRQ.ReadRequests.ProfileReadRequest.UniqueID
          Used to convey the identity of the profile, the owner of the profile, or an id provided by the client.
 
Constructor Summary
ReadRQ.ReadRequests.ProfileReadRequest()
           
 
Method Summary
 void addUniqueID(ReadRQ.ReadRequests.ProfileReadRequest.UniqueID item)
          Add a 'UniqueID' element item.
 void clearUniqueIDs()
          Remove all 'UniqueID' element items.
 ContactPerson getCompany()
          Get the 'Company' element value.
 Customer getCustomer()
          Get the 'Customer' element value.
 ReadRQ.ReadRequests.ProfileReadRequest.Date getDate()
          Get the 'DateType' attribute value.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 java.lang.String getProfileTypeCode()
          Get the 'ProfileTypeCode' attribute value.
 java.lang.String getStatusCode()
          Get the 'StatusCode' attribute value.
 ReadRQ.ReadRequests.ProfileReadRequest.UniqueID getUniqueID(int index)
          Get 'UniqueID' element item by position.
 java.util.List<ReadRQ.ReadRequests.ProfileReadRequest.UniqueID> getUniqueIDs()
          Get the list of 'UniqueID' element items.
 void setCompany(ContactPerson company)
          Set the 'Company' element value.
 void setCustomer(Customer customer)
          Set the 'Customer' element value.
 void setDate(ReadRQ.ReadRequests.ProfileReadRequest.Date date)
          Set the 'DateType' attribute value.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setProfileTypeCode(java.lang.String profileTypeCode)
          Set the 'ProfileTypeCode' attribute value.
 void setStatusCode(java.lang.String statusCode)
          Set the 'StatusCode' attribute value.
 void setUniqueIDs(java.util.List<ReadRQ.ReadRequests.ProfileReadRequest.UniqueID> list)
          Set the list of 'UniqueID' element items.
 int sizeUniqueIDs()
          Get the number of 'UniqueID' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadRQ.ReadRequests.ProfileReadRequest

public ReadRQ.ReadRequests.ProfileReadRequest()
Method Detail

getUniqueIDs

public java.util.List<ReadRQ.ReadRequests.ProfileReadRequest.UniqueID> getUniqueIDs()
Get the list of 'UniqueID' element items.

Returns:
list

setUniqueIDs

public void setUniqueIDs(java.util.List<ReadRQ.ReadRequests.ProfileReadRequest.UniqueID> list)
Set the list of 'UniqueID' element items.

Parameters:
list -

sizeUniqueIDs

public int sizeUniqueIDs()
Get the number of 'UniqueID' element items.

Returns:
count

addUniqueID

public void addUniqueID(ReadRQ.ReadRequests.ProfileReadRequest.UniqueID item)
Add a 'UniqueID' element item.

Parameters:
item -

getUniqueID

public ReadRQ.ReadRequests.ProfileReadRequest.UniqueID getUniqueID(int index)
Get 'UniqueID' element item by position.

Parameters:
index -
Returns:
item

clearUniqueIDs

public void clearUniqueIDs()
Remove all 'UniqueID' element items.


getCompany

public ContactPerson getCompany()
Get the 'Company' element value. Detailed contact information for a company or a company point of contact used for searching profiles.

Returns:
value

setCompany

public void setCompany(ContactPerson company)
Set the 'Company' element value. Detailed contact information for a company or a company point of contact used for searching profiles.

Parameters:
company -

getCustomer

public Customer getCustomer()
Get the 'Customer' element value. Detailed customer information used for searching profiles.

Returns:
value

setCustomer

public void setCustomer(Customer customer)
Set the 'Customer' element value. Detailed customer information used for searching profiles.

Parameters:
customer -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. The date or date range of the reservations to be selected as qualified by the DateType when present.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. The date or date range of the reservations to be selected as qualified by the DateType when present.

Parameters:
dateTimeSpanGroup -

getDate

public ReadRQ.ReadRequests.ProfileReadRequest.Date getDate()
Get the 'DateType' attribute value. Specifies the type of date provided in the date time span attributes.

Returns:
value

setDate

public void setDate(ReadRQ.ReadRequests.ProfileReadRequest.Date date)
Set the 'DateType' attribute value. Specifies the type of date provided in the date time span attributes.

Parameters:
date -

getStatusCode

public java.lang.String getStatusCode()
Get the 'StatusCode' attribute value. Status of the profile. Refer to OpenTravel Code List Profile Status Code (PST).

Returns:
value

setStatusCode

public void setStatusCode(java.lang.String statusCode)
Set the 'StatusCode' attribute value. Status of the profile. Refer to OpenTravel Code List Profile Status Code (PST).

Parameters:
statusCode -

getProfileTypeCode

public java.lang.String getProfileTypeCode()
Get the 'ProfileTypeCode' attribute value. Code to specify a profile such as customer, tour operator, corporation, etc. Refer to OpenTravel Code List Profile Type (PRT).

Returns:
value

setProfileTypeCode

public void setProfileTypeCode(java.lang.String profileTypeCode)
Set the 'ProfileTypeCode' attribute value. Code to specify a profile such as customer, tour operator, corporation, etc. Refer to OpenTravel Code List Profile Type (PRT).

Parameters:
profileTypeCode -