Package com.mindee.parsing.custom
Class ListField
- java.lang.Object
-
- com.mindee.parsing.custom.ListField
-
public class ListField extends Object
A field containing a list of values.
-
-
Constructor Summary
Constructors Constructor Description ListField()
ListField(double confidence, List<ListFieldValue> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
double
getConfidence()
The confidence about the zone of the value extracted.List<String>
getContentsList()
Get all the value contents.String
getContentsString(String separator)
Get all the joined value contents.List<ListFieldValue>
getValues()
List of defined values available in a field.int
hashCode()
boolean
isEmpty()
Returnstrue
if there are no values.String
toString()
-
-
-
Constructor Detail
-
ListField
public ListField()
-
ListField
public ListField(double confidence, List<ListFieldValue> values)
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Returnstrue
if there are no values.- Returns:
true
if there are no values.
-
getContentsList
public List<String> getContentsList()
Get all the value contents.- Returns:
- all the values as a list of strings.
-
getContentsString
public String getContentsString(String separator)
Get all the joined value contents.- Parameters:
separator
- the separator to use between values.- Returns:
- all the values as a single string.
-
getConfidence
public double getConfidence()
The confidence about the zone of the value extracted. A value from 0 to 1.
-
getValues
public List<ListFieldValue> getValues()
List of defined values available in a field.
-
canEqual
protected boolean canEqual(Object other)
-
-