Class PeriodType
- java.lang.Object
-
- network.oxalis.peppol.ubl2.jaxb.cac.PeriodType
-
public class PeriodType extends Object
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DescriptionType>descriptionprotected List<DescriptionCodeType>descriptionCodeprotected DurationMeasureTypedurationMeasureprotected EndDateTypeendDateprotected EndTimeTypeendTimeprotected StartDateTypestartDateprotected StartTimeTypestartTime
-
Constructor Summary
Constructors Constructor Description PeriodType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DescriptionType>getDescription()Gets the value of the description property.List<DescriptionCodeType>getDescriptionCode()Gets the value of the descriptionCode property.DurationMeasureTypegetDurationMeasure()Gets the value of the durationMeasure property.EndDateTypegetEndDate()Gets the value of the endDate property.EndTimeTypegetEndTime()Gets the value of the endTime property.StartDateTypegetStartDate()Gets the value of the startDate property.StartTimeTypegetStartTime()Gets the value of the startTime property.voidsetDurationMeasure(DurationMeasureType value)Sets the value of the durationMeasure property.voidsetEndDate(EndDateType value)Sets the value of the endDate property.voidsetEndTime(EndTimeType value)Sets the value of the endTime property.voidsetStartDate(StartDateType value)Sets the value of the startDate property.voidsetStartTime(StartTimeType value)Sets the value of the startTime property.
-
-
-
Field Detail
-
startDate
protected StartDateType startDate
-
startTime
protected StartTimeType startTime
-
endDate
protected EndDateType endDate
-
endTime
protected EndTimeType endTime
-
durationMeasure
protected DurationMeasureType durationMeasure
-
descriptionCode
protected List<DescriptionCodeType> descriptionCode
-
description
protected List<DescriptionType> description
-
-
Method Detail
-
getStartDate
public StartDateType getStartDate()
Gets the value of the startDate property.- Returns:
- possible object is
StartDateType
-
setStartDate
public void setStartDate(StartDateType value)
Sets the value of the startDate property.- Parameters:
value- allowed object isStartDateType
-
getStartTime
public StartTimeType getStartTime()
Gets the value of the startTime property.- Returns:
- possible object is
StartTimeType
-
setStartTime
public void setStartTime(StartTimeType value)
Sets the value of the startTime property.- Parameters:
value- allowed object isStartTimeType
-
getEndDate
public EndDateType getEndDate()
Gets the value of the endDate property.- Returns:
- possible object is
EndDateType
-
setEndDate
public void setEndDate(EndDateType value)
Sets the value of the endDate property.- Parameters:
value- allowed object isEndDateType
-
getEndTime
public EndTimeType getEndTime()
Gets the value of the endTime property.- Returns:
- possible object is
EndTimeType
-
setEndTime
public void setEndTime(EndTimeType value)
Sets the value of the endTime property.- Parameters:
value- allowed object isEndTimeType
-
getDurationMeasure
public DurationMeasureType getDurationMeasure()
Gets the value of the durationMeasure property.- Returns:
- possible object is
DurationMeasureType
-
setDurationMeasure
public void setDurationMeasure(DurationMeasureType value)
Sets the value of the durationMeasure property.- Parameters:
value- allowed object isDurationMeasureType
-
getDescriptionCode
public List<DescriptionCodeType> getDescriptionCode()
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
setmethod 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
DescriptionCodeType
-
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
-
-