Class CTScenario

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

public class CTScenario extends 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 Details

  • Constructor Details

    • CTScenario

      public CTScenario()
  • Method Details

    • getInputCells

      public 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 String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(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(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(Boolean value)
      Sets the value of the hidden property.
      Parameters:
      value - allowed object is Boolean
    • getCount

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

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

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

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

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

      public void setComment(String value)
      Sets the value of the comment property.
      Parameters:
      value - allowed object is String
    • getParent

      public 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(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.