public class SupplyChainEventType extends Object
Java class for SupplyChainEventType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SupplyChainEventType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="OccurrenceDateTime" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}DateTimeType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<DateTimeType> |
occurrenceDateTime |
| Constructor and Description |
|---|
SupplyChainEventType() |
| Modifier and Type | Method and Description |
|---|---|
List<DateTimeType> |
getOccurrenceDateTime()
Gets the value of the occurrenceDateTime property.
|
SupplyChainEventType |
withOccurrenceDateTime(Collection<DateTimeType> values) |
SupplyChainEventType |
withOccurrenceDateTime(DateTimeType... values) |
protected List<DateTimeType> occurrenceDateTime
public List<DateTimeType> getOccurrenceDateTime()
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 occurrenceDateTime property.
For example, to add a new item, do as follows:
getOccurrenceDateTime().add(newItem);
Objects of the following type(s) are allowed in the list
DateTimeType
public SupplyChainEventType withOccurrenceDateTime(DateTimeType... values)
public SupplyChainEventType withOccurrenceDateTime(Collection<DateTimeType> values)
Copyright © 2014–2019 Philip Helger. All rights reserved.