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

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

 <complexType name="CT_CacheHierarchy">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="fieldsUsage" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_FieldsUsage" minOccurs="0"/>
         <element name="groupLevels" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_GroupLevels" minOccurs="0"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_ExtensionList" minOccurs="0"/>
       </sequence>
       <attribute name="uniqueName" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="caption" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="measure" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="set" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="parentSet" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="iconSet" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
       <attribute name="attribute" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="keyAttribute" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="defaultMemberUniqueName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="allUniqueName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="allCaption" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="dimensionUniqueName" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="displayFolder" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="measureGroup" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="measures" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="count" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="oneField" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="memberValueDatatype" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
       <attribute name="unbalanced" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="unbalancedGroup" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_CacheHierarchy", propOrder = {
     "fieldsUsage",
     "groupLevels",
     "extLst"
 })
 public class CTCacheHierarchy implements Child
 {
 
     protected CTFieldsUsage fieldsUsage;
     protected CTGroupLevels groupLevels;
     protected CTExtensionList extLst;
     @XmlAttribute(name = "uniqueName", required = true)
     protected String uniqueName;
     @XmlAttribute(name = "caption")
     protected String caption;
     @XmlAttribute(name = "measure")
     protected Boolean measure;
     @XmlAttribute(name = "set")
     protected Boolean set;
     @XmlAttribute(name = "parentSet")
     @XmlSchemaType(name = "unsignedInt")
     protected Long parentSet;
     @XmlAttribute(name = "iconSet")
     protected Integer iconSet;
    @XmlAttribute(name = "attribute")
    protected Boolean attribute;
    @XmlAttribute(name = "time")
    protected Boolean time;
    @XmlAttribute(name = "keyAttribute")
    protected Boolean keyAttribute;
    @XmlAttribute(name = "defaultMemberUniqueName")
    protected String defaultMemberUniqueName;
    @XmlAttribute(name = "allUniqueName")
    protected String allUniqueName;
    @XmlAttribute(name = "allCaption")
    protected String allCaption;
    @XmlAttribute(name = "dimensionUniqueName")
    protected String dimensionUniqueName;
    @XmlAttribute(name = "displayFolder")
    protected String displayFolder;
    @XmlAttribute(name = "measureGroup")
    protected String measureGroup;
    @XmlAttribute(name = "measures")
    protected Boolean measures;
    @XmlAttribute(name = "count", required = true)
    @XmlSchemaType(name = "unsignedInt")
    protected long count;
    @XmlAttribute(name = "oneField")
    protected Boolean oneField;
    @XmlAttribute(name = "memberValueDatatype")
    @XmlSchemaType(name = "unsignedShort")
    protected Integer memberValueDatatype;
    @XmlAttribute(name = "unbalanced")
    protected Boolean unbalanced;
    @XmlAttribute(name = "unbalancedGroup")
    protected Boolean unbalancedGroup;
    @XmlAttribute(name = "hidden")
    protected Boolean hidden;
    private Object parent;

    
Gets the value of the fieldsUsage property.

Returns:
possible object is
    public CTFieldsUsage getFieldsUsage() {
        return ;
    }

    
Sets the value of the fieldsUsage property.

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

    
Gets the value of the groupLevels property.

Returns:
possible object is
    public CTGroupLevels getGroupLevels() {
        return ;
    }

    
Sets the value of the groupLevels property.

Parameters:
value allowed object is
    public void setGroupLevels(CTGroupLevels 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 uniqueName property.

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

    
Sets the value of the uniqueName property.

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

    
Gets the value of the caption property.

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

    
Sets the value of the caption property.

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

    
Gets the value of the measure property.

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

    
Sets the value of the measure property.

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

    
Gets the value of the set property.

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

    
Sets the value of the set property.

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

    
Gets the value of the parentSet property.

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

    
Sets the value of the parentSet property.

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

    
Gets the value of the iconSet property.

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

    
Sets the value of the iconSet property.

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

    
Gets the value of the attribute property.

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

    
Sets the value of the attribute property.

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

    
Gets the value of the time property.

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

    
Sets the value of the time property.

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

    
Gets the value of the keyAttribute property.

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

    
Sets the value of the keyAttribute property.

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

    
Gets the value of the defaultMemberUniqueName property.

Returns:
possible object is
        return ;
    }

    
Sets the value of the defaultMemberUniqueName property.

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

    
Gets the value of the allUniqueName property.

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

    
Sets the value of the allUniqueName property.

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

    
Gets the value of the allCaption property.

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

    
Sets the value of the allCaption property.

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

    
Gets the value of the dimensionUniqueName property.

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

    
Sets the value of the dimensionUniqueName property.

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

    
Gets the value of the displayFolder property.

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

    
Sets the value of the displayFolder property.

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

    
Gets the value of the measureGroup property.

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

    
Sets the value of the measureGroup property.

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

    
Gets the value of the measures property.

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

    
Sets the value of the measures property.

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

    
Gets the value of the count property.
    public long getCount() {
        return ;
    }

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

    
Gets the value of the oneField property.

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

    
Sets the value of the oneField property.

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

    
Gets the value of the memberValueDatatype property.

Returns:
possible object is
    public Integer getMemberValueDatatype() {
        return ;
    }

    
Sets the value of the memberValueDatatype property.

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

    
Gets the value of the unbalanced property.

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

    
Sets the value of the unbalanced property.

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

    
Gets the value of the unbalancedGroup property.

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

    
Sets the value of the unbalancedGroup property.

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

    
Gets the value of the hidden property.

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

    
Sets the value of the hidden property.

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