Package org.xlsx4j.sml
Class CTDataField
java.lang.Object
org.xlsx4j.sml.CTDataField
- All Implemented Interfaces:
Child
public class CTDataField extends java.lang.Object implements Child
Java class for CT_DataField complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_DataField">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="fld" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="subtotal" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DataConsolidateFunction" default="sum" />
<attribute name="showDataAs" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_ShowDataAs" default="normal" />
<attribute name="baseField" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
<attribute name="baseItem" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="1048832" />
<attribute name="numFmtId" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_NumFmtId" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.IntegerbaseFieldprotected java.lang.LongbaseItemprotected CTExtensionListextLstprotected longfldprotected java.lang.Stringnameprotected java.lang.LongnumFmtIdprotected STShowDataAsshowDataAsprotected STDataConsolidateFunctionsubtotal -
Constructor Summary
Constructors Constructor Description CTDataField() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.intgetBaseField()Gets the value of the baseField property.longgetBaseItem()Gets the value of the baseItem property.CTExtensionListgetExtLst()Gets the value of the extLst property.longgetFld()Gets the value of the fld property.java.lang.StringgetName()Gets the value of the name property.java.lang.LonggetNumFmtId()Gets the value of the numFmtId property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.STShowDataAsgetShowDataAs()Gets the value of the showDataAs property.STDataConsolidateFunctiongetSubtotal()Gets the value of the subtotal property.voidsetBaseField(java.lang.Integer value)Sets the value of the baseField property.voidsetBaseItem(java.lang.Long value)Sets the value of the baseItem property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetFld(long value)Sets the value of the fld property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetNumFmtId(java.lang.Long value)Sets the value of the numFmtId property.voidsetParent(java.lang.Object parent)voidsetShowDataAs(STShowDataAs value)Sets the value of the showDataAs property.voidsetSubtotal(STDataConsolidateFunction value)Sets the value of the subtotal property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
extLst
-
name
protected java.lang.String name -
fld
protected long fld -
subtotal
-
showDataAs
-
baseField
protected java.lang.Integer baseField -
baseItem
protected java.lang.Long baseItem -
numFmtId
protected java.lang.Long numFmtId
-
-
Constructor Details
-
CTDataField
public CTDataField()
-
-
Method Details
-
getExtLst
Gets the value of the extLst property.- Returns:
- possible object is
CTExtensionList
-
setExtLst
Sets the value of the extLst property.- Parameters:
value- allowed object isCTExtensionList
-
getName
public java.lang.String getName()Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)Sets the value of the name property.- Parameters:
value- allowed object isString
-
getFld
public long getFld()Gets the value of the fld property. -
setFld
public void setFld(long value)Sets the value of the fld property. -
getSubtotal
Gets the value of the subtotal property.- Returns:
- possible object is
STDataConsolidateFunction
-
setSubtotal
Sets the value of the subtotal property.- Parameters:
value- allowed object isSTDataConsolidateFunction
-
getShowDataAs
Gets the value of the showDataAs property.- Returns:
- possible object is
STShowDataAs
-
setShowDataAs
Sets the value of the showDataAs property.- Parameters:
value- allowed object isSTShowDataAs
-
getBaseField
public int getBaseField()Gets the value of the baseField property.- Returns:
- possible object is
Integer
-
setBaseField
public void setBaseField(java.lang.Integer value)Sets the value of the baseField property.- Parameters:
value- allowed object isInteger
-
getBaseItem
public long getBaseItem()Gets the value of the baseItem property.- Returns:
- possible object is
Long
-
setBaseItem
public void setBaseItem(java.lang.Long value)Sets the value of the baseItem property.- Parameters:
value- allowed object isLong
-
getNumFmtId
public java.lang.Long getNumFmtId()Gets the value of the numFmtId property.- Returns:
- possible object is
Long
-
setNumFmtId
public void setNumFmtId(java.lang.Long value)Sets the value of the numFmtId property.- Parameters:
value- allowed object isLong
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-