Class CTScenario

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

public class CTScenario
extends java.lang.Object
implements Child

Java class for CT_Scenario complex type.

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

 <complexType name="CT_Scenario">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="inputCells" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_InputCells" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="name" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="locked" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="hidden" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="user" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
       <attribute name="comment" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String comment  
    protected java.lang.Long count  
    protected java.lang.Boolean hidden  
    protected java.util.List<CTInputCells> inputCells  
    protected java.lang.Boolean locked  
    protected java.lang.String name  
    protected java.lang.String user  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTScenario()  
  • 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.
    java.lang.String getComment()
    Gets the value of the comment property.
    java.lang.Long getCount()
    Gets the value of the count property.
    java.util.List<CTInputCells> getInputCells()
    Gets the value of the inputCells property.
    java.lang.String getName()
    Gets the value of the name property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    java.lang.String getUser()
    Gets the value of the user property.
    boolean isHidden()
    Gets the value of the hidden property.
    boolean isLocked()
    Gets the value of the locked property.
    void setComment​(java.lang.String value)
    Sets the value of the comment property.
    void setCount​(java.lang.Long value)
    Sets the value of the count property.
    void setHidden​(java.lang.Boolean value)
    Sets the value of the hidden property.
    void setLocked​(java.lang.Boolean value)
    Sets the value of the locked property.
    void setName​(java.lang.String value)
    Sets the value of the name property.
    void setParent​(java.lang.Object parent)  
    void setUser​(java.lang.String value)
    Sets the value of the user property.

    Methods inherited from class java.lang.Object

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

    • inputCells

      protected java.util.List<CTInputCells> inputCells
    • name

      protected java.lang.String name
    • locked

      protected java.lang.Boolean locked
    • hidden

      protected java.lang.Boolean hidden
    • count

      protected java.lang.Long count
    • user

      protected java.lang.String user
    • comment

      protected java.lang.String comment
  • Constructor Details

  • Method Details

    • getInputCells

      public java.util.List<CTInputCells> getInputCells()
      Gets the value of the inputCells 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 inputCells property.

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

          getInputCells().add(newItem);
       

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

    • getName

      public java.lang.String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName​(java.lang.String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • isLocked

      public boolean isLocked()
      Gets the value of the locked property.
      Returns:
      possible object is Boolean
    • setLocked

      public void setLocked​(java.lang.Boolean value)
      Sets the value of the locked property.
      Parameters:
      value - allowed object is Boolean
    • isHidden

      public boolean isHidden()
      Gets the value of the hidden property.
      Returns:
      possible object is Boolean
    • setHidden

      public void setHidden​(java.lang.Boolean value)
      Sets the value of the hidden property.
      Parameters:
      value - allowed object is Boolean
    • getCount

      public java.lang.Long getCount()
      Gets the value of the count property.
      Returns:
      possible object is Long
    • setCount

      public void setCount​(java.lang.Long value)
      Sets the value of the count property.
      Parameters:
      value - allowed object is Long
    • getUser

      public java.lang.String getUser()
      Gets the value of the user property.
      Returns:
      possible object is String
    • setUser

      public void setUser​(java.lang.String value)
      Sets the value of the user property.
      Parameters:
      value - allowed object is String
    • getComment

      public java.lang.String getComment()
      Gets the value of the comment property.
      Returns:
      possible object is String
    • setComment

      public void setComment​(java.lang.String value)
      Sets the value of the comment property.
      Parameters:
      value - allowed object is String
    • 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.