Package org.xlsx4j.sml
Class CTSortState
java.lang.Object
org.xlsx4j.sml.CTSortState
- All Implemented Interfaces:
Child
public class CTSortState extends java.lang.Object implements Child
Java class for CT_SortState complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_SortState">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="sortCondition" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_SortCondition" maxOccurs="64" minOccurs="0"/>
<element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
</sequence>
<attribute name="columnSort" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="caseSensitive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="sortMethod" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_SortMethod" default="none" />
<attribute name="ref" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.BooleancaseSensitiveprotected java.lang.BooleancolumnSortprotected CTExtensionListextLstprotected java.lang.Stringrefprotected java.util.List<CTSortCondition>sortConditionprotected STSortMethodsortMethod -
Constructor Summary
Constructors Constructor Description CTSortState() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.CTExtensionListgetExtLst()Gets the value of the extLst property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetRef()Gets the value of the ref property.java.util.List<CTSortCondition>getSortCondition()Gets the value of the sortCondition property.STSortMethodgetSortMethod()Gets the value of the sortMethod property.booleanisCaseSensitive()Gets the value of the caseSensitive property.booleanisColumnSort()Gets the value of the columnSort property.voidsetCaseSensitive(java.lang.Boolean value)Sets the value of the caseSensitive property.voidsetColumnSort(java.lang.Boolean value)Sets the value of the columnSort property.voidsetExtLst(CTExtensionList value)Sets the value of the extLst property.voidsetParent(java.lang.Object parent)voidsetRef(java.lang.String value)Sets the value of the ref property.voidsetSortMethod(STSortMethod value)Sets the value of the sortMethod property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
sortCondition
-
extLst
-
columnSort
protected java.lang.Boolean columnSort -
caseSensitive
protected java.lang.Boolean caseSensitive -
sortMethod
-
ref
protected java.lang.String ref
-
-
Constructor Details
-
CTSortState
public CTSortState()
-
-
Method Details
-
getSortCondition
Gets the value of the sortCondition 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 sortCondition property.For example, to add a new item, do as follows:
getSortCondition().add(newItem);Objects of the following type(s) are allowed in the list
CTSortCondition -
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
-
isColumnSort
public boolean isColumnSort()Gets the value of the columnSort property.- Returns:
- possible object is
Boolean
-
setColumnSort
public void setColumnSort(java.lang.Boolean value)Sets the value of the columnSort property.- Parameters:
value- allowed object isBoolean
-
isCaseSensitive
public boolean isCaseSensitive()Gets the value of the caseSensitive property.- Returns:
- possible object is
Boolean
-
setCaseSensitive
public void setCaseSensitive(java.lang.Boolean value)Sets the value of the caseSensitive property.- Parameters:
value- allowed object isBoolean
-
getSortMethod
Gets the value of the sortMethod property.- Returns:
- possible object is
STSortMethod
-
setSortMethod
Sets the value of the sortMethod property.- Parameters:
value- allowed object isSTSortMethod
-
getRef
public java.lang.String getRef()Gets the value of the ref property.- Returns:
- possible object is
String
-
setRef
public void setRef(java.lang.String value)Sets the value of the ref 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(jakarta.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.
-