Package org.xlsx4j.sml
Class CTSet
java.lang.Object
org.xlsx4j.sml.CTSet
- All Implemented Interfaces:
Child
public class CTSet extends java.lang.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 Summary
Fields Modifier and Type Field Description protected java.lang.Longcountprotected intmaxRankprotected java.lang.BooleanqueryFailedprotected java.lang.StringsetDefinitionprotected CTTuplessortByTupleprotected STSortTypesortTypeprotected java.util.List<CTTuples>tpls -
Constructor Summary
Constructors Constructor Description CTSet() -
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.LonggetCount()Gets the value of the count property.intgetMaxRank()Gets the value of the maxRank property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetSetDefinition()Gets the value of the setDefinition property.CTTuplesgetSortByTuple()Gets the value of the sortByTuple property.STSortTypegetSortType()Gets the value of the sortType property.java.util.List<CTTuples>getTpls()Gets the value of the tpls property.booleanisQueryFailed()Gets the value of the queryFailed property.voidsetCount(java.lang.Long value)Sets the value of the count property.voidsetMaxRank(int value)Sets the value of the maxRank property.voidsetParent(java.lang.Object parent)voidsetQueryFailed(java.lang.Boolean value)Sets the value of the queryFailed property.voidsetSetDefinition(java.lang.String value)Sets the value of the setDefinition property.voidsetSortByTuple(CTTuples value)Sets the value of the sortByTuple property.voidsetSortType(STSortType value)Sets the value of the sortType property.
-
Field Details
-
tpls
-
sortByTuple
-
count
protected java.lang.Long count -
maxRank
protected int maxRank -
setDefinition
protected java.lang.String setDefinition -
sortType
-
queryFailed
protected java.lang.Boolean queryFailed
-
-
Constructor Details
-
CTSet
public CTSet()
-
-
Method Details
-
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
setmethod 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
Gets the value of the sortByTuple property.- Returns:
- possible object is
CTTuples
-
setSortByTuple
Sets the value of the sortByTuple property.- Parameters:
value- allowed object isCTTuples
-
getCount
public java.lang.Long getCount()Gets the value of the count property.- Returns:
- possible object is
Long
-
setCount
public void setCount(java.lang.Long value)Sets the value of the count property.- Parameters:
value- allowed object isLong
-
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 java.lang.String getSetDefinition()Gets the value of the setDefinition property.- Returns:
- possible object is
String
-
setSetDefinition
public void setSetDefinition(java.lang.String value)Sets the value of the setDefinition property.- Parameters:
value- allowed object isString
-
getSortType
Gets the value of the sortType property.- Returns:
- possible object is
STSortType
-
setSortType
Sets the value of the sortType property.- Parameters:
value- allowed object isSTSortType
-
isQueryFailed
public boolean isQueryFailed()Gets the value of the queryFailed property.- Returns:
- possible object is
Boolean
-
setQueryFailed
public void setQueryFailed(java.lang.Boolean value)Sets the value of the queryFailed property.- Parameters:
value- allowed object isBoolean
-
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.
-