Class CTDataField

java.lang.Object
org.xlsx4j.sml.CTDataField
All Implemented Interfaces:
Child

public class CTDataField extends 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 Details

  • Constructor Details

    • CTDataField

      public CTDataField()
  • Method Details

    • getExtLst

      public CTExtensionList getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTExtensionList
    • setExtLst

      public void setExtLst(CTExtensionList value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTExtensionList
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • 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

      public STDataConsolidateFunction getSubtotal()
      Gets the value of the subtotal property.
      Returns:
      possible object is STDataConsolidateFunction
    • setSubtotal

      public void setSubtotal(STDataConsolidateFunction value)
      Sets the value of the subtotal property.
      Parameters:
      value - allowed object is STDataConsolidateFunction
    • getShowDataAs

      public STShowDataAs getShowDataAs()
      Gets the value of the showDataAs property.
      Returns:
      possible object is STShowDataAs
    • setShowDataAs

      public void setShowDataAs(STShowDataAs value)
      Sets the value of the showDataAs property.
      Parameters:
      value - allowed object is STShowDataAs
    • getBaseField

      public int getBaseField()
      Gets the value of the baseField property.
      Returns:
      possible object is Integer
    • setBaseField

      public void setBaseField(Integer value)
      Sets the value of the baseField property.
      Parameters:
      value - allowed object is Integer
    • getBaseItem

      public long getBaseItem()
      Gets the value of the baseItem property.
      Returns:
      possible object is Long
    • setBaseItem

      public void setBaseItem(Long value)
      Sets the value of the baseItem property.
      Parameters:
      value - allowed object is Long
    • getNumFmtId

      public Long getNumFmtId()
      Gets the value of the numFmtId property.
      Returns:
      possible object is Long
    • setNumFmtId

      public void setNumFmtId(Long value)
      Sets the value of the numFmtId property.
      Parameters:
      value - allowed object is Long
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.