Package org.xlsx4j.sml
Class CTDataField
java.lang.Object
org.xlsx4j.sml.CTDataField
- All Implemented Interfaces:
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
FieldsModifier and TypeFieldDescriptionprotected Integerprotected Longprotected CTExtensionListprotected longprotected Stringprotected Longprotected STShowDataAsprotected STDataConsolidateFunction -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.intGets the value of the baseField property.longGets the value of the baseItem property.Gets the value of the extLst property.longgetFld()Gets the value of the fld property.getName()Gets the value of the name property.Gets the value of the numFmtId property.Gets the parent object in the object tree representing the unmarshalled xml document.Gets the value of the showDataAs property.Gets the value of the subtotal property.voidsetBaseField(Integer value) Sets the value of the baseField property.voidsetBaseItem(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.voidSets the value of the name property.voidsetNumFmtId(Long value) Sets the value of the numFmtId property.voidvoidsetShowDataAs(STShowDataAs value) Sets the value of the showDataAs property.voidSets the value of the subtotal property.
-
Field Details
-
extLst
-
name
-
fld
protected long fld -
subtotal
-
showDataAs
-
baseField
-
baseItem
-
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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
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
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
Sets the value of the baseItem property.- Parameters:
value- allowed object isLong
-
getNumFmtId
Gets the value of the numFmtId property.- Returns:
- possible object is
Long
-
setNumFmtId
Sets the value of the numFmtId property.- Parameters:
value- allowed object isLong
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-