public class PropertyOfDayStructure extends Object
Java class for PropertyOfDayStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PropertyOfDayStructure">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Name" type="{http://www.netex.org.uk/netex}MultilingualString" minOccurs="0"/>
<element name="Description" type="{http://www.netex.org.uk/netex}MultilingualString" minOccurs="0"/>
<group ref="{http://www.netex.org.uk/netex}PropertyOfDayGroup"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected CountryRefStructure |
countryRef |
protected CrowdingEnumeration |
crowding |
protected DayEventEnumeration |
dayEvent |
protected XMLGregorianCalendar |
dayOfYear |
protected List<DayOfWeekEnumeration> |
daysOfWeek |
protected MultilingualString |
description |
protected List<HolidayTypeEnumeration> |
holidayTypes |
protected XMLGregorianCalendar |
monthOfYear |
protected MultilingualString |
name |
protected List<SeasonEnumeration> |
seasons |
protected List<TideEnumeration> |
tides |
protected List<String> |
weeksOfMonth |
| Constructor and Description |
|---|
PropertyOfDayStructure() |
protected MultilingualString name
protected MultilingualString description
protected List<DayOfWeekEnumeration> daysOfWeek
protected XMLGregorianCalendar monthOfYear
protected XMLGregorianCalendar dayOfYear
protected CountryRefStructure countryRef
protected List<HolidayTypeEnumeration> holidayTypes
protected List<SeasonEnumeration> seasons
protected List<TideEnumeration> tides
protected DayEventEnumeration dayEvent
protected CrowdingEnumeration crowding
public MultilingualString getName()
MultilingualStringpublic void setName(MultilingualString value)
value - allowed object is
MultilingualStringpublic MultilingualString getDescription()
MultilingualStringpublic void setDescription(MultilingualString value)
value - allowed object is
MultilingualStringpublic List<DayOfWeekEnumeration> getDaysOfWeek()
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 daysOfWeek property.
For example, to add a new item, do as follows:
getDaysOfWeek().add(newItem);
Objects of the following type(s) are allowed in the list
DayOfWeekEnumeration
public List<String> getWeeksOfMonth()
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 weeksOfMonth property.
For example, to add a new item, do as follows:
getWeeksOfMonth().add(newItem);
Objects of the following type(s) are allowed in the list
String
public XMLGregorianCalendar getMonthOfYear()
XMLGregorianCalendarpublic void setMonthOfYear(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getDayOfYear()
XMLGregorianCalendarpublic void setDayOfYear(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic CountryRefStructure getCountryRef()
CountryRefStructurepublic void setCountryRef(CountryRefStructure value)
value - allowed object is
CountryRefStructurepublic List<HolidayTypeEnumeration> getHolidayTypes()
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 holidayTypes property.
For example, to add a new item, do as follows:
getHolidayTypes().add(newItem);
Objects of the following type(s) are allowed in the list
HolidayTypeEnumeration
public List<SeasonEnumeration> getSeasons()
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 seasons property.
For example, to add a new item, do as follows:
getSeasons().add(newItem);
Objects of the following type(s) are allowed in the list
SeasonEnumeration
public List<TideEnumeration> getTides()
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 tides property.
For example, to add a new item, do as follows:
getTides().add(newItem);
Objects of the following type(s) are allowed in the list
TideEnumeration
public DayEventEnumeration getDayEvent()
DayEventEnumerationpublic void setDayEvent(DayEventEnumeration value)
value - allowed object is
DayEventEnumerationpublic CrowdingEnumeration getCrowding()
CrowdingEnumerationpublic void setCrowding(CrowdingEnumeration value)
value - allowed object is
CrowdingEnumerationpublic PropertyOfDayStructure withName(MultilingualString value)
public PropertyOfDayStructure withDescription(MultilingualString value)
public PropertyOfDayStructure withDaysOfWeek(DayOfWeekEnumeration... values)
public PropertyOfDayStructure withDaysOfWeek(Collection<DayOfWeekEnumeration> values)
public PropertyOfDayStructure withWeeksOfMonth(String... values)
public PropertyOfDayStructure withWeeksOfMonth(Collection<String> values)
public PropertyOfDayStructure withMonthOfYear(XMLGregorianCalendar value)
public PropertyOfDayStructure withDayOfYear(XMLGregorianCalendar value)
public PropertyOfDayStructure withCountryRef(CountryRefStructure value)
public PropertyOfDayStructure withHolidayTypes(HolidayTypeEnumeration... values)
public PropertyOfDayStructure withHolidayTypes(Collection<HolidayTypeEnumeration> values)
public PropertyOfDayStructure withSeasons(SeasonEnumeration... values)
public PropertyOfDayStructure withSeasons(Collection<SeasonEnumeration> values)
public PropertyOfDayStructure withTides(TideEnumeration... values)
public PropertyOfDayStructure withTides(Collection<TideEnumeration> values)
public PropertyOfDayStructure withDayEvent(DayEventEnumeration value)
public PropertyOfDayStructure withCrowding(CrowdingEnumeration value)
Copyright © 2018 Entur AS. All rights reserved.