-
- All Implemented Interfaces:
-
android.os.Parcelable
public class SpecificExtraction extends Extraction
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<SpecificExtraction>CREATORpublic final static Parcelable.Creator<Extraction>CREATORpublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
Constructors Constructor Description SpecificExtraction(String name, String value, String entity, Box box, List<Extraction> candidates)Value object for a specific extraction from the Gini API.
-
Method Summary
Modifier and Type Method Description StringgetName()List<Extraction>getCandidate()intdescribeContents()voidwriteToParcel(Parcel dest, int flags)-
Methods inherited from class net.gini.android.core.api.models.Extraction
getBox, getEntity, getValue, isDirty, setBox, setIsDirty, setValue -
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SpecificExtraction
SpecificExtraction(String name, String value, String entity, Box box, List<Extraction> candidates)
Value object for a specific extraction from the Gini API.- Parameters:
name- The specific extraction's name, e.g.value- The extraction's value.entity- The extraction's entity.box- Optional the box where the extraction is found.candidates- A list containing other candidates for this specific extraction.
-
-
Method Detail
-
getCandidate
List<Extraction> getCandidate()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-