Class CTSet

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

public class CTSet extends Object implements Child

Java class for CT_Set complex type.

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

 <complexType name="CT_Set">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="tpls" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Tuples" maxOccurs="unbounded" minOccurs="0"/>
         <element name="sortByTuple" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Tuples" minOccurs="0"/>
       </sequence>
       <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="maxRank" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="setDefinition" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="sortType" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_SortType" default="none" />
       <attribute name="queryFailed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • tpls

      protected List<CTTuples> tpls
    • sortByTuple

      protected CTTuples sortByTuple
    • count

      protected Long count
    • maxRank

      protected int maxRank
    • setDefinition

      protected String setDefinition
    • sortType

      protected STSortType sortType
    • queryFailed

      protected Boolean queryFailed
  • Constructor Details

    • CTSet

      public CTSet()
  • Method Details

    • getTpls

      public List<CTTuples> getTpls()
      Gets the value of the tpls 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 tpls property.

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

          getTpls().add(newItem);
       

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

    • getSortByTuple

      public CTTuples getSortByTuple()
      Gets the value of the sortByTuple property.
      Returns:
      possible object is CTTuples
    • setSortByTuple

      public void setSortByTuple(CTTuples value)
      Sets the value of the sortByTuple property.
      Parameters:
      value - allowed object is CTTuples
    • getCount

      public Long getCount()
      Gets the value of the count property.
      Returns:
      possible object is Long
    • setCount

      public void setCount(Long value)
      Sets the value of the count property.
      Parameters:
      value - allowed object is Long
    • getMaxRank

      public int getMaxRank()
      Gets the value of the maxRank property.
    • setMaxRank

      public void setMaxRank(int value)
      Sets the value of the maxRank property.
    • getSetDefinition

      public String getSetDefinition()
      Gets the value of the setDefinition property.
      Returns:
      possible object is String
    • setSetDefinition

      public void setSetDefinition(String value)
      Sets the value of the setDefinition property.
      Parameters:
      value - allowed object is String
    • getSortType

      public STSortType getSortType()
      Gets the value of the sortType property.
      Returns:
      possible object is STSortType
    • setSortType

      public void setSortType(STSortType value)
      Sets the value of the sortType property.
      Parameters:
      value - allowed object is STSortType
    • isQueryFailed

      public boolean isQueryFailed()
      Gets the value of the queryFailed property.
      Returns:
      possible object is Boolean
    • setQueryFailed

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