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

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

 <complexType name="CT_CalcPr">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="calcId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="calcMode" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CalcMode" default="auto" />
       <attribute name="fullCalcOnLoad" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="refMode" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_RefMode" default="A1" />
       <attribute name="iterate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="iterateCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="100" />
       <attribute name="iterateDelta" type="{http://www.w3.org/2001/XMLSchema}double" default="0.001" />
       <attribute name="fullPrecision" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="calcCompleted" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="calcOnSave" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="concurrentCalc" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="concurrentManualCount" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="forceFullCalc" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_CalcPr")
 public class CTCalcPr implements Child
 {
 
     @XmlAttribute(name = "calcId")
     @XmlSchemaType(name = "unsignedInt")
     protected Long calcId;
     @XmlAttribute(name = "calcMode")
     protected STCalcMode calcMode;
     @XmlAttribute(name = "fullCalcOnLoad")
     protected Boolean fullCalcOnLoad;
     @XmlAttribute(name = "refMode")
     protected STRefMode refMode;
     @XmlAttribute(name = "iterate")
     protected Boolean iterate;
     @XmlAttribute(name = "iterateCount")
     @XmlSchemaType(name = "unsignedInt")
     protected Long iterateCount;
     @XmlAttribute(name = "iterateDelta")
     protected Double iterateDelta;
     @XmlAttribute(name = "fullPrecision")
     protected Boolean fullPrecision;
     @XmlAttribute(name = "calcCompleted")
     protected Boolean calcCompleted;
     @XmlAttribute(name = "calcOnSave")
     protected Boolean calcOnSave;
     @XmlAttribute(name = "concurrentCalc")
     protected Boolean concurrentCalc;
     @XmlAttribute(name = "concurrentManualCount")
     @XmlSchemaType(name = "unsignedInt")
     protected Long concurrentManualCount;
     @XmlAttribute(name = "forceFullCalc")
     protected Boolean forceFullCalc;
     @XmlTransient
     private Object parent;

    
Gets the value of the calcId property.

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

    
Sets the value of the calcId property.

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

    
Gets the value of the calcMode property.

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

    
Sets the value of the calcMode property.

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

    
Gets the value of the fullCalcOnLoad property.

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

    
Sets the value of the fullCalcOnLoad property.

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

    
Gets the value of the refMode property.

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

    
Sets the value of the refMode property.

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

    
Gets the value of the iterate property.

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

    
Sets the value of the iterate property.

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

    
Gets the value of the iterateCount property.

Returns:
possible object is
    public long getIterateCount() {
        if ( == null) {
            return  100L;
        } else {
            return ;
        }
    }

    
Sets the value of the iterateCount property.

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

    
Gets the value of the iterateDelta property.

Returns:
possible object is
    public double getIterateDelta() {
        if ( == null) {
            return  0.0010D;
        } else {
            return ;
        }
    }

    
Sets the value of the iterateDelta property.

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

    
Gets the value of the fullPrecision property.

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

    
Sets the value of the fullPrecision property.

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

    
Gets the value of the calcCompleted property.

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

    
Sets the value of the calcCompleted property.

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

    
Gets the value of the calcOnSave property.

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

    
Sets the value of the calcOnSave property.

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

    
Gets the value of the concurrentCalc property.

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

    
Sets the value of the concurrentCalc property.

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

    
Gets the value of the concurrentManualCount property.

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

    
Sets the value of the concurrentManualCount property.

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

    
Gets the value of the forceFullCalc property.

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

    
Sets the value of the forceFullCalc property.

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