Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   *  Copyright 2010-2013, Plutext Pty Ltd.
   *   
   *  This file is part of xlsx4j, a component of docx4j.
  
      docx4j is licensed under the Apache License, Version 2.0 (the "License"); 
      you may not use this file except in compliance with the License. 
  
      You may obtain a copy of the License at 
 
         http://www.apache.org/licenses/LICENSE-2.0 
 
     Unless required by applicable law or agreed to in writing, software 
     distributed under the License is distributed on an "AS IS" BASIS, 
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
     See the License for the specific language governing permissions and 
     limitations under the License.
 
  */
 package org.xlsx4j.sml;
 

Java class for CT_QueryTable complex type.

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

 <complexType name="CT_QueryTable">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="queryTableRefresh" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_QueryTableRefresh" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}AG_AutoFormat"/>
       <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="headers" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="rowNumbers" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="disableRefresh" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="backgroundRefresh" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="firstBackgroundRefresh" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="refreshOnLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="growShrinkType" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_GrowShrinkType" default="insertDelete" />
       <attribute name="fillFormulas" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="removeDataOnSave" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="disableEdit" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="preserveFormatting" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="adjustColumnWidth" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="intermediate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="connectionId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_QueryTable", propOrder = {
     "queryTableRefresh",
     "extLst"
 })
 public class CTQueryTable implements Child
 {
 
     protected CTExtensionList extLst;
     @XmlAttribute(name = "name", required = true)
     protected String name;
     @XmlAttribute(name = "headers")
     protected Boolean headers;
     @XmlAttribute(name = "rowNumbers")
     protected Boolean rowNumbers;
     @XmlAttribute(name = "disableRefresh")
     protected Boolean disableRefresh;
     @XmlAttribute(name = "backgroundRefresh")
     protected Boolean backgroundRefresh;
     @XmlAttribute(name = "firstBackgroundRefresh")
     protected Boolean firstBackgroundRefresh;
     @XmlAttribute(name = "refreshOnLoad")
     protected Boolean refreshOnLoad;
     @XmlAttribute(name = "growShrinkType")
     protected STGrowShrinkType growShrinkType;
     @XmlAttribute(name = "fillFormulas")
     protected Boolean fillFormulas;
     @XmlAttribute(name = "removeDataOnSave")
     protected Boolean removeDataOnSave;
     @XmlAttribute(name = "disableEdit")
     protected Boolean disableEdit;
    @XmlAttribute(name = "preserveFormatting")
    protected Boolean preserveFormatting;
    @XmlAttribute(name = "adjustColumnWidth")
    protected Boolean adjustColumnWidth;
    @XmlAttribute(name = "intermediate")
    protected Boolean intermediate;
    @XmlAttribute(name = "connectionId", required = true)
    @XmlSchemaType(name = "unsignedInt")
    protected long connectionId;
    @XmlAttribute(name = "autoFormatId")
    @XmlSchemaType(name = "unsignedInt")
    protected Long autoFormatId;
    @XmlAttribute(name = "applyNumberFormats")
    protected Boolean applyNumberFormats;
    @XmlAttribute(name = "applyBorderFormats")
    protected Boolean applyBorderFormats;
    @XmlAttribute(name = "applyFontFormats")
    protected Boolean applyFontFormats;
    @XmlAttribute(name = "applyPatternFormats")
    protected Boolean applyPatternFormats;
    @XmlAttribute(name = "applyAlignmentFormats")
    protected Boolean applyAlignmentFormats;
    @XmlAttribute(name = "applyWidthHeightFormats")
    protected Boolean applyWidthHeightFormats;
    private Object parent;

    
Gets the value of the queryTableRefresh property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the queryTableRefresh property.

Parameters:
value allowed object is
    public void setQueryTableRefresh(CTQueryTableRefresh value) {
        this. = value;
    }

    
Gets the value of the extLst property.

Returns:
possible object is
    public CTExtensionList getExtLst() {
        return ;
    }

    
Sets the value of the extLst property.

Parameters:
value allowed object is
    public void setExtLst(CTExtensionList value) {
        this. = value;
    }

    
Gets the value of the name property.

Returns:
possible object is
    public String getName() {
        return ;
    }

    
Sets the value of the name property.

Parameters:
value allowed object is
    public void setName(String value) {
        this. = value;
    }

    
Gets the value of the headers property.

Returns:
possible object is
    public boolean isHeaders() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the headers property.

Parameters:
value allowed object is
    public void setHeaders(Boolean value) {
        this. = value;
    }

    
Gets the value of the rowNumbers property.

Returns:
possible object is
    public boolean isRowNumbers() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the rowNumbers property.

Parameters:
value allowed object is
    public void setRowNumbers(Boolean value) {
        this. = value;
    }

    
Gets the value of the disableRefresh property.

Returns:
possible object is
    public boolean isDisableRefresh() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the disableRefresh property.

Parameters:
value allowed object is
    public void setDisableRefresh(Boolean value) {
        this. = value;
    }

    
Gets the value of the backgroundRefresh property.

Returns:
possible object is
    public boolean isBackgroundRefresh() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the backgroundRefresh property.

Parameters:
value allowed object is
    public void setBackgroundRefresh(Boolean value) {
        this. = value;
    }

    
Gets the value of the firstBackgroundRefresh property.

Returns:
possible object is
    public boolean isFirstBackgroundRefresh() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the firstBackgroundRefresh property.

Parameters:
value allowed object is
    public void setFirstBackgroundRefresh(Boolean value) {
        this. = value;
    }

    
Gets the value of the refreshOnLoad property.

Returns:
possible object is
    public boolean isRefreshOnLoad() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the refreshOnLoad property.

Parameters:
value allowed object is
    public void setRefreshOnLoad(Boolean value) {
        this. = value;
    }

    
Gets the value of the growShrinkType property.

Returns:
possible object is
        if ( == null) {
            return .;
        } else {
            return ;
        }
    }

    
Sets the value of the growShrinkType property.

Parameters:
value allowed object is
    public void setGrowShrinkType(STGrowShrinkType value) {
        this. = value;
    }

    
Gets the value of the fillFormulas property.

Returns:
possible object is
    public boolean isFillFormulas() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the fillFormulas property.

Parameters:
value allowed object is
    public void setFillFormulas(Boolean value) {
        this. = value;
    }

    
Gets the value of the removeDataOnSave property.

Returns:
possible object is
    public boolean isRemoveDataOnSave() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the removeDataOnSave property.

Parameters:
value allowed object is
    public void setRemoveDataOnSave(Boolean value) {
        this. = value;
    }

    
Gets the value of the disableEdit property.

Returns:
possible object is
    public boolean isDisableEdit() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the disableEdit property.

Parameters:
value allowed object is
    public void setDisableEdit(Boolean value) {
        this. = value;
    }

    
Gets the value of the preserveFormatting property.

Returns:
possible object is
    public boolean isPreserveFormatting() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the preserveFormatting property.

Parameters:
value allowed object is
    public void setPreserveFormatting(Boolean value) {
        this. = value;
    }

    
Gets the value of the adjustColumnWidth property.

Returns:
possible object is
    public boolean isAdjustColumnWidth() {
        if ( == null) {
            return true;
        } else {
            return ;
        }
    }

    
Sets the value of the adjustColumnWidth property.

Parameters:
value allowed object is
    public void setAdjustColumnWidth(Boolean value) {
        this. = value;
    }

    
Gets the value of the intermediate property.

Returns:
possible object is
    public boolean isIntermediate() {
        if ( == null) {
            return false;
        } else {
            return ;
        }
    }

    
Sets the value of the intermediate property.

Parameters:
value allowed object is
    public void setIntermediate(Boolean value) {
        this. = value;
    }

    
Gets the value of the connectionId property.
    public long getConnectionId() {
        return ;
    }

    
Sets the value of the connectionId property.
    public void setConnectionId(long value) {
        this. = value;
    }

    
Gets the value of the autoFormatId property.

Returns:
possible object is
    public Long getAutoFormatId() {
        return ;
    }

    
Sets the value of the autoFormatId property.

Parameters:
value allowed object is
    public void setAutoFormatId(Long value) {
        this. = value;
    }

    
Gets the value of the applyNumberFormats property.

Returns:
possible object is
    public Boolean isApplyNumberFormats() {
        return ;
    }

    
Sets the value of the applyNumberFormats property.

Parameters:
value allowed object is
    public void setApplyNumberFormats(Boolean value) {
        this. = value;
    }

    
Gets the value of the applyBorderFormats property.

Returns:
possible object is
    public Boolean isApplyBorderFormats() {
        return ;
    }

    
Sets the value of the applyBorderFormats property.

Parameters:
value allowed object is
    public void setApplyBorderFormats(Boolean value) {
        this. = value;
    }

    
Gets the value of the applyFontFormats property.

Returns:
possible object is
    public Boolean isApplyFontFormats() {
        return ;
    }

    
Sets the value of the applyFontFormats property.

Parameters:
value allowed object is
    public void setApplyFontFormats(Boolean value) {
        this. = value;
    }

    
Gets the value of the applyPatternFormats property.

Returns:
possible object is
    public Boolean isApplyPatternFormats() {
        return ;
    }

    
Sets the value of the applyPatternFormats property.

Parameters:
value allowed object is
    public void setApplyPatternFormats(Boolean value) {
        this. = value;
    }

    
Gets the value of the applyAlignmentFormats property.

Returns:
possible object is
    public Boolean isApplyAlignmentFormats() {
        return ;
    }

    
Sets the value of the applyAlignmentFormats property.

Parameters:
value allowed object is
    public void setApplyAlignmentFormats(Boolean value) {
        this. = value;
    }

    
Gets the value of the applyWidthHeightFormats property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the applyWidthHeightFormats property.

Parameters:
value allowed object is
    public void setApplyWidthHeightFormats(Boolean value) {
        this. = value;
    }

    
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
    public Object getParent() {
        return this.;
    }
    public void setParent(Object parent) {
        this. = 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.
    public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
        setParent(parent);
    }
New to GrepCode? Check out our FAQ X