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.Boolean caseSensitive  
    protected java.lang.Boolean columnSort  
    protected CTExtensionList extLst  
    protected java.lang.String ref  
    protected java.util.List<CTSortCondition> sortCondition  
    protected STSortMethod sortMethod  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTSortState()  
  • 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.
    CTExtensionList getExtLst()
    Gets the value of the extLst property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.lang.String getRef()
    Gets the value of the ref property.
    java.util.List<CTSortCondition> getSortCondition()
    Gets the value of the sortCondition property.
    STSortMethod getSortMethod()
    Gets the value of the sortMethod property.
    boolean isCaseSensitive()
    Gets the value of the caseSensitive property.
    boolean isColumnSort()
    Gets the value of the columnSort property.
    void setCaseSensitive​(java.lang.Boolean value)
    Sets the value of the caseSensitive property.
    void setColumnSort​(java.lang.Boolean value)
    Sets the value of the columnSort property.
    void setExtLst​(CTExtensionList value)
    Sets the value of the extLst property.
    void setParent​(java.lang.Object parent)  
    void setRef​(java.lang.String value)
    Sets the value of the ref property.
    void setSortMethod​(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

  • Constructor Details

  • Method Details

    • getSortCondition

      public java.util.List<CTSortCondition> 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 set method 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

      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
    • 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 is Boolean
    • 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 is Boolean
    • getSortMethod

      public STSortMethod getSortMethod()
      Gets the value of the sortMethod property.
      Returns:
      possible object is STSortMethod
    • setSortMethod

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