public class CTDataValidation extends java.lang.Object implements Child
Java class for CT_DataValidation complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_DataValidation">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="formula1" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" minOccurs="0"/>
<element name="formula2" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Formula" minOccurs="0"/>
</sequence>
<attribute name="type" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DataValidationType" default="none" />
<attribute name="errorStyle" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DataValidationErrorStyle" default="stop" />
<attribute name="imeMode" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DataValidationImeMode" default="noControl" />
<attribute name="operator" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_DataValidationOperator" default="between" />
<attribute name="allowBlank" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="showDropDown" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="showInputMessage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="showErrorMessage" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="errorTitle" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="error" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="promptTitle" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="prompt" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="sqref" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Sqref" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
allowBlank |
protected java.lang.String |
error |
protected STDataValidationErrorStyle |
errorStyle |
protected java.lang.String |
errorTitle |
protected java.lang.String |
formula1 |
protected java.lang.String |
formula2 |
protected STDataValidationImeMode |
imeMode |
protected STDataValidationOperator |
operator |
protected java.lang.String |
prompt |
protected java.lang.String |
promptTitle |
protected java.lang.Boolean |
showDropDown |
protected java.lang.Boolean |
showErrorMessage |
protected java.lang.Boolean |
showInputMessage |
protected java.util.List<java.lang.String> |
sqref |
protected STDataValidationType |
type |
| Constructor and Description |
|---|
CTDataValidation() |
| Modifier and Type | Method and 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 |
getError()
Gets the value of the error property.
|
STDataValidationErrorStyle |
getErrorStyle()
Gets the value of the errorStyle property.
|
java.lang.String |
getErrorTitle()
Gets the value of the errorTitle property.
|
java.lang.String |
getFormula1()
Gets the value of the formula1 property.
|
java.lang.String |
getFormula2()
Gets the value of the formula2 property.
|
STDataValidationImeMode |
getImeMode()
Gets the value of the imeMode property.
|
STDataValidationOperator |
getOperator()
Gets the value of the operator property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
java.lang.String |
getPrompt()
Gets the value of the prompt property.
|
java.lang.String |
getPromptTitle()
Gets the value of the promptTitle property.
|
java.util.List<java.lang.String> |
getSqref()
Gets the value of the sqref property.
|
STDataValidationType |
getType()
Gets the value of the type property.
|
boolean |
isAllowBlank()
Gets the value of the allowBlank property.
|
boolean |
isShowDropDown()
Gets the value of the showDropDown property.
|
boolean |
isShowErrorMessage()
Gets the value of the showErrorMessage property.
|
boolean |
isShowInputMessage()
Gets the value of the showInputMessage property.
|
void |
setAllowBlank(java.lang.Boolean value)
Sets the value of the allowBlank property.
|
void |
setError(java.lang.String value)
Sets the value of the error property.
|
void |
setErrorStyle(STDataValidationErrorStyle value)
Sets the value of the errorStyle property.
|
void |
setErrorTitle(java.lang.String value)
Sets the value of the errorTitle property.
|
void |
setFormula1(java.lang.String value)
Sets the value of the formula1 property.
|
void |
setFormula2(java.lang.String value)
Sets the value of the formula2 property.
|
void |
setImeMode(STDataValidationImeMode value)
Sets the value of the imeMode property.
|
void |
setOperator(STDataValidationOperator value)
Sets the value of the operator property.
|
void |
setParent(java.lang.Object parent) |
void |
setPrompt(java.lang.String value)
Sets the value of the prompt property.
|
void |
setPromptTitle(java.lang.String value)
Sets the value of the promptTitle property.
|
void |
setShowDropDown(java.lang.Boolean value)
Sets the value of the showDropDown property.
|
void |
setShowErrorMessage(java.lang.Boolean value)
Sets the value of the showErrorMessage property.
|
void |
setShowInputMessage(java.lang.Boolean value)
Sets the value of the showInputMessage property.
|
void |
setType(STDataValidationType value)
Sets the value of the type property.
|
protected java.lang.String formula1
protected java.lang.String formula2
protected STDataValidationType type
protected STDataValidationErrorStyle errorStyle
protected STDataValidationImeMode imeMode
protected STDataValidationOperator operator
protected java.lang.Boolean allowBlank
protected java.lang.Boolean showDropDown
protected java.lang.Boolean showInputMessage
protected java.lang.Boolean showErrorMessage
protected java.lang.String errorTitle
protected java.lang.String error
protected java.lang.String promptTitle
protected java.lang.String prompt
protected java.util.List<java.lang.String> sqref
public java.lang.String getFormula1()
Stringpublic void setFormula1(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getFormula2()
Stringpublic void setFormula2(java.lang.String value)
value - allowed object is
Stringpublic STDataValidationType getType()
STDataValidationTypepublic void setType(STDataValidationType value)
value - allowed object is
STDataValidationTypepublic STDataValidationErrorStyle getErrorStyle()
STDataValidationErrorStylepublic void setErrorStyle(STDataValidationErrorStyle value)
value - allowed object is
STDataValidationErrorStylepublic STDataValidationImeMode getImeMode()
STDataValidationImeModepublic void setImeMode(STDataValidationImeMode value)
value - allowed object is
STDataValidationImeModepublic STDataValidationOperator getOperator()
STDataValidationOperatorpublic void setOperator(STDataValidationOperator value)
value - allowed object is
STDataValidationOperatorpublic boolean isAllowBlank()
Booleanpublic void setAllowBlank(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowDropDown()
Booleanpublic void setShowDropDown(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowInputMessage()
Booleanpublic void setShowInputMessage(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isShowErrorMessage()
Booleanpublic void setShowErrorMessage(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getErrorTitle()
Stringpublic void setErrorTitle(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getError()
Stringpublic void setError(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPromptTitle()
Stringpublic void setPromptTitle(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPrompt()
Stringpublic void setPrompt(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<java.lang.String> getSqref()
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 sqref property.
For example, to add a new item, do as follows:
getSqref().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.lang.Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2023. All rights reserved.