package org.efidroid.efidroidmanager.types;

public class MountEntry {
    private final int mMountID;
    private final int mParentID;
    private final int mMajor;
    private final int mMinor;
    private final String mRoot;
    private final String mMountPoint;
    private final String mMountOptions;
    private final String mOptionalFields;
    private final String mSeparator;
    private final String mFsType;
    private final String mMountSource;
    private final String mSuperOptions;

    public MountEntry(int mountID, int parentID, int major, int minor, String root, String mountPoint, String mountOptions, String optionalFields, String separator, String fsType, String mountSource, String superOptions) {
        mMountID = mountID;
        mParentID = parentID;
        mMajor = major;
        mMinor = minor;
        mRoot = root;
        mMountPoint = mountPoint;
        mMountOptions = mountOptions;
        mOptionalFields = optionalFields;
        mSeparator = separator;
        mFsType = fsType;
        mMountSource = mountSource;
        mSuperOptions = superOptions;
    }

    public int getMountID() {
        return mMountID;
    }

    public int getParentID() {
        return mParentID;
    }

    public int getMajor() {
        return mMajor;
    }

    public int getMinor() {
        return mMinor;
    }

    public String getRoot() {
        return mRoot;
    }

    public String getMountPoint() {
        return mMountPoint;
    }

    public String getMountOptions() {
        return mMountOptions;
    }

    public String getOptionalFields() {
        return mOptionalFields;
    }

    public String getSeparator() {
        return mSeparator;
    }

    public String getFsType() {
        return mFsType;
    }

    public String getMountSource() {
        return mMountSource;
    }

    public String getSuperOptions() {
        return mSuperOptions;
    }
}
@@ -38,16 +38,73 @@
 types;%0A%0A
+import android.os.Parcel;%0Aimport android.os.Parcelable;%0A%0A
 public c
@@ -119,16 +119,38 @@
 ntEntry 
+implements Parcelable 
 %7B%0A    pr
@@ -1979,10 +1979,1417 @@
 s;%0A    %7D
+%0A%0A    protected MountEntry(Parcel in) %7B%0A        mMountID = in.readInt();%0A        mParentID = in.readInt();%0A        mMajor = in.readInt();%0A        mMinor = in.readInt();%0A        mRoot = in.readString();%0A        mMountPoint = in.readString();%0A        mMountOptions = in.readString();%0A        mOptionalFields = in.readString();%0A        mSeparator = in.readString();%0A        mFsType = in.readString();%0A        mMountSource = in.readString();%0A        mSuperOptions = in.readString();%0A    %7D%0A%0A    public static final Creator%3CMountEntry%3E CREATOR = new Creator%3CMountEntry%3E() %7B%0A        @Override%0A        public MountEntry createFromParcel(Parcel in) %7B%0A            return new MountEntry(in);%0A        %7D%0A%0A        @Override%0A        public MountEntry%5B%5D newArray(int size) %7B%0A            return new MountEntry%5Bsize%5D;%0A        %7D%0A    %7D;%0A%0A    @Override%0A    public int describeContents() %7B%0A        return 0;%0A    %7D%0A%0A    @Override%0A    public void writeToParcel(Parcel dest, int flags) %7B%0A        dest.writeInt(mMountID);%0A        dest.writeInt(mParentID);%0A        dest.writeInt(mMajor);%0A        dest.writeInt(mMinor);%0A        dest.writeString(mRoot);%0A        dest.writeString(mMountPoint);%0A        dest.writeString(mMountOptions);%0A        dest.writeString(mOptionalFields);%0A        dest.writeString(mSeparator);%0A        dest.writeString(mFsType);%0A        dest.writeString(mMountSource);%0A        dest.writeString(mSuperOptions);%0A    %7D
 %0A%7D

make MountEntry parcelable