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>
| Modifier and Type | Field and Description |
|---|---|
protected IDType |
id |
protected PriceListType |
previousPriceList |
protected StatusCodeType |
statusCode |
protected List<PeriodType> |
validityPeriod |
| Constructor and Description |
|---|
PriceListType() |
| Modifier and Type | Method and Description |
|---|---|
IDType |
getID()
Gets the value of the id property.
|
PriceListType |
getPreviousPriceList()
Gets the value of the previousPriceList property.
|
StatusCodeType |
getStatusCode()
Gets the value of the statusCode property.
|
List<PeriodType> |
getValidityPeriod()
Gets the value of the validityPeriod property.
|
void |
setID(IDType value)
Sets the value of the id property.
|
void |
setPreviousPriceList(PriceListType value)
Sets the value of the previousPriceList property.
|
void |
setStatusCode(StatusCodeType value)
Sets the value of the statusCode property.
|
protected IDType id
protected StatusCodeType statusCode
protected List<PeriodType> validityPeriod
protected PriceListType previousPriceList
public void setID(IDType value)
value - allowed object is
IDTypepublic StatusCodeType getStatusCode()
StatusCodeTypepublic void setStatusCode(StatusCodeType value)
value - allowed object is
StatusCodeTypepublic List<PeriodType> getValidityPeriod()
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 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
public PriceListType getPreviousPriceList()
PriceListTypepublic void setPreviousPriceList(PriceListType value)
value - allowed object is
PriceListTypeCopyright © 2017 Direktoratet for forvaltning og IKT (Difi). All rights reserved.