Package org.xlsx4j.sml
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.Stringcommentprotected java.lang.Longcountprotected java.lang.Booleanhiddenprotected java.util.List<CTInputCells>inputCellsprotected java.lang.Booleanlockedprotected java.lang.Stringnameprotected java.lang.Stringuser -
Constructor Summary
Constructors Constructor Description CTScenario() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.lang.StringgetComment()Gets the value of the comment property.java.lang.LonggetCount()Gets the value of the count property.java.util.List<CTInputCells>getInputCells()Gets the value of the inputCells property.java.lang.StringgetName()Gets the value of the name property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetUser()Gets the value of the user property.booleanisHidden()Gets the value of the hidden property.booleanisLocked()Gets the value of the locked property.voidsetComment(java.lang.String value)Sets the value of the comment property.voidsetCount(java.lang.Long value)Sets the value of the count property.voidsetHidden(java.lang.Boolean value)Sets the value of the hidden property.voidsetLocked(java.lang.Boolean value)Sets the value of the locked property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetParent(java.lang.Object parent)voidsetUser(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
-
name
protected java.lang.String name -
locked
protected java.lang.Boolean locked -
count
protected java.lang.Long count -
user
protected java.lang.String user -
comment
protected java.lang.String comment
-
-
Constructor Details
-
CTScenario
public CTScenario()
-
-
Method Details
-
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
setmethod 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 isString
-
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 isBoolean
-
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 isBoolean
-
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 isLong
-
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 isString
-
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 isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.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.
-