Package org.xlsx4j.sml
Class CTPivotHierarchy
java.lang.Object
org.xlsx4j.sml.CTPivotHierarchy
- All Implemented Interfaces:
Child
public class CTPivotHierarchy extends java.lang.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 Summary
Fields Modifier and Type Field Description protected java.lang.Stringcaptionprotected java.lang.BooleandragOffprotected java.lang.BooleandragToColprotected java.lang.BooleandragToDataprotected java.lang.BooleandragToPageprotected java.lang.BooleandragToRowprotected CTExtensionListextLstprotected java.lang.BooleanincludeNewItemsInFilterprotected java.util.List<CTMembers>membersprotected CTMemberPropertiesmpsprotected java.lang.BooleanmultipleItemSelectionAllowedprotected java.lang.Booleanoutlineprotected java.lang.BooleanshowInFieldListprotected java.lang.BooleansubtotalTop -
Constructor Summary
Constructors Constructor Description CTPivotHierarchy() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.StringgetCaption()Gets the value of the caption property.CTExtensionListgetExtLst()Gets the value of the extLst property.java.util.List<CTMembers>getMembers()Gets the value of the members property.CTMemberPropertiesgetMps()Gets the value of the mps property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.booleanisDragOff()Gets the value of the dragOff property.booleanisDragToCol()Gets the value of the dragToCol property.booleanisDragToData()Gets the value of the dragToData property.booleanisDragToPage()Gets the value of the dragToPage property.booleanisDragToRow()Gets the value of the dragToRow property.booleanisIncludeNewItemsInFilter()Gets the value of the includeNewItemsInFilter property.booleanisMultipleItemSelectionAllowed()Gets the value of the multipleItemSelectionAllowed property.booleanisOutline()Gets the value of the outline property.booleanisShowInFieldList()Gets the value of the showInFieldList property.booleanisSubtotalTop()Gets the value of the subtotalTop property.voidsetCaption(java.lang.String value)Sets the value of the caption property.voidsetDragOff(java.lang.Boolean value)Sets the value of the dragOff property.voidsetDragToCol(java.lang.Boolean value)Sets the value of the dragToCol property.voidsetDragToData(java.lang.Boolean value)Sets the value of the dragToData property.voidsetDragToPage(java.lang.Boolean value)Sets the value of the dragToPage property.voidsetDragToRow(java.lang.Boolean value)Sets the value of the dragToRow property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetIncludeNewItemsInFilter(java.lang.Boolean value)Sets the value of the includeNewItemsInFilter property.voidsetMps(CTMemberProperties value)Sets the value of the mps property.voidsetMultipleItemSelectionAllowed(java.lang.Boolean value)Sets the value of the multipleItemSelectionAllowed property.voidsetOutline(java.lang.Boolean value)Sets the value of the outline property.voidsetParent(java.lang.Object parent)voidsetShowInFieldList(java.lang.Boolean value)Sets the value of the showInFieldList property.voidsetSubtotalTop(java.lang.Boolean value)Sets the value of the subtotalTop property.
-
Field Details
-
mps
-
members
-
extLst
-
outline
protected java.lang.Boolean outline -
multipleItemSelectionAllowed
protected java.lang.Boolean multipleItemSelectionAllowed -
subtotalTop
protected java.lang.Boolean subtotalTop -
showInFieldList
protected java.lang.Boolean showInFieldList -
dragToRow
protected java.lang.Boolean dragToRow -
dragToCol
protected java.lang.Boolean dragToCol -
dragToPage
protected java.lang.Boolean dragToPage -
dragToData
protected java.lang.Boolean dragToData -
dragOff
protected java.lang.Boolean dragOff -
includeNewItemsInFilter
protected java.lang.Boolean includeNewItemsInFilter -
caption
protected java.lang.String caption
-
-
Constructor Details
-
CTPivotHierarchy
public CTPivotHierarchy()
-
-
Method Details
-
getMps
Gets the value of the mps property.- Returns:
- possible object is
CTMemberProperties
-
setMps
Sets the value of the mps property.- Parameters:
value- allowed object isCTMemberProperties
-
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
setmethod 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
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
-
isOutline
public boolean isOutline()Gets the value of the outline property.- Returns:
- possible object is
Boolean
-
setOutline
public void setOutline(java.lang.Boolean value)Sets the value of the outline property.- Parameters:
value- allowed object isBoolean
-
isMultipleItemSelectionAllowed
public boolean isMultipleItemSelectionAllowed()Gets the value of the multipleItemSelectionAllowed property.- Returns:
- possible object is
Boolean
-
setMultipleItemSelectionAllowed
public void setMultipleItemSelectionAllowed(java.lang.Boolean value)Sets the value of the multipleItemSelectionAllowed property.- Parameters:
value- allowed object isBoolean
-
isSubtotalTop
public boolean isSubtotalTop()Gets the value of the subtotalTop property.- Returns:
- possible object is
Boolean
-
setSubtotalTop
public void setSubtotalTop(java.lang.Boolean value)Sets the value of the subtotalTop property.- Parameters:
value- allowed object isBoolean
-
isShowInFieldList
public boolean isShowInFieldList()Gets the value of the showInFieldList property.- Returns:
- possible object is
Boolean
-
setShowInFieldList
public void setShowInFieldList(java.lang.Boolean value)Sets the value of the showInFieldList property.- Parameters:
value- allowed object isBoolean
-
isDragToRow
public boolean isDragToRow()Gets the value of the dragToRow property.- Returns:
- possible object is
Boolean
-
setDragToRow
public void setDragToRow(java.lang.Boolean value)Sets the value of the dragToRow property.- Parameters:
value- allowed object isBoolean
-
isDragToCol
public boolean isDragToCol()Gets the value of the dragToCol property.- Returns:
- possible object is
Boolean
-
setDragToCol
public void setDragToCol(java.lang.Boolean value)Sets the value of the dragToCol property.- Parameters:
value- allowed object isBoolean
-
isDragToPage
public boolean isDragToPage()Gets the value of the dragToPage property.- Returns:
- possible object is
Boolean
-
setDragToPage
public void setDragToPage(java.lang.Boolean value)Sets the value of the dragToPage property.- Parameters:
value- allowed object isBoolean
-
isDragToData
public boolean isDragToData()Gets the value of the dragToData property.- Returns:
- possible object is
Boolean
-
setDragToData
public void setDragToData(java.lang.Boolean value)Sets the value of the dragToData property.- Parameters:
value- allowed object isBoolean
-
isDragOff
public boolean isDragOff()Gets the value of the dragOff property.- Returns:
- possible object is
Boolean
-
setDragOff
public void setDragOff(java.lang.Boolean value)Sets the value of the dragOff property.- Parameters:
value- allowed object isBoolean
-
isIncludeNewItemsInFilter
public boolean isIncludeNewItemsInFilter()Gets the value of the includeNewItemsInFilter property.- Returns:
- possible object is
Boolean
-
setIncludeNewItemsInFilter
public void setIncludeNewItemsInFilter(java.lang.Boolean value)Sets the value of the includeNewItemsInFilter property.- Parameters:
value- allowed object isBoolean
-
getCaption
public java.lang.String getCaption()Gets the value of the caption property.- Returns:
- possible object is
String
-
setCaption
public void setCaption(java.lang.String value)Sets the value of the caption property.- Parameters:
value- allowed object isString
-
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(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.
-