Class PriceListType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.PriceListType
-
public class PriceListType extends Object
Java class for PriceListType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PriceListType"> <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}StatusCode" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}ValidityPeriod" maxOccurs="unbounded" minOccurs="0"/> <element ref="{urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2}PreviousPriceList" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected IDTypeidprotected PriceListTypepreviousPriceListprotected StatusCodeTypestatusCodeprotected List<PeriodType>validityPeriod
-
Constructor Summary
Constructors Constructor Description PriceListType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDTypegetID()Gets the value of the id property.PriceListTypegetPreviousPriceList()Gets the value of the previousPriceList property.StatusCodeTypegetStatusCode()Gets the value of the statusCode property.List<PeriodType>getValidityPeriod()Gets the value of the validityPeriod property.voidsetID(IDType value)Sets the value of the id property.voidsetPreviousPriceList(PriceListType value)Sets the value of the previousPriceList property.voidsetStatusCode(StatusCodeType value)Sets the value of the statusCode property.
-
-
-
Field Detail
-
id
protected IDType id
-
statusCode
protected StatusCodeType statusCode
-
validityPeriod
protected List<PeriodType> validityPeriod
-
previousPriceList
protected PriceListType previousPriceList
-
-
Method Detail
-
setID
public void setID(IDType value)
Sets the value of the id property.- Parameters:
value- allowed object isIDType
-
getStatusCode
public StatusCodeType getStatusCode()
Gets the value of the statusCode property.- Returns:
- possible object is
StatusCodeType
-
setStatusCode
public void setStatusCode(StatusCodeType value)
Sets the value of the statusCode property.- Parameters:
value- allowed object isStatusCodeType
-
getValidityPeriod
public List<PeriodType> getValidityPeriod()
Gets the value of the validityPeriod 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 validityPeriod property.For example, to add a new item, do as follows:
getValidityPeriod().add(newItem);Objects of the following type(s) are allowed in the list
PeriodType
-
getPreviousPriceList
public PriceListType getPreviousPriceList()
Gets the value of the previousPriceList property.- Returns:
- possible object is
PriceListType
-
setPreviousPriceList
public void setPreviousPriceList(PriceListType value)
Sets the value of the previousPriceList property.- Parameters:
value- allowed object isPriceListType
-
-