org.ota.shared
Class TicketDistribPref

java.lang.Object
  extended by org.ota.shared.TicketDistribPref

public class TicketDistribPref
extends java.lang.Object

Identifies a preference for a type of ticket distribution. 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="TicketDistribPrefType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attributeGroup ref="ns:PreferLevelGroup"/>
       <xs:attribute type="xs:string" use="optional" name="DistribType"/>
       <xs:attribute type="xs:string" use="optional" name="TicketTime"/>
       <xs:attribute type="xs:string" use="optional" name="Remark"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Constructor Summary
TicketDistribPref()
           
 
Method Summary
 java.lang.String getDistrib()
          Get the 'DistribType' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 java.lang.String getRemark()
          Get the 'Remark' attribute value.
 java.lang.String getString()
          Get the extension value.
 java.lang.String getTicketTime()
          Get the 'TicketTime' attribute value.
 void setDistrib(java.lang.String distrib)
          Set the 'DistribType' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 void setRemark(java.lang.String remark)
          Set the 'Remark' attribute value.
 void setString(java.lang.String string)
          Set the extension value.
 void setTicketTime(java.lang.String ticketTime)
          Set the 'TicketTime' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicketDistribPref

public TicketDistribPref()
Method Detail

getString

public java.lang.String getString()
Get the extension value.

Returns:
value

setString

public void setString(java.lang.String string)
Set the extension value.

Parameters:
string -

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Parameters:
preferLevel -

getDistrib

public java.lang.String getDistrib()
Get the 'DistribType' attribute value. Ticket distribution method such as Fax, Email, Courier, Mail, Airport_Pickup, City_Office, Hotel_Desk, WillCall, etc. Refer to OpenTravel Code List Distribution Type (DTB).

Returns:
value

setDistrib

public void setDistrib(java.lang.String distrib)
Set the 'DistribType' attribute value. Ticket distribution method such as Fax, Email, Courier, Mail, Airport_Pickup, City_Office, Hotel_Desk, WillCall, etc. Refer to OpenTravel Code List Distribution Type (DTB).

Parameters:
distrib -

getTicketTime

public java.lang.String getTicketTime()
Get the 'TicketTime' attribute value. Ticket turnaround time desired, amount of time requested to deliver tickets.

Returns:
value

setTicketTime

public void setTicketTime(java.lang.String ticketTime)
Set the 'TicketTime' attribute value. Ticket turnaround time desired, amount of time requested to deliver tickets.

Parameters:
ticketTime -

getRemark

public java.lang.String getRemark()
Get the 'Remark' attribute value. A remark associated with the ticket distribution preference.

Returns:
value

setRemark

public void setRemark(java.lang.String remark)
Set the 'Remark' attribute value. A remark associated with the ticket distribution preference.

Parameters:
remark -