Back to project page box-android-sdk-v2.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRI...
If you think the Android project box-android-sdk-v2 listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.box.boxandroidlibv2.dao; //w ww.j a v a 2 s . c o m import java.util.Map; import android.os.Parcel; import android.os.Parcelable; import com.box.boxjavalibv2.dao.BoxItemPermissions; public class BoxAndroidItemPermissions extends BoxItemPermissions implements Parcelable { public BoxAndroidItemPermissions() { super(); } private BoxAndroidItemPermissions(Parcel in) { super(new BoxParcel(in)); } /** * Copy constructor, this does deep copy for all the fields. * * @param obj */ public BoxAndroidItemPermissions(BoxAndroidItemPermissions obj) { super(obj); } /** * Instantiate the object from a map. Each entry in the map reflects to a field. * * @param map */ public BoxAndroidItemPermissions(Map<String, Object> map) { super(map); } @Override public int describeContents() { return 0; } @Override public void writeToParcel(Parcel dest, int flags) { super.writeToParcel(new BoxParcel(dest), flags); } public static final Parcelable.Creator<BoxAndroidItemPermissions> CREATOR = new Parcelable.Creator<BoxAndroidItemPermissions>() { @Override public BoxAndroidItemPermissions createFromParcel(Parcel source) { return new BoxAndroidItemPermissions(source); } @Override public BoxAndroidItemPermissions[] newArray(int size) { return new BoxAndroidItemPermissions[size]; } }; }