Class CTPivotHierarchy

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

public class CTPivotHierarchy extends Object implements Child

Java class for CT_PivotHierarchy complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_PivotHierarchy">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="mps" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_MemberProperties" minOccurs="0"/>
         <element name="members" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Members" maxOccurs="unbounded" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="outline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="multipleItemSelectionAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="subtotalTop" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="showInFieldList" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="dragToRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="dragToCol" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="dragToPage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="dragToData" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="dragOff" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="includeNewItemsInFilter" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="caption" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • mps

      protected CTMemberProperties mps
    • members

      protected List<CTMembers> members
    • extLst

      protected CTExtensionList extLst
    • outline

      protected Boolean outline
    • multipleItemSelectionAllowed

      protected Boolean multipleItemSelectionAllowed
    • subtotalTop

      protected Boolean subtotalTop
    • showInFieldList

      protected Boolean showInFieldList
    • dragToRow

      protected Boolean dragToRow
    • dragToCol

      protected Boolean dragToCol
    • dragToPage

      protected Boolean dragToPage
    • dragToData

      protected Boolean dragToData
    • dragOff

      protected Boolean dragOff
    • includeNewItemsInFilter

      protected Boolean includeNewItemsInFilter
    • caption

      protected String caption
  • Constructor Details

    • CTPivotHierarchy

      public CTPivotHierarchy()
  • Method Details

    • getMps

      public CTMemberProperties getMps()
      Gets the value of the mps property.
      Returns:
      possible object is CTMemberProperties
    • setMps

      public void setMps(CTMemberProperties value)
      Sets the value of the mps property.
      Parameters:
      value - allowed object is CTMemberProperties
    • getMembers

      public List<CTMembers> getMembers()
      Gets the value of the members property.

      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 members property.

      For example, to add a new item, do as follows:

          getMembers().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTMembers

    • 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
    • isOutline

      public boolean isOutline()
      Gets the value of the outline property.
      Returns:
      possible object is Boolean
    • setOutline

      public void setOutline(Boolean value)
      Sets the value of the outline property.
      Parameters:
      value - allowed object is Boolean
    • isMultipleItemSelectionAllowed

      public boolean isMultipleItemSelectionAllowed()
      Gets the value of the multipleItemSelectionAllowed property.
      Returns:
      possible object is Boolean
    • setMultipleItemSelectionAllowed

      public void setMultipleItemSelectionAllowed(Boolean value)
      Sets the value of the multipleItemSelectionAllowed property.
      Parameters:
      value - allowed object is Boolean
    • isSubtotalTop

      public boolean isSubtotalTop()
      Gets the value of the subtotalTop property.
      Returns:
      possible object is Boolean
    • setSubtotalTop

      public void setSubtotalTop(Boolean value)
      Sets the value of the subtotalTop property.
      Parameters:
      value - allowed object is Boolean
    • isShowInFieldList

      public boolean isShowInFieldList()
      Gets the value of the showInFieldList property.
      Returns:
      possible object is Boolean
    • setShowInFieldList

      public void setShowInFieldList(Boolean value)
      Sets the value of the showInFieldList property.
      Parameters:
      value - allowed object is Boolean
    • isDragToRow

      public boolean isDragToRow()
      Gets the value of the dragToRow property.
      Returns:
      possible object is Boolean
    • setDragToRow

      public void setDragToRow(Boolean value)
      Sets the value of the dragToRow property.
      Parameters:
      value - allowed object is Boolean
    • isDragToCol

      public boolean isDragToCol()
      Gets the value of the dragToCol property.
      Returns:
      possible object is Boolean
    • setDragToCol

      public void setDragToCol(Boolean value)
      Sets the value of the dragToCol property.
      Parameters:
      value - allowed object is Boolean
    • isDragToPage

      public boolean isDragToPage()
      Gets the value of the dragToPage property.
      Returns:
      possible object is Boolean
    • setDragToPage

      public void setDragToPage(Boolean value)
      Sets the value of the dragToPage property.
      Parameters:
      value - allowed object is Boolean
    • isDragToData

      public boolean isDragToData()
      Gets the value of the dragToData property.
      Returns:
      possible object is Boolean
    • setDragToData

      public void setDragToData(Boolean value)
      Sets the value of the dragToData property.
      Parameters:
      value - allowed object is Boolean
    • isDragOff

      public boolean isDragOff()
      Gets the value of the dragOff property.
      Returns:
      possible object is Boolean
    • setDragOff

      public void setDragOff(Boolean value)
      Sets the value of the dragOff property.
      Parameters:
      value - allowed object is Boolean
    • isIncludeNewItemsInFilter

      public boolean isIncludeNewItemsInFilter()
      Gets the value of the includeNewItemsInFilter property.
      Returns:
      possible object is Boolean
    • setIncludeNewItemsInFilter

      public void setIncludeNewItemsInFilter(Boolean value)
      Sets the value of the includeNewItemsInFilter property.
      Parameters:
      value - allowed object is Boolean
    • getCaption

      public String getCaption()
      Gets the value of the caption property.
      Returns:
      possible object is String
    • setCaption

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