Class ListField


  • public class ListField
    extends Object
    A field containing a list of values.
    • Constructor Detail

      • ListField

        public ListField()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Returns true 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object