public class DayType extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected String |
id |
protected List<Interval> |
interval |
protected String |
name |
| Constructor and Description |
|---|
DayType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Gets the value of the description property.
|
String |
getId()
Gets the value of the id property.
|
List<Interval> |
getInterval()
Gets the value of the interval property.
|
String |
getName()
Gets the value of the name property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected String id
protected String name
protected String description
public void setId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic List<Interval> getInterval()
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 interval property.
For example, to add a new item, do as follows:
getInterval().add(newItem);
Objects of the following type(s) are allowed in the list
Interval
Copyright © 2013. All Rights Reserved.