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>
| Modifier and Type | Field and Description |
|---|---|
protected List<DescriptionType> |
description |
protected List<DescriptionCodeType> |
descriptionCode |
protected DurationMeasureType |
durationMeasure |
protected EndDateType |
endDate |
protected EndTimeType |
endTime |
protected StartDateType |
startDate |
protected StartTimeType |
startTime |
| Constructor and Description |
|---|
PeriodType() |
| Modifier and Type | Method and Description |
|---|---|
List<DescriptionType> |
getDescription()
Gets the value of the description property.
|
List<DescriptionCodeType> |
getDescriptionCode()
Gets the value of the descriptionCode property.
|
DurationMeasureType |
getDurationMeasure()
Gets the value of the durationMeasure property.
|
EndDateType |
getEndDate()
Gets the value of the endDate property.
|
EndTimeType |
getEndTime()
Gets the value of the endTime property.
|
StartDateType |
getStartDate()
Gets the value of the startDate property.
|
StartTimeType |
getStartTime()
Gets the value of the startTime property.
|
void |
setDurationMeasure(DurationMeasureType value)
Sets the value of the durationMeasure property.
|
void |
setEndDate(EndDateType value)
Sets the value of the endDate property.
|
void |
setEndTime(EndTimeType value)
Sets the value of the endTime property.
|
void |
setStartDate(StartDateType value)
Sets the value of the startDate property.
|
void |
setStartTime(StartTimeType value)
Sets the value of the startTime property.
|
protected StartDateType startDate
protected StartTimeType startTime
protected EndDateType endDate
protected EndTimeType endTime
protected DurationMeasureType durationMeasure
protected List<DescriptionCodeType> descriptionCode
protected List<DescriptionType> description
public StartDateType getStartDate()
StartDateTypepublic void setStartDate(StartDateType value)
value - allowed object is
StartDateTypepublic StartTimeType getStartTime()
StartTimeTypepublic void setStartTime(StartTimeType value)
value - allowed object is
StartTimeTypepublic EndDateType getEndDate()
EndDateTypepublic void setEndDate(EndDateType value)
value - allowed object is
EndDateTypepublic EndTimeType getEndTime()
EndTimeTypepublic void setEndTime(EndTimeType value)
value - allowed object is
EndTimeTypepublic DurationMeasureType getDurationMeasure()
DurationMeasureTypepublic void setDurationMeasure(DurationMeasureType value)
value - allowed object is
DurationMeasureTypepublic List<DescriptionCodeType> getDescriptionCode()
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 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
public List<DescriptionType> getDescription()
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
DescriptionType
Copyright © 2017 Direktoratet for forvaltning og IKT (Difi). All rights reserved.