Class GeneratedObject

    • Constructor Detail

      • GeneratedObject

        public GeneratedObject()
    • Method Detail

      • asDateField

        public DateField asDateField()
        Represent the object as a standard DateField.
        Returns:
        A DateField containing a date value.
      • getPolygon

        public Polygon getPolygon()
        Get the polygon, if present.
        Returns:
        A Polygon.
      • getAsPolygon

        public Polygon getAsPolygon​(String key)
        Get the specified key as a Polygon object.
        Parameters:
        key - Key to retrieve the polygon from.
        Returns:
        A Polygon.
      • getPageId

        public Integer getPageId()
        Get the page ID, if present.
        Returns:
        A page ID, as an integer.
      • getConfidence

        public Double getConfidence()
        Get the confidence score, if present.
        Returns:
        The confidence score, as a double.
      • getIsComputed

        public Boolean getIsComputed()
        Get the information on whether the date field was extracted.
        Returns:
        A boolean representation of the field.