GiniVisionSpecificExtraction

public class GiniVisionSpecificExtraction extends GiniVisionExtraction

Contains a Gini API specific extraction.

A specific extraction assings a semantic property to an extraction and it may contain a list of extraction candidates.

The extraction candidates are other suggestions for this specific extraction (e.g. all amounts on the document). Candidates are of the same entity as the found extraction.

Constructors

GiniVisionSpecificExtraction
Link copied to clipboard
void GiniVisionSpecificExtraction(@NonNull() String name, @NonNull() String value, @NonNull() String entity, @Nullable() GiniVisionBox box, @NonNull() List<GiniVisionExtraction> candidates)
Value object for a specific extraction from the Gini API.

Functions

describeContents
Link copied to clipboard
abstract int describeContents()
int describeContents()
getBox
Link copied to clipboard
synchronized GiniVisionBox getBox()
getCandidates
Link copied to clipboard
List<GiniVisionExtractiongetCandidates()
getEntity
Link copied to clipboard
synchronized String getEntity()
getName
Link copied to clipboard
String getName()
getValue
Link copied to clipboard
synchronized String getValue()
isDirty
Link copied to clipboard
synchronized boolean isDirty()
setBox
Link copied to clipboard
synchronized void setBox(@Nullable() GiniVisionBox newBox)
Set a new bounding box.
setIsDirty
Link copied to clipboard
synchronized void setIsDirty(boolean isDirty)
setValue
Link copied to clipboard
synchronized void setValue(@NonNull() String newValue)
Set a new value for this extraction.
toString
Link copied to clipboard
String toString()
writeToParcel
Link copied to clipboard
abstract void writeToParcel(Parcel p, int p1)
void writeToParcel(Parcel dest, int flags)

Properties

CREATOR
Link copied to clipboard
public final static Parcelable.Creator<GiniVisionSpecificExtractionCREATOR