public class Holidays extends Object
Java class for Holidays complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Holidays"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="holiday" type="{http://www.qbp-simulator.com/Schema201212}Holiday" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Holiday> |
holiday |
protected String |
id |
protected String |
name |
Constructor and Description |
---|
Holidays() |
Modifier and Type | Method and Description |
---|---|
List<Holiday> |
getHoliday()
Gets the value of the holiday property.
|
String |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
public List<Holiday> getHoliday()
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 holiday property.
For example, to add a new item, do as follows:
getHoliday().add(newItem);
Objects of the following type(s) are allowed in the list
Holiday
public void setId(String value)
value
- allowed object is
String
public String getName()
String
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.