network.oxalis.peppol.ubl2.jaxb.cac.ConditionType Maven / Gradle / Ivy
Show all versions of peppol-ubl21 Show documentation
//
// 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.AttributeIDType;
import network.oxalis.peppol.ubl2.jaxb.cbc.DescriptionType;
import network.oxalis.peppol.ubl2.jaxb.cbc.MaximumMeasureType;
import network.oxalis.peppol.ubl2.jaxb.cbc.MeasureType;
import network.oxalis.peppol.ubl2.jaxb.cbc.MinimumMeasureType;
/**
* Java class for ConditionType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ConditionType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}AttributeID"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Measure" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MinimumMeasure" minOccurs="0"/>
* <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}MaximumMeasure" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ConditionType", propOrder = {
"attributeID",
"measure",
"description",
"minimumMeasure",
"maximumMeasure"
})
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ConditionType {
@XmlElement(name = "AttributeID", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2", required = true)
protected AttributeIDType attributeID;
@XmlElement(name = "Measure", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MeasureType measure;
@XmlElement(name = "Description", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected List description;
@XmlElement(name = "MinimumMeasure", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MinimumMeasureType minimumMeasure;
@XmlElement(name = "MaximumMeasure", namespace = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2")
protected MaximumMeasureType maximumMeasure;
/**
* Gets the value of the attributeID property.
*
* @return
* possible object is
* {@link AttributeIDType }
*
*/
public AttributeIDType getAttributeID() {
return attributeID;
}
/**
* Sets the value of the attributeID property.
*
* @param value
* allowed object is
* {@link AttributeIDType }
*
*/
public void setAttributeID(AttributeIDType value) {
this.attributeID = value;
}
/**
* Gets the value of the measure property.
*
* @return
* possible object is
* {@link MeasureType }
*
*/
public MeasureType getMeasure() {
return measure;
}
/**
* Sets the value of the measure property.
*
* @param value
* allowed object is
* {@link MeasureType }
*
*/
public void setMeasure(MeasureType value) {
this.measure = value;
}
/**
* 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;
}
/**
* Gets the value of the minimumMeasure property.
*
* @return
* possible object is
* {@link MinimumMeasureType }
*
*/
public MinimumMeasureType getMinimumMeasure() {
return minimumMeasure;
}
/**
* Sets the value of the minimumMeasure property.
*
* @param value
* allowed object is
* {@link MinimumMeasureType }
*
*/
public void setMinimumMeasure(MinimumMeasureType value) {
this.minimumMeasure = value;
}
/**
* Gets the value of the maximumMeasure property.
*
* @return
* possible object is
* {@link MaximumMeasureType }
*
*/
public MaximumMeasureType getMaximumMeasure() {
return maximumMeasure;
}
/**
* Sets the value of the maximumMeasure property.
*
* @param value
* allowed object is
* {@link MaximumMeasureType }
*
*/
public void setMaximumMeasure(MaximumMeasureType value) {
this.maximumMeasure = value;
}
}