Back to project page UpcomingMoviesMVP.
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 DISTRIBUTION 1. Defi...
If you think the Android project UpcomingMoviesMVP 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.jlmd.android.newfilmsmvp.domain.model; // w ww .j a va 2 s .c o m import android.os.Parcel; import android.os.Parcelable; /** * @author jlmd */ public class Image implements Parcelable { private String lowResolutionImgUrl; private String mediumResolutionImgUrl; private String highResolutionImgUrl; public Image() { // Empty constructor } protected Image(Parcel in) { lowResolutionImgUrl = in.readString(); mediumResolutionImgUrl = in.readString(); highResolutionImgUrl = in.readString(); } public String getLowResolutionImgUrl() { return lowResolutionImgUrl; } public void setLowResolutionImgUrl(String lowResolutionImgUrl) { this.lowResolutionImgUrl = lowResolutionImgUrl; } public String getMediumResolutionImgUrl() { return mediumResolutionImgUrl; } public void setMediumResolutionImgUrl(String mediumResolutionImgUrl) { this.mediumResolutionImgUrl = mediumResolutionImgUrl; } public String getHighResolutionImgUrl() { return highResolutionImgUrl; } public void setHighResolutionImgUrl(String highResolutionImgUrl) { this.highResolutionImgUrl = highResolutionImgUrl; } @Override public int describeContents() { return 0; } @Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(lowResolutionImgUrl); dest.writeString(mediumResolutionImgUrl); dest.writeString(highResolutionImgUrl); } @SuppressWarnings("unused") public static final Parcelable.Creator<Image> CREATOR = new Parcelable.Creator<Image>() { @Override public Image createFromParcel(Parcel in) { return new Image(in); } @Override public Image[] newArray(int size) { return new Image[size]; } }; }