public interface ExcelRuleExtractor
| Modifier and Type | Interface and Description |
|---|---|
static class |
ExcelRuleExtractor.FormatException
Invalid format of excel condition sheet.
|
| Modifier and Type | Method and Description |
|---|---|
String |
extractComments(org.apache.poi.ss.usermodel.Row row)
Extracts comments from the row.
|
Set<DataModelCondition> |
extractDataModelCondition(org.apache.poi.ss.usermodel.Sheet sheet)
Extract predicates about presence/absense of each data model objects.
|
String |
extractName(org.apache.poi.ss.usermodel.Row row)
Extract property name from the row.
|
NullityConditionKind |
extractNullityCondition(org.apache.poi.ss.usermodel.Row row)
Extract nullity predicate from the row.
|
String |
extractOptions(org.apache.poi.ss.usermodel.Row row)
Extracts extra options from the row.
|
int |
extractPropertyRowStartIndex(org.apache.poi.ss.usermodel.Sheet sheet)
Extract row index of describing conditions about each property.
|
ValueConditionKind |
extractValueCondition(org.apache.poi.ss.usermodel.Row row)
Extract value predicate from the row.
|
boolean |
supports(org.apache.poi.ss.usermodel.Sheet sheet)
Returns
true iff this extractor supports the sheet. |
boolean supports(org.apache.poi.ss.usermodel.Sheet sheet)
true iff this extractor supports the sheet.sheet - target sheettrue iff this extractor supports the sheet, or false otherwiseIllegalArgumentException - if some parameters were nullSet<DataModelCondition> extractDataModelCondition(org.apache.poi.ss.usermodel.Sheet sheet) throws ExcelRuleExtractor.FormatException
sheet - target sheetExcelRuleExtractor.FormatException - if the sheet format is invalidIllegalArgumentException - if some parameters were nullint extractPropertyRowStartIndex(org.apache.poi.ss.usermodel.Sheet sheet)
throws ExcelRuleExtractor.FormatException
sheet - target sheetExcelRuleExtractor.FormatException - if the sheet format is invalidIllegalArgumentException - if some parameters were nullString extractName(org.apache.poi.ss.usermodel.Row row) throws ExcelRuleExtractor.FormatException
row - source rownull if target cell is blankExcelRuleExtractor.FormatException - if the sheet format is invalidIllegalArgumentException - if some parameters were nullValueConditionKind extractValueCondition(org.apache.poi.ss.usermodel.Row row) throws ExcelRuleExtractor.FormatException
row - source rowExcelRuleExtractor.FormatException - if the sheet format is invalidIllegalArgumentException - if some parameters were nullNullityConditionKind extractNullityCondition(org.apache.poi.ss.usermodel.Row row) throws ExcelRuleExtractor.FormatException
row - source rowExcelRuleExtractor.FormatException - if the sheet format is invalidIllegalArgumentException - if some parameters were nullString extractComments(org.apache.poi.ss.usermodel.Row row) throws ExcelRuleExtractor.FormatException
row - source rowExcelRuleExtractor.FormatException - if the sheet format is invalidIllegalArgumentException - if some parameters were nullString extractOptions(org.apache.poi.ss.usermodel.Row row) throws ExcelRuleExtractor.FormatException
row - source rowExcelRuleExtractor.FormatException - if the sheet format is invalidIllegalArgumentException - if some parameters were nullCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.