public class DatesType extends Object implements Serializable, IDataObject
Java class for datesType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="datesType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="date" type="{}dateType" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
DatesType() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultPublicationDate() |
boolean |
containsPublicationDate() |
List<Date> |
getDate()
Gets the value of the date property.
|
Date |
getDateByKey(String key) |
boolean |
isEmpty() |
public List<Date> getDate()
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 date property.
For example, to add a new item, do as follows:
getDate().add(newItem);
Objects of the following type(s) are allowed in the list
Date
public boolean isEmpty()
public boolean containsPublicationDate()
public void addDefaultPublicationDate()
Copyright © 2019. All Rights Reserved.