All Downloads are FREE. Search and download functionalities are using the official Maven repository.

network.oxalis.peppol.ubl2.jaxb.cac.PeriodType Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.08.26 at 01:27:09 PM UTC 
//


package network.oxalis.peppol.ubl2.jaxb.cac;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import network.oxalis.peppol.ubl2.jaxb.cbc.DescriptionCodeType;
import network.oxalis.peppol.ubl2.jaxb.cbc.DescriptionType;
import network.oxalis.peppol.ubl2.jaxb.cbc.DurationMeasureType;
import network.oxalis.peppol.ubl2.jaxb.cbc.EndDateType;
import network.oxalis.peppol.ubl2.jaxb.cbc.EndTimeType;
import network.oxalis.peppol.ubl2.jaxb.cbc.StartDateType;
import network.oxalis.peppol.ubl2.jaxb.cbc.StartTimeType;


/**
 * 

Java class for PeriodType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="PeriodType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}StartDate" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}StartTime" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EndDate" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}EndTime" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DurationMeasure" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}DescriptionCode" maxOccurs="unbounded" minOccurs="0"/>
 *         <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PeriodType", propOrder = { "startDate", "startTime", "endDate", "endTime", "durationMeasure", "descriptionCode", "description" }) @Builder @NoArgsConstructor @AllArgsConstructor public class PeriodType { @XmlElement(name = "StartDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected StartDateType startDate; @XmlElement(name = "StartTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected StartTimeType startTime; @XmlElement(name = "EndDate", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected EndDateType endDate; @XmlElement(name = "EndTime", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected EndTimeType endTime; @XmlElement(name = "DurationMeasure", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected DurationMeasureType durationMeasure; @XmlElement(name = "DescriptionCode", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List descriptionCode; @XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2") protected List description; /** * Gets the value of the startDate property. * * @return * possible object is * {@link StartDateType } * */ public StartDateType getStartDate() { return startDate; } /** * Sets the value of the startDate property. * * @param value * allowed object is * {@link StartDateType } * */ public void setStartDate(StartDateType value) { this.startDate = value; } /** * Gets the value of the startTime property. * * @return * possible object is * {@link StartTimeType } * */ public StartTimeType getStartTime() { return startTime; } /** * Sets the value of the startTime property. * * @param value * allowed object is * {@link StartTimeType } * */ public void setStartTime(StartTimeType value) { this.startTime = value; } /** * Gets the value of the endDate property. * * @return * possible object is * {@link EndDateType } * */ public EndDateType getEndDate() { return endDate; } /** * Sets the value of the endDate property. * * @param value * allowed object is * {@link EndDateType } * */ public void setEndDate(EndDateType value) { this.endDate = value; } /** * Gets the value of the endTime property. * * @return * possible object is * {@link EndTimeType } * */ public EndTimeType getEndTime() { return endTime; } /** * Sets the value of the endTime property. * * @param value * allowed object is * {@link EndTimeType } * */ public void setEndTime(EndTimeType value) { this.endTime = value; } /** * Gets the value of the durationMeasure property. * * @return * possible object is * {@link DurationMeasureType } * */ public DurationMeasureType getDurationMeasure() { return durationMeasure; } /** * Sets the value of the durationMeasure property. * * @param value * allowed object is * {@link DurationMeasureType } * */ public void setDurationMeasure(DurationMeasureType value) { this.durationMeasure = value; } /** * Gets the value of the descriptionCode property. * *

* 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 descriptionCode property. * *

* For example, to add a new item, do as follows: *

     *    getDescriptionCode().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DescriptionCodeType } * * */ public List getDescriptionCode() { if (descriptionCode == null) { descriptionCode = new ArrayList(); } return this.descriptionCode; } /** * Gets the value of the description property. * *

* 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 description property. * *

* For example, to add a new item, do as follows: *

     *    getDescription().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DescriptionType } * * */ public List getDescription() { if (description == null) { description = new ArrayList(); } return this.description; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy