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_PivotCacheDefinition complex type.

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

 <complexType name="CT_PivotCacheDefinition">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="cacheSource" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CacheSource"/>
         <element name="cacheFields" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CacheFields"/>
         <element name="cacheHierarchies" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CacheHierarchies" minOccurs="0"/>
         <element name="kpis" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_PCDKPIs" minOccurs="0"/>
         <element name="tupleCache" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_TupleCache" minOccurs="0"/>
         <element name="calculatedItems" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CalculatedItems" minOccurs="0"/>
         <element name="calculatedMembers" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CalculatedMembers" minOccurs="0"/>
         <element name="dimensions" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Dimensions" minOccurs="0"/>
         <element name="measureGroups" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_MeasureGroups" minOccurs="0"/>
         <element name="maps" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_MeasureDimensionMaps" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
       <attribute ref="{http://schemas.openxmlformats.org/officeDocument/2006/relationships}id"/>
       <attribute name="invalid" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="saveData" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="refreshOnLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="optimizeMemory" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="enableRefresh" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="refreshedBy" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="refreshedDate" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="refreshedDateIso" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="backgroundQuery" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="missingItemsLimit" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="createdVersion" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
       <attribute name="refreshedVersion" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
       <attribute name="minRefreshableVersion" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="0" />
       <attribute name="recordCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="upgradeOnRefresh" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="tupleCache" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="supportSubquery" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="supportAdvancedDrill" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_PivotCacheDefinition", propOrder = {
     "cacheSource",
     "cacheFields",
     "cacheHierarchies",
     "kpis",
     "tupleCache",
     "calculatedItems",
     "calculatedMembers",
     "dimensions",
     "measureGroups",
     "maps",
     "extLst"
 })
 @XmlRootElement(name = "pivotCacheDefinition")
 public class CTPivotCacheDefinition implements Child
 {
    @XmlElement(required = true)
    protected CTCacheSource cacheSource;
    @XmlElement(required = true)
    protected CTCacheFields cacheFields;
    protected CTPCDKPIs kpis;
    protected CTTupleCache tupleCache;
    protected CTDimensions dimensions;
    protected CTMeasureGroups measureGroups;
    protected CTMeasureDimensionMaps maps;
    protected CTExtensionList extLst;
    @XmlAttribute(name = "id", namespace = "http://schemas.openxmlformats.org/officeDocument/2006/relationships")
    protected String id;
    @XmlAttribute(name = "invalid")
    protected Boolean invalid;
    @XmlAttribute(name = "saveData")
    protected Boolean saveData;
    @XmlAttribute(name = "refreshOnLoad")
    protected Boolean refreshOnLoad;
    @XmlAttribute(name = "optimizeMemory")
    protected Boolean optimizeMemory;
    @XmlAttribute(name = "enableRefresh")
    protected Boolean enableRefresh;
    @XmlAttribute(name = "refreshedBy")
    protected String refreshedBy;
    @XmlAttribute(name = "refreshedDate")
    protected Double refreshedDate;
    @XmlAttribute(name = "refreshedDateIso")
    @XmlSchemaType(name = "dateTime")
    @XmlAttribute(name = "backgroundQuery")
    protected Boolean backgroundQuery;
    @XmlAttribute(name = "missingItemsLimit")
    @XmlSchemaType(name = "unsignedInt")
    protected Long missingItemsLimit;
    @XmlAttribute(name = "createdVersion")
    @XmlSchemaType(name = "unsignedByte")
    protected Short createdVersion;
    @XmlAttribute(name = "refreshedVersion")
    @XmlSchemaType(name = "unsignedByte")
    protected Short refreshedVersion;
    @XmlAttribute(name = "minRefreshableVersion")
    @XmlSchemaType(name = "unsignedByte")
    protected Short minRefreshableVersion;
    @XmlAttribute(name = "recordCount")
    @XmlSchemaType(name = "unsignedInt")
    protected Long recordCount;
    @XmlAttribute(name = "upgradeOnRefresh")
    protected Boolean upgradeOnRefresh;
    @XmlAttribute(name = "tupleCache")
    protected Boolean tupleCacheQ;
    @XmlAttribute(name = "supportSubquery")
    protected Boolean supportSubquery;
    @XmlAttribute(name = "supportAdvancedDrill")
    protected Boolean supportAdvancedDrill;
    private Object parent;

    
Gets the value of the cacheSource property.

Returns:
possible object is
    public CTCacheSource getCacheSource() {
        return ;
    }

    
Sets the value of the cacheSource property.

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

    
Gets the value of the cacheFields property.

Returns:
possible object is
    public CTCacheFields getCacheFields() {
        return ;
    }

    
Sets the value of the cacheFields property.

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

    
Gets the value of the cacheHierarchies property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the cacheHierarchies property.

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

    
Gets the value of the kpis property.

Returns:
possible object is
    public CTPCDKPIs getKpis() {
        return ;
    }

    
Sets the value of the kpis property.

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

    
Gets the value of the tupleCache property.

Returns:
possible object is
    public CTTupleCache getTupleCache() {
        return ;
    }

    
Sets the value of the tupleCache property.

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

    
Gets the value of the calculatedItems property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the calculatedItems property.

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

    
Gets the value of the calculatedMembers property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the calculatedMembers property.

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

    
Gets the value of the dimensions property.

Returns:
possible object is
    public CTDimensions getDimensions() {
        return ;
    }

    
Sets the value of the dimensions property.

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

    
Gets the value of the measureGroups property.

Returns:
possible object is
    public CTMeasureGroups getMeasureGroups() {
        return ;
    }

    
Sets the value of the measureGroups property.

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

    
Gets the value of the maps property.

Returns:
possible object is
    public CTMeasureDimensionMaps getMaps() {
        return ;
    }

    
Sets the value of the maps property.

Parameters:
value allowed object is
    public void setMaps(CTMeasureDimensionMaps 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 id property.

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

    
Sets the value of the id property.

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

    
Gets the value of the invalid property.

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

    
Sets the value of the invalid property.

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

    
Gets the value of the saveData property.

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

    
Sets the value of the saveData property.

Parameters:
value allowed object is
    public void setSaveData(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 optimizeMemory property.

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

    
Sets the value of the optimizeMemory property.

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

    
Gets the value of the enableRefresh property.

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

    
Sets the value of the enableRefresh property.

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

    
Gets the value of the refreshedBy property.

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

    
Sets the value of the refreshedBy property.

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

    
Gets the value of the refreshedDate property.

Returns:
possible object is
    public Double getRefreshedDate() {
        return ;
    }

    
Sets the value of the refreshedDate property.

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

    
Gets the value of the refreshedDateIso property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the refreshedDateIso property.

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

    
Gets the value of the backgroundQuery property.

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

    
Sets the value of the backgroundQuery property.

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

    
Gets the value of the missingItemsLimit property.

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

    
Sets the value of the missingItemsLimit property.

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

    
Gets the value of the createdVersion property.

Returns:
possible object is
    public short getCreatedVersion() {
        if ( == null) {
            return ((short) 0);
        } else {
            return ;
        }
    }

    
Sets the value of the createdVersion property.

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

    
Gets the value of the refreshedVersion property.

Returns:
possible object is
    public short getRefreshedVersion() {
        if ( == null) {
            return ((short) 0);
        } else {
            return ;
        }
    }

    
Sets the value of the refreshedVersion property.

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

    
Gets the value of the minRefreshableVersion property.

Returns:
possible object is
    public short getMinRefreshableVersion() {
        if ( == null) {
            return ((short) 0);
        } else {
            return ;
        }
    }

    
Sets the value of the minRefreshableVersion property.

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

    
Gets the value of the recordCount property.

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

    
Sets the value of the recordCount property.

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

    
Gets the value of the upgradeOnRefresh property.

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

    
Sets the value of the upgradeOnRefresh property.

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

    
Gets the value of the tupleCacheQ property.

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

    
Sets the value of the tupleCacheQ property.

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

    
Gets the value of the supportSubquery property.

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

    
Sets the value of the supportSubquery property.

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

    
Gets the value of the supportAdvancedDrill property.

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

    
Sets the value of the supportAdvancedDrill property.

Parameters:
value allowed object is
    public void setSupportAdvancedDrill(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