@Generated(value="com.sun.tools.xjc.Driver", date="2022-06-08T05:21:36+02:00", comments="JAXB RI v2.2.11") public class MomentType extends Object implements Serializable
Java class for momentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="momentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<choice>
<element name="year" type="{http://www.w3.org/2001/XMLSchema}gYear"/>
<element name="yearmonth" type="{http://www.w3.org/2001/XMLSchema}gYearMonth"/>
</choice>
<sequence>
<element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/>
<element name="time" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/>
</sequence>
<element name="text" type="{http://www.ehealth.fgov.be/standards/kmehr/dt/v1}textType"/>
</choice>
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
MomentType() |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getDate()
Gets the value of the date property.
|
TextType |
getText()
Gets the value of the text property.
|
org.joda.time.DateTime |
getTime()
Gets the value of the time property.
|
XMLGregorianCalendar |
getYear()
Gets the value of the year property.
|
XMLGregorianCalendar |
getYearmonth()
Gets the value of the yearmonth property.
|
void |
setDate(org.joda.time.DateTime value)
Sets the value of the date property.
|
void |
setText(TextType value)
Sets the value of the text property.
|
void |
setTime(org.joda.time.DateTime value)
Sets the value of the time property.
|
void |
setYear(XMLGregorianCalendar value)
Sets the value of the year property.
|
void |
setYearmonth(XMLGregorianCalendar value)
Sets the value of the yearmonth property.
|
public TextType getText()
TextTypepublic void setText(TextType value)
value - allowed object is
TextTypepublic org.joda.time.DateTime getDate()
Stringpublic void setDate(org.joda.time.DateTime value)
value - allowed object is
Stringpublic org.joda.time.DateTime getTime()
Stringpublic void setTime(org.joda.time.DateTime value)
value - allowed object is
Stringpublic XMLGregorianCalendar getYearmonth()
XMLGregorianCalendarpublic void setYearmonth(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getYear()
XMLGregorianCalendarpublic void setYear(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendar
Connector Packaging generic 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.