Class Extraction

  • All Implemented Interfaces:
    android.os.Parcelable
    Direct Known Subclasses:
    SpecificExtraction

    public class Extraction
    extends java.lang.Object
    implements android.os.Parcelable
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<Extraction> CREATOR  
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Extraction​(android.os.Parcel in)  
        Extraction​(java.lang.String value, java.lang.String entity, Box box)
      Value object for an extraction from the Gini API.
    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<Extraction> CREATOR
    • Constructor Detail

      • Extraction

        public Extraction​(java.lang.String value,
                          java.lang.String entity,
                          @Nullable
                          Box box)
        Value object for an extraction from the Gini API.
        Parameters:
        value - The extraction's value. Changing this value marks the extraction as dirty.
        entity - The extraction's entity.
        box - Optional the box where the extraction is found. Only available on some extractions. Changing this value marks the extraction as dirty.
      • Extraction

        protected Extraction​(android.os.Parcel in)
    • Method Detail

      • getValue

        public java.lang.String getValue()
      • setValue

        public void setValue​(java.lang.String newValue)
      • getEntity

        public java.lang.String getEntity()
      • getBox

        public Box getBox()
      • setBox

        public void setBox​(Box newBox)
      • isDirty

        public boolean isDirty()
      • setIsDirty

        public void setIsDirty​(boolean isDirty)
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable