Package org.xlsx4j.sml
Class CTScenario
java.lang.Object
org.xlsx4j.sml.CTScenario
- All Implemented Interfaces:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.Gets the value of the comment property.getCount()Gets the value of the count property.Gets the value of the inputCells property.getName()Gets the value of the name property.Gets the parent object in the object tree representing the unmarshalled xml document.getUser()Gets the value of the user property.booleanisHidden()Gets the value of the hidden property.booleanisLocked()Gets the value of the locked property.voidsetComment(String value) Sets the value of the comment property.voidSets the value of the count property.voidSets the value of the hidden property.voidSets the value of the locked property.voidSets the value of the name property.voidvoidSets the value of the user property.
-
Field Details
-
inputCells
-
name
-
locked
-
count
-
user
-
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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
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
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
Sets the value of the hidden property.- Parameters:
value- allowed object isBoolean
-
getCount
Gets the value of the count property.- Returns:
- possible object is
Long
-
setCount
Sets the value of the count property.- Parameters:
value- allowed object isLong
-
getUser
Gets the value of the user property.- Returns:
- possible object is
String
-
setUser
Sets the value of the user property.- Parameters:
value- allowed object isString
-
getComment
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-