public class BookingArrangementsStructure extends Object
Java class for BookingArrangementsStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BookingArrangementsStructure">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{http://www.netex.org.uk/netex}BookingArrangementsGroup"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BookingAccessEnumeration |
bookingAccess |
protected ContactStructure |
bookingContact |
protected List<BookingMethodEnumeration> |
bookingMethods |
protected MultilingualString |
bookingNote |
protected String |
bookingUrl |
protected PurchaseWhenEnumeration |
bookWhen |
protected List<PurchaseMomentEnumeration> |
buyWhen |
protected LocalTime |
latestBookingTime |
protected Duration |
minimumBookingPeriod |
| Constructor and Description |
|---|
BookingArrangementsStructure() |
protected ContactStructure bookingContact
protected List<BookingMethodEnumeration> bookingMethods
protected BookingAccessEnumeration bookingAccess
protected PurchaseWhenEnumeration bookWhen
protected List<PurchaseMomentEnumeration> buyWhen
protected LocalTime latestBookingTime
protected Duration minimumBookingPeriod
protected String bookingUrl
protected MultilingualString bookingNote
public ContactStructure getBookingContact()
ContactStructurepublic void setBookingContact(ContactStructure value)
value - allowed object is
ContactStructurepublic List<BookingMethodEnumeration> getBookingMethods()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the bookingMethods property.
For example, to add a new item, do as follows:
getBookingMethods().add(newItem);
Objects of the following type(s) are allowed in the list
BookingMethodEnumeration
public BookingAccessEnumeration getBookingAccess()
BookingAccessEnumerationpublic void setBookingAccess(BookingAccessEnumeration value)
value - allowed object is
BookingAccessEnumerationpublic PurchaseWhenEnumeration getBookWhen()
PurchaseWhenEnumerationpublic void setBookWhen(PurchaseWhenEnumeration value)
value - allowed object is
PurchaseWhenEnumerationpublic List<PurchaseMomentEnumeration> getBuyWhen()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the buyWhen property.
For example, to add a new item, do as follows:
getBuyWhen().add(newItem);
Objects of the following type(s) are allowed in the list
PurchaseMomentEnumeration
public LocalTime getLatestBookingTime()
Stringpublic void setLatestBookingTime(LocalTime value)
value - allowed object is
Stringpublic Duration getMinimumBookingPeriod()
Stringpublic void setMinimumBookingPeriod(Duration value)
value - allowed object is
Stringpublic String getBookingUrl()
Stringpublic void setBookingUrl(String value)
value - allowed object is
Stringpublic MultilingualString getBookingNote()
MultilingualStringpublic void setBookingNote(MultilingualString value)
value - allowed object is
MultilingualStringpublic BookingArrangementsStructure withBookingContact(ContactStructure value)
public BookingArrangementsStructure withBookingMethods(BookingMethodEnumeration... values)
public BookingArrangementsStructure withBookingMethods(Collection<BookingMethodEnumeration> values)
public BookingArrangementsStructure withBookingAccess(BookingAccessEnumeration value)
public BookingArrangementsStructure withBookWhen(PurchaseWhenEnumeration value)
public BookingArrangementsStructure withBuyWhen(PurchaseMomentEnumeration... values)
public BookingArrangementsStructure withBuyWhen(Collection<PurchaseMomentEnumeration> values)
public BookingArrangementsStructure withLatestBookingTime(LocalTime value)
public BookingArrangementsStructure withMinimumBookingPeriod(Duration value)
public BookingArrangementsStructure withBookingUrl(String value)
public BookingArrangementsStructure withBookingNote(MultilingualString value)
Copyright © 2018 Entur AS. All rights reserved.