public class Field
Document field.
public Field(@NotNull
io.scanbot.genericdocument.entity.Field.Type type,
@Nullable
OcrResult value,
@Nullable
android.graphics.Bitmap image,
@Nullable
ValidationStatus validationStatus)
Document field.
type - the type of the field.value - optional value of the field. Applicable only to text fields.image - image crop of the field.validationStatus - field validation status. Applicable only to fields that support some kind of validation.@NotNull public io.scanbot.genericdocument.entity.Field.Type getType()
the type of the field.
@Nullable public OcrResult getValue()
optional value of the field.
Applicable only to text fields.
@Nullable public android.graphics.Bitmap getImage()
image crop of the field.
@Nullable public ValidationStatus getValidationStatus()
field validation status.
Applicable only to fields that support some kind of validation.
@NotNull public io.scanbot.genericdocument.entity.Field.Type component1()
the type of the field.
@Nullable public OcrResult component2()
optional value of the field.
Applicable only to text fields.
@Nullable public android.graphics.Bitmap component3()
image crop of the field.
@Nullable public ValidationStatus component4()
field validation status.
Applicable only to fields that support some kind of validation.
@NotNull public Field copy(@NotNull io.scanbot.genericdocument.entity.Field.Type type, @Nullable OcrResult value, @Nullable android.graphics.Bitmap image, @Nullable ValidationStatus validationStatus)
Document field.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)