|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.shared.TravelDateTime
public class TravelDateTime
Date and time of trip that allows specifying a time window before and after the given date. 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="TravelDateTimeType">
<xs:choice>
<xs:element type="ns:TimeInstantType" name="DepartureDateTime"/>
<xs:element type="ns:TimeInstantType" name="ArrivalDateTime"/>
</xs:choice>
</xs:complexType>
| Constructor Summary | |
|---|---|
TravelDateTime()
|
|
| Method Summary | |
|---|---|
void |
clearChoiceSelect()
Clear the choice selection. |
TimeInstant |
getArrivalDateTime()
Get the 'ArrivalDateTime' element value. |
TimeInstant |
getDepartureDateTime()
Get the 'DepartureDateTime' element value. |
boolean |
ifArrivalDateTime()
Check if ArrivalDateTime is current selection for choice. |
boolean |
ifDepartureDateTime()
Check if DepartureDateTime is current selection for choice. |
void |
setArrivalDateTime(TimeInstant arrivalDateTime)
Set the 'ArrivalDateTime' element value. |
void |
setDepartureDateTime(TimeInstant departureDateTime)
Set the 'DepartureDateTime' element value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TravelDateTime()
| Method Detail |
|---|
public void clearChoiceSelect()
public boolean ifDepartureDateTime()
true if selection, false if notpublic TimeInstant getDepartureDateTime()
public void setDepartureDateTime(TimeInstant departureDateTime)
departureDateTime - public boolean ifArrivalDateTime()
true if selection, false if notpublic TimeInstant getArrivalDateTime()
public void setArrivalDateTime(TimeInstant arrivalDateTime)
arrivalDateTime -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||