public class CTDataValidation extends 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 Boolean |
allowBlank |
protected String |
error |
protected STDataValidationErrorStyle |
errorStyle |
protected String |
errorTitle |
protected String |
formula1 |
protected String |
formula2 |
protected STDataValidationImeMode |
imeMode |
protected STDataValidationOperator |
operator |
protected String |
prompt |
protected String |
promptTitle |
protected Boolean |
showDropDown |
protected Boolean |
showErrorMessage |
protected Boolean |
showInputMessage |
protected List<String> |
sqref |
protected STDataValidationType |
type |
Constructor and Description |
---|
CTDataValidation() |
Modifier and Type | Method and Description |
---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
String |
getError()
Gets the value of the error property.
|
STDataValidationErrorStyle |
getErrorStyle()
Gets the value of the errorStyle property.
|
String |
getErrorTitle()
Gets the value of the errorTitle property.
|
String |
getFormula1()
Gets the value of the formula1 property.
|
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.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
String |
getPrompt()
Gets the value of the prompt property.
|
String |
getPromptTitle()
Gets the value of the promptTitle property.
|
List<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(Boolean value)
Sets the value of the allowBlank property.
|
void |
setError(String value)
Sets the value of the error property.
|
void |
setErrorStyle(STDataValidationErrorStyle value)
Sets the value of the errorStyle property.
|
void |
setErrorTitle(String value)
Sets the value of the errorTitle property.
|
void |
setFormula1(String value)
Sets the value of the formula1 property.
|
void |
setFormula2(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(Object parent) |
void |
setPrompt(String value)
Sets the value of the prompt property.
|
void |
setPromptTitle(String value)
Sets the value of the promptTitle property.
|
void |
setShowDropDown(Boolean value)
Sets the value of the showDropDown property.
|
void |
setShowErrorMessage(Boolean value)
Sets the value of the showErrorMessage property.
|
void |
setShowInputMessage(Boolean value)
Sets the value of the showInputMessage property.
|
void |
setType(STDataValidationType value)
Sets the value of the type property.
|
protected String formula1
protected String formula2
protected STDataValidationType type
protected STDataValidationErrorStyle errorStyle
protected STDataValidationImeMode imeMode
protected STDataValidationOperator operator
protected Boolean allowBlank
protected Boolean showDropDown
protected Boolean showInputMessage
protected Boolean showErrorMessage
protected String errorTitle
protected String error
protected String promptTitle
protected String prompt
public String getFormula1()
String
public void setFormula1(String value)
value
- allowed object is
String
public String getFormula2()
String
public void setFormula2(String value)
value
- allowed object is
String
public STDataValidationType getType()
STDataValidationType
public void setType(STDataValidationType value)
value
- allowed object is
STDataValidationType
public STDataValidationErrorStyle getErrorStyle()
STDataValidationErrorStyle
public void setErrorStyle(STDataValidationErrorStyle value)
value
- allowed object is
STDataValidationErrorStyle
public STDataValidationImeMode getImeMode()
STDataValidationImeMode
public void setImeMode(STDataValidationImeMode value)
value
- allowed object is
STDataValidationImeMode
public STDataValidationOperator getOperator()
STDataValidationOperator
public void setOperator(STDataValidationOperator value)
value
- allowed object is
STDataValidationOperator
public boolean isAllowBlank()
Boolean
public void setAllowBlank(Boolean value)
value
- allowed object is
Boolean
public boolean isShowDropDown()
Boolean
public void setShowDropDown(Boolean value)
value
- allowed object is
Boolean
public boolean isShowInputMessage()
Boolean
public void setShowInputMessage(Boolean value)
value
- allowed object is
Boolean
public boolean isShowErrorMessage()
Boolean
public void setShowErrorMessage(Boolean value)
value
- allowed object is
Boolean
public String getErrorTitle()
String
public void setErrorTitle(String value)
value
- allowed object is
String
public String getError()
String
public void setError(String value)
value
- allowed object is
String
public String getPromptTitle()
String
public void setPromptTitle(String value)
value
- allowed object is
String
public String getPrompt()
String
public void setPrompt(String value)
value
- allowed object is
String
public List<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 Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent
- The parent object in the object tree.unmarshaller
- The unmarshaller that generated the instance.Copyright © 2007-2019. All Rights Reserved.