@@ -0,0 +1,2893 @@
+package com.honu.giftwise.data;%0A%0Aimport android.database.Cursor;%0Aimport android.os.Parcel;%0Aimport android.os.Parcelable;%0A%0Apublic class Size implements Parcelable %7B%0A%0A    private String item;%0A%0A    private String size;%0A%0A    private String notes;%0A%0A    private long rawContactId = -1;%0A%0A    private long sizeId = -1;%0A%0A    public Size(String item, String size, String notes) %7B%0A        this.item = item;%0A        this.size = size;%0A        this.notes = notes;%0A    %7D%0A%0A    public Size(long rawContactId) %7B%0A        this.rawContactId = rawContactId;%0A    %7D%0A%0A    public String getItem() %7B%0A        return item;%0A    %7D%0A%0A    public void setItem(String item) %7B%0A        this.item = item;%0A    %7D%0A%0A    public String getSize() %7B%0A        return size;%0A    %7D%0A%0A    public void setSize(String size) %7B%0A        this.size = size;%0A    %7D%0A%0A    public String getNotes() %7B%0A        return notes;%0A    %7D%0A%0A    public void setNotes(String notes) %7B%0A        this.notes = notes;%0A    %7D%0A%0A    public long getRawContactId() %7B%0A        return rawContactId;%0A    %7D%0A%0A    public void setRawContactId(long rawContactId) %7B%0A        this.rawContactId = rawContactId;%0A    %7D%0A%0A    public long getSizeId() %7B%0A        return sizeId;%0A    %7D%0A%0A    public void setSizeId(long sizeId) %7B%0A        this.sizeId = sizeId;%0A    %7D%0A%0A    protected Size(Parcel in) %7B%0A        item = in.readString();%0A        size = in.readString();%0A        notes = in.readString();%0A        rawContactId = in.readLong();%0A        sizeId = in.readLong();%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.writeString(item);%0A        dest.writeString(size);%0A        dest.writeString(notes);%0A        dest.writeLong(rawContactId);%0A        dest.writeLong(sizeId);%0A    %7D%0A%0A    @SuppressWarnings(%22unused%22)%0A    public static final Parcelable.Creator%3CSize%3E CREATOR = new Parcelable.Creator%3CSize%3E() %7B%0A        @Override%0A        public Size createFromParcel(Parcel in) %7B%0A            return new Size(in);%0A        %7D%0A%0A        @Override%0A        public Size%5B%5D newArray(int size) %7B%0A            return new Size%5Bsize%5D;%0A        %7D%0A    %7D;%0A%0A    public static final Size createFromCursor(Cursor cursor) %7B%0A        int sizeId = cursor.getInt(cursor.getColumnIndex(GiftwiseContract.SizeEntry._ID));%0A        int rawContactId = cursor.getInt(cursor.getColumnIndex(GiftwiseContract.SizeEntry.COLUMN_SIZE_RAWCONTACT_ID));%0A        String item = cursor.getString(cursor.getColumnIndex(GiftwiseContract.SizeEntry.COLUMN_SIZE_ITEM_NAME));%0A        String sizeName = cursor.getString(cursor.getColumnIndex(GiftwiseContract.SizeEntry.COLUMN_SIZE_NAME));%0A        String notes = cursor.getString(cursor.getColumnIndex(GiftwiseContract.SizeEntry.COLUMN_SIZE_NOTES));%0A%0A        Size size = new Size(item, sizeName, notes);%0A        size.setSizeId(sizeId);%0A        size.setRawContactId(rawContactId);%0A%0A        return size;%0A    %7D%0A%7D

Create Parcelable for size objects