org.ota.shared
Class UniqueID

java.lang.Object
  extended by org.ota.shared.UniqueID
Direct Known Subclasses:
AirReservation.BookingReferenceID, Authorization.BookingReferenceID, AvailRS.RoomStays.RoomStay.Reference, AvailRS.SearchResults.HotelResults.RoomStays.RoomStay.Reference, BookRS.ReservationID, CancellationPricingRS.ReservationID, CancelRQ.UniqueID, CostRQ.ProvisionalID, EventReport.EventSites.EventSite.EventID, HotelReservation.RoomStays.RoomStay.Reference, PNRUpdateNotifRS.ReservationID, PostEventRQ.Requestor, PriceBookingRS.ReservationID, Profile.UserID, ReadRQ.ReadRequests.HotelReadRequest.UserID, ReadRQ.ReadRequests.ProfileReadRequest.UniqueID, ReservationID, RFPMeetingNotifRS.MessageID, RFPMeetingNotifRS.MessageID.RFPIDs.RFPID, RFPMeetingRQ.RFPRequestSegment.RFPID, Source.RequestorID, VehicleAvailCore.Reference, VehicleModifyRQAdditionalInfo.Reference, VehicleReservationRQAdditionalInfo.Reference, VehicleReservationSummary.ConfID, VehicleSegmentCore.ConfID

public class UniqueID
extends java.lang.Object

An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote). 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="UniqueID_Type">
   <xs:sequence>
     <xs:element type="ns:CompanyNameType" name="CompanyName" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:UniqueID_Group"/>
 </xs:complexType>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="UniqueID_Group">
   <xs:attribute type="xs:string" name="URL"/>
   <xs:attribute type="xs:string" use="required" name="Type"/>
   <xs:attribute type="xs:string" name="Instance"/>
   <xs:attributeGroup ref="ns:ID_Group"/>
   <xs:attribute type="xs:string" use="optional" name="ID_Context"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_Group">
   <xs:attribute type="xs:string" use="required" name="ID"/>
 </xs:attributeGroup>
 


Constructor Summary
UniqueID()
           
 
Method Summary
 CompanyName getCompanyName()
          Get the 'CompanyName' element value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.lang.String getIDContext()
          Get the 'ID_Context' attribute value.
 java.lang.String getInstance()
          Get the 'Instance' attribute value.
 java.lang.String getType()
          Get the 'Type' attribute value.
 java.lang.String getURL()
          Get the 'URL' attribute value.
 void setCompanyName(CompanyName companyName)
          Set the 'CompanyName' element value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setIDContext(java.lang.String IDContext)
          Set the 'ID_Context' attribute value.
 void setInstance(java.lang.String instance)
          Set the 'Instance' attribute value.
 void setType(java.lang.String type)
          Set the 'Type' attribute value.
 void setURL(java.lang.String URL)
          Set the 'URL' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UniqueID

public UniqueID()
Method Detail

getCompanyName

public CompanyName getCompanyName()
Get the 'CompanyName' element value. Identifies the company that is associated with the UniqueID.

Returns:
value

setCompanyName

public void setCompanyName(CompanyName companyName)
Set the 'CompanyName' element value. Identifies the company that is associated with the UniqueID.

Parameters:
companyName -

getURL

public java.lang.String getURL()
Get the 'URL' attribute value. URL that identifies the location associated with the record identified by the UniqueID.

Returns:
value

setURL

public void setURL(java.lang.String URL)
Set the 'URL' attribute value. URL that identifies the location associated with the record identified by the UniqueID.

Parameters:
URL -

getType

public java.lang.String getType()
Get the 'Type' attribute value. A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT).

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT).

Parameters:
type -

getInstance

public java.lang.String getInstance()
Get the 'Instance' attribute value. The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.

Returns:
value

setInstance

public void setInstance(java.lang.String instance)
Set the 'Instance' attribute value. The identification of a record as it exists at a point in time. An instance is used in update messages where the sender must assure the server that the update sent refers to the most recent modification level of the object being updated.

Parameters:
instance -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -

getIDContext

public java.lang.String getIDContext()
Get the 'ID_Context' attribute value. Used to identify the source of the identifier (e.g., IATA, ABTA).

Returns:
value

setIDContext

public void setIDContext(java.lang.String IDContext)
Set the 'ID_Context' attribute value. Used to identify the source of the identifier (e.g., IATA, ABTA).

Parameters:
IDContext -