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.Integer baseField  
    protected java.lang.Long baseItem  
    protected CTExtensionList extLst  
    protected long fld  
    protected java.lang.String name  
    protected java.lang.Long numFmtId  
    protected STShowDataAs showDataAs  
    protected STDataConsolidateFunction subtotal  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTDataField()  
  • Method Summary

    Modifier and Type Method Description
    void afterUnmarshal​(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
    This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
    int getBaseField()
    Gets the value of the baseField property.
    long getBaseItem()
    Gets the value of the baseItem property.
    CTExtensionList getExtLst()
    Gets the value of the extLst property.
    long getFld()
    Gets the value of the fld property.
    java.lang.String getName()
    Gets the value of the name property.
    java.lang.Long getNumFmtId()
    Gets the value of the numFmtId property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    STShowDataAs getShowDataAs()
    Gets the value of the showDataAs property.
    STDataConsolidateFunction getSubtotal()
    Gets the value of the subtotal property.
    void setBaseField​(java.lang.Integer value)
    Sets the value of the baseField property.
    void setBaseItem​(java.lang.Long value)
    Sets the value of the baseItem property.
    void setExtLst​(CTExtensionList value)
    Sets the value of the extLst property.
    void setFld​(long value)
    Sets the value of the fld property.
    void setName​(java.lang.String value)
    Sets the value of the name property.
    void setNumFmtId​(java.lang.Long value)
    Sets the value of the numFmtId property.
    void setParent​(java.lang.Object parent)  
    void setShowDataAs​(STShowDataAs value)
    Sets the value of the showDataAs property.
    void setSubtotal​(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

  • Constructor Details

  • 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 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 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​(java.lang.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​(java.lang.Long value)
      Sets the value of the baseItem property.
      Parameters:
      value - allowed object is Long
    • 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 is Long
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal​(javax.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.