update javadoc for clarification about non-literal lists

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1749133 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-06-19 06:23:57 +00:00
parent 09c37d43e5
commit 41517168f9
2 changed files with 7 additions and 3 deletions

View File

@ -37,6 +37,12 @@ public interface DataValidationConstraint {
*/
public abstract void setOperator(int operator);
/**
* If validation type is {@link ValidationType#LIST}
* and <code>formula1</code> was comma-separated literal values rather than a range or named range,
* returns list of literal values.
* Otherwise returns <code>null</code>.
*/
public abstract String[] getExplicitListValues();
public abstract void setExplicitListValues(String[] explicitListValues);

View File

@ -90,9 +90,7 @@ public class XSSFDataValidationConstraint implements DataValidationConstraint {
}
}
/**
* If validation type is {@link org.apache.poi.ss.usermodel.DataValidationConstraint.ValidationType#LIST}, returns list of literal values.
* Otherwise returns <code>null</code>.
/* (non-Javadoc)
* @see org.apache.poi.ss.usermodel.DataValidationConstraint#getExplicitListValues()
*/
public String[] getExplicitListValues() {