Class RelatedItemType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.RelatedItemType
-
public class RelatedItemType extends Object
Java class for RelatedItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RelatedItemType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}ID" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Quantity" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2}Description" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DescriptionType>descriptionprotected IDTypeidprotected QuantityTypequantity
-
Constructor Summary
Constructors Constructor Description RelatedItemType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DescriptionType>getDescription()Gets the value of the description property.IDTypegetID()Gets the value of the id property.QuantityTypegetQuantity()Gets the value of the quantity property.voidsetID(IDType value)Sets the value of the id property.voidsetQuantity(QuantityType value)Sets the value of the quantity property.
-
-
-
Field Detail
-
id
protected IDType id
-
quantity
protected QuantityType quantity
-
description
protected List<DescriptionType> description
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getQuantity
public QuantityType getQuantity()
Gets the value of the quantity property.- Returns:
- possible object is
QuantityType
-
setQuantity
public void setQuantity(QuantityType value)
Sets the value of the quantity property.- Parameters:
value- allowed object isQuantityType
-
getDescription
public List<DescriptionType> getDescription()
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
setmethod 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
DescriptionType
-
-