Interface OCRResult.OCRResultField
- All Superinterfaces:
DocumentFieldRepresentation
- All Known Implementing Classes:
ResultFieldImpl
- Enclosing interface:
OCRResult
Resultado da leitura de um campo especifico de um documento
- Author:
- eduardo
-
Method Summary
Methods inherited from interface DocumentFieldRepresentation
getFieldId, getFieldType, getValue, getValueAsDate, getValueAsDecimal, getValueAsNumber, getValueAsString, valueAsBoolean
-
Method Details
-
status
OCRResult.FieldResultStatus status()Status da leitura do Campo- Returns:
-
isEmpty
boolean isEmpty()Determina se o campo nao possui nenhum valor- Specified by:
isEmptyin interfaceDocumentFieldRepresentation- Returns:
-
rawValue
String rawValue()Retorna o valor literal obtido pelo servico de OCR (antes de qualquer parsing)- Returns:
-
convertedValue
Serializable convertedValue()Obtem o valor parseado apos as validacoes e regras- Returns:
-