Class CTNumber

java.lang.Object
org.xlsx4j.sml.CTNumber
All Implemented Interfaces:
Child

public class CTNumber
extends java.lang.Object
implements Child

Java class for CT_Number complex type.

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

 <complexType name="CT_Number">
   <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="x" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_X" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="v" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="u" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="f" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="c" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="cp" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="in" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="bc" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedIntHex" />
       <attribute name="fc" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_UnsignedIntHex" />
       <attribute name="i" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="un" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="st" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="b" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.Boolean b  
    protected byte[] bc  
    protected java.lang.String c  
    protected java.lang.Long cp  
    protected java.lang.Boolean f  
    protected byte[] fc  
    protected java.lang.Boolean i  
    protected java.lang.Long in  
    protected java.lang.Boolean st  
    protected java.util.List<CTTuples> tpls  
    protected java.lang.Boolean u  
    protected java.lang.Boolean un  
    protected double v  
    protected java.util.List<CTX> x  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTNumber()  
  • Method Summary

    Modifier and Type Method Description
    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.
    byte[] getBc()
    Gets the value of the bc property.
    java.lang.String getC()
    Gets the value of the c property.
    java.lang.Long getCp()
    Gets the value of the cp property.
    byte[] getFc()
    Gets the value of the fc property.
    java.lang.Long getIn()
    Gets the value of the in property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.util.List<CTTuples> getTpls()
    Gets the value of the tpls property.
    double getV()
    Gets the value of the v property.
    java.util.List<CTX> getX()
    Gets the value of the x property.
    boolean isB()
    Gets the value of the b property.
    java.lang.Boolean isF()
    Gets the value of the f property.
    boolean isI()
    Gets the value of the i property.
    boolean isSt()
    Gets the value of the st property.
    java.lang.Boolean isU()
    Gets the value of the u property.
    boolean isUn()
    Gets the value of the un property.
    void setB​(java.lang.Boolean value)
    Sets the value of the b property.
    void setBc​(byte[] value)
    Sets the value of the bc property.
    void setC​(java.lang.String value)
    Sets the value of the c property.
    void setCp​(java.lang.Long value)
    Sets the value of the cp property.
    void setF​(java.lang.Boolean value)
    Sets the value of the f property.
    void setFc​(byte[] value)
    Sets the value of the fc property.
    void setI​(java.lang.Boolean value)
    Sets the value of the i property.
    void setIn​(java.lang.Long value)
    Sets the value of the in property.
    void setParent​(java.lang.Object parent)  
    void setSt​(java.lang.Boolean value)
    Sets the value of the st property.
    void setU​(java.lang.Boolean value)
    Sets the value of the u property.
    void setUn​(java.lang.Boolean value)
    Sets the value of the un property.
    void setV​(double value)
    Sets the value of the v property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • tpls

      protected java.util.List<CTTuples> tpls
    • x

      protected java.util.List<CTX> x
    • v

      protected double v
    • u

      protected java.lang.Boolean u
    • f

      protected java.lang.Boolean f
    • c

      protected java.lang.String c
    • cp

      protected java.lang.Long cp
    • in

      protected java.lang.Long in
    • bc

      protected byte[] bc
    • fc

      protected byte[] fc
    • i

      protected java.lang.Boolean i
    • un

      protected java.lang.Boolean un
    • st

      protected java.lang.Boolean st
    • b

      protected java.lang.Boolean b
  • Constructor Details

  • Method Details

    • getTpls

      public java.util.List<CTTuples> 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 set method 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

    • getX

      public java.util.List<CTX> getX()
      Gets the value of the x 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 set method for the x property.

      For example, to add a new item, do as follows:

          getX().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTX

    • getV

      public double getV()
      Gets the value of the v property.
    • setV

      public void setV​(double value)
      Sets the value of the v property.
    • isU

      public java.lang.Boolean isU()
      Gets the value of the u property.
      Returns:
      possible object is Boolean
    • setU

      public void setU​(java.lang.Boolean value)
      Sets the value of the u property.
      Parameters:
      value - allowed object is Boolean
    • isF

      public java.lang.Boolean isF()
      Gets the value of the f property.
      Returns:
      possible object is Boolean
    • setF

      public void setF​(java.lang.Boolean value)
      Sets the value of the f property.
      Parameters:
      value - allowed object is Boolean
    • getC

      public java.lang.String getC()
      Gets the value of the c property.
      Returns:
      possible object is String
    • setC

      public void setC​(java.lang.String value)
      Sets the value of the c property.
      Parameters:
      value - allowed object is String
    • getCp

      public java.lang.Long getCp()
      Gets the value of the cp property.
      Returns:
      possible object is Long
    • setCp

      public void setCp​(java.lang.Long value)
      Sets the value of the cp property.
      Parameters:
      value - allowed object is Long
    • getIn

      public java.lang.Long getIn()
      Gets the value of the in property.
      Returns:
      possible object is Long
    • setIn

      public void setIn​(java.lang.Long value)
      Sets the value of the in property.
      Parameters:
      value - allowed object is Long
    • getBc

      public byte[] getBc()
      Gets the value of the bc property.
      Returns:
      possible object is String
    • setBc

      public void setBc​(byte[] value)
      Sets the value of the bc property.
      Parameters:
      value - allowed object is String
    • getFc

      public byte[] getFc()
      Gets the value of the fc property.
      Returns:
      possible object is String
    • setFc

      public void setFc​(byte[] value)
      Sets the value of the fc property.
      Parameters:
      value - allowed object is String
    • isI

      public boolean isI()
      Gets the value of the i property.
      Returns:
      possible object is Boolean
    • setI

      public void setI​(java.lang.Boolean value)
      Sets the value of the i property.
      Parameters:
      value - allowed object is Boolean
    • isUn

      public boolean isUn()
      Gets the value of the un property.
      Returns:
      possible object is Boolean
    • setUn

      public void setUn​(java.lang.Boolean value)
      Sets the value of the un property.
      Parameters:
      value - allowed object is Boolean
    • isSt

      public boolean isSt()
      Gets the value of the st property.
      Returns:
      possible object is Boolean
    • setSt

      public void setSt​(java.lang.Boolean value)
      Sets the value of the st property.
      Parameters:
      value - allowed object is Boolean
    • isB

      public boolean isB()
      Gets the value of the b property.
      Returns:
      possible object is Boolean
    • setB

      public void setB​(java.lang.Boolean value)
      Sets the value of the b property.
      Parameters:
      value - allowed object is Boolean
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.