public class CTDateTime extends Object implements Child
Java class for CT_DateTime complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_DateTime">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="x" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_X" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="v" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
<attribute name="u" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="f" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="c" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="cp" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
c |
protected Long |
cp |
protected Boolean |
f |
protected Boolean |
u |
protected XMLGregorianCalendar |
v |
protected List<CTX> |
x |
| Constructor and Description |
|---|
CTDateTime() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
String |
getC()
Gets the value of the c property.
|
Long |
getCp()
Gets the value of the cp property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
XMLGregorianCalendar |
getV()
Gets the value of the v property.
|
List<CTX> |
getX()
Gets the value of the x property.
|
Boolean |
isF()
Gets the value of the f property.
|
Boolean |
isU()
Gets the value of the u property.
|
void |
setC(String value)
Sets the value of the c property.
|
void |
setCp(Long value)
Sets the value of the cp property.
|
void |
setF(Boolean value)
Sets the value of the f property.
|
void |
setParent(Object parent) |
void |
setU(Boolean value)
Sets the value of the u property.
|
void |
setV(XMLGregorianCalendar value)
Sets the value of the v property.
|
protected XMLGregorianCalendar v
protected Boolean u
protected Boolean f
protected String c
protected Long cp
public List<CTX> getX()
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 x property.
For example, to add a new item, do as follows:
getX().add(newItem);
Objects of the following type(s) are allowed in the list
CTX
public XMLGregorianCalendar getV()
XMLGregorianCalendarpublic void setV(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic void setU(Boolean value)
value - allowed object is
Booleanpublic void setF(Boolean value)
value - allowed object is
Booleanpublic void setC(String value)
value - allowed object is
Stringpublic void setCp(Long value)
value - allowed object is
Longpublic Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2022. All Rights Reserved.