protected SchoolModel(Parcel in) { this.id = (Integer) in.readValue(Integer.class.getClassLoader()); this.name = in.readString(); this.type = in.readString(); this.relegious = in.readString(); long tmpEstablished = in.readLong(); this.established = tmpEstablished == -1 ? null : new Date(tmpEstablished); this.active = in.readByte() != 0; this.gradeFrom = (Byte) in.readValue(Byte.class.getClassLoader()); this.gradeTo = (Byte) in.readValue(Byte.class.getClassLoader()); this.website = in.readString(); this.gender = in.readString(); this.crestUrl = in.readString(); this.slogan = in.readString(); this.street = in.readString(); this.city = in.readString(); this.state = in.readString(); this.countrycode = in.readString(); this.zip = in.readString(); this.longitude = (Double) in.readValue(Double.class.getClassLoader()); this.latitude = (Double) in.readValue(Double.class.getClassLoader()); long tmpAuCreatedDt = in.readLong(); this.auCreatedDt = tmpAuCreatedDt == -1 ? null : new Date(tmpAuCreatedDt); long tmpAuUpdatedDt = in.readLong(); this.auUpdatedDt = tmpAuUpdatedDt == -1 ? null : new Date(tmpAuUpdatedDt); this.listOfSchoolDetail = new ArrayList<SchoolDetailModel>(); in.readList(this.listOfSchoolDetail, List.class.getClassLoader()); this.contactNumber = in.readString(); this.email = in.readString(); }
protected GradeEntry(Parcel in) { this.name = in.readString(); this.grade = (Double) in.readValue(Double.class.getClassLoader()); this.examId = in.readString(); this.semester = in.readString(); this.state = in.readString(); this.creditPoints = (Double) in.readValue(Double.class.getClassLoader()); this.annotation = in.readString(); this.attempt = in.readString(); this.examDate = in.readString(); this.tester = in.readString(); this.hash = in.readString(); this.overviewPossible = (Boolean) in.readValue(Boolean.class.getClassLoader()); this.seen = (Integer) in.readValue(Integer.class.getClassLoader()); this.overviewFailedOnFirstTry = (Boolean) in.readValue(Boolean.class.getClassLoader()); this.weight = (Double) in.readValue(Double.class.getClassLoader()); this.hidden = (Boolean) in.readValue(Boolean.class.getClassLoader()); this.modifiedName = in.readString(); this.modifiedGrade = (Double) in.readValue(Double.class.getClassLoader()); this.modifiedExamId = in.readString(); this.modifiedState = in.readString(); this.modifiedCreditPoints = (Double) in.readValue(Double.class.getClassLoader()); this.modifiedAnnotation = in.readString(); this.modifiedAttempt = in.readString(); this.modifiedExamDate = in.readString(); this.modifiedTester = in.readString(); this.modifiedSemester = in.readString(); this.generatedId = in.readString(); this.overviewId = (Long) in.readValue(Long.class.getClassLoader()); }
protected WalletTransaction(Parcel in) { this.id = (Long) in.readValue(Long.class.getClassLoader()); this.name = in.readString(); this.date = in.readString(); this.price = (Float) in.readValue(Float.class.getClassLoader()); this.action = in.readInt(); this.login_id = (Long) in.readValue(Long.class.getClassLoader()); }
public Brand createFromParcel(Parcel in) { Brand instance = new Brand(); instance.id = ((Integer) in.readValue((Integer.class.getClassLoader()))); instance.key = ((String) in.readValue((String.class.getClassLoader()))); instance.name = ((String) in.readValue((String.class.getClassLoader()))); instance.title = ((String) in.readValue((String.class.getClassLoader()))); return instance; }
/** Constructor called from {@link #CREATOR} */ private SavedState(Parcel in) { super(in); mSerializedPattern = in.readString(); mDisplayMode = in.readInt(); mInputEnabled = (Boolean) in.readValue(null); mInStealthMode = (Boolean) in.readValue(null); mTactileFeedbackEnabled = (Boolean) in.readValue(null); }
protected NetAtmoModule(Parcel in) { this.moduleName = in.readString(); this.type = in.readString(); this.firmware = (Integer) in.readValue(Integer.class.getClassLoader()); this.lastMessage = (Integer) in.readValue(Integer.class.getClassLoader()); this.lastSeen = (Integer) in.readValue(Integer.class.getClassLoader()); this.rfStatus = (Integer) in.readValue(Integer.class.getClassLoader()); this.batteryVp = (Integer) in.readValue(Integer.class.getClassLoader()); }
/** * Teach the WeekendPlannerResponse how to create itself from a parcel created in writeToParcel() */ @SuppressWarnings("unchecked") public WeekendPlannerResponse(Parcel source) { mTripVariants = (List<TripVariant>) source.readValue(null); mInitBudget = source.readDouble(); mOriginCity = (City) source.readValue(null); mDestinationCity = (City) source.readValue(null); mFlight = (Flight) source.readValue(null); mWeather = (List<Weather>) source.readValue(null); }
/** @param source */ private Reply(Parcel source) { Log.d("Parcealbe", "ParcelData(Parcel source): time to put back parcel data"); textComment = source.readString(); aUser = (User) source.readValue(getClass().getClassLoader()); aPicture = (Bitmap) source.readValue(getClass().getClassLoader()); timeStamp = (Calendar) source.readSerializable(); parentID = source.readString(); ID = source.readString(); likes = source.readInt(); }
@Override public ProcessedNotification createFromParcel(Parcel parcel) { ProcessedNotification notification = new ProcessedNotification(); notification.id = parcel.readInt(); notification.prevId = parcel.readInt(); notification.textChunks = (List<byte[]>) parcel.readValue(getClass().getClassLoader()); notification.vibrated = parcel.readByte() == 1; notification.nextChunkToSend = parcel.readInt(); notification.nativeNotification = parcel.readByte() == 1; notification.source = (PebbleNotification) parcel.readValue(getClass().getClassLoader()); return notification; }
protected Contact(Parcel in) { this.id = (Long) in.readValue(Long.class.getClassLoader()); this.name = in.readString(); this.surname = in.readString(); this.age = in.readString(); this.phoneNumber = in.readString(); }
protected Task(Parcel in) { this.id = (Long) in.readValue(Long.class.getClassLoader()); this._id = in.readString(); this.name = in.readString(); this.description = in.readString(); this.label = in.readParcelable(Label.class.getClassLoader()); }
@Override public DismissIntentAction createFromParcel(Parcel parcel) { String name = (String) parcel.readValue(String.class.getClassLoader()); Intent intent = (Intent) parcel.readParcelable(String.class.getClassLoader()); return new DismissIntentAction(name, intent); }
protected RepeatValues(Parcel in) { super(TYPE_REPEAT); type = in.readInt(); days = new ArrayList<Integer>(); in.readList(days, null); endDate = (Calendar) in.readValue(null); }
aph(Parcel paramParcel) { this.a = paramParcel.readInt(); this.b = paramParcel.readString(); this.c = ((Integer) paramParcel.readValue(null)); this.d = paramParcel.readString(); this.f = paramParcel.readString(); }
protected IntervalValues(Parcel in) { super(TYPE_EVERY); type = in.readInt(); unit = in.readInt(); number = in.readInt(); endDate = (Calendar) in.readValue(null); }
// Implement other parcelable methods to make event parcelable private Event(Parcel in) { this.id = (Integer) in.readValue(Integer.class.getClassLoader()); this.venueID = (Integer) in.readValue(Integer.class.getClassLoader()); this.eventName = in.readString(); this.price = in.readString(); this.date = in.readString(); this.startTime = in.readString(); this.endTime = in.readString(); this.originalImage = in.readString(); this.savedImage = in.readString(); this.ticketsLeft = in.readInt(); this.description = in.readString(); this.venue = in.readParcelable(Venue.class.getClassLoader()); List<Artist> temp = new ArrayList<>(); in.readTypedList(temp, Artist.CREATOR); setArtists(temp); }
private MediaItem(Parcel source) { uriCropped = source.readParcelable(Uri.class.getClassLoader()); uriOrigin = source.readParcelable(Uri.class.getClassLoader()); // byte[] cacheBytes = source.createByteArray(); // cache = BitmapFactory.decodeByteArray(cacheBytes, 0, cacheBytes.length); type = source.readInt(); isChecked = (boolean) source.readValue(Boolean.class.getClassLoader()); }
@Override public PollDeviceCommandsCommand createFromParcel(Parcel source) { return new PollDeviceCommandsCommand( source.readString(), source.readString(), source.readString(), (Integer) source.readValue(CLASS_LOADER)); }
private Movie(Parcel in) { posterPath = in.readString(); // http://stackoverflow.com/questions/6201311/how-to-read-write-a-boolean-when-implementing-the-parcelable-interface adult = (Boolean) in.readValue(null); overview = in.readString(); releaseDate = in.readString(); /* THIS COULD BE A PROBLEM BECAUSE GENEREIDS IS A LIST */ genreIds = in.readArrayList(Integer.class.getClassLoader()); id = in.readInt(); originalTitle = in.readString(); originalLanguage = in.readString(); title = in.readString(); backdropPath = in.readString(); popularity = in.readDouble(); voteCount = in.readInt(); video = (Boolean) in.readValue(null); voteAverage = in.readDouble(); }
public void a(Parcel paramParcel) { a = paramParcel.readArrayList(Event.class.getClassLoader()); b = paramParcel.readArrayList(User.class.getClassLoader()); c = paramParcel.readArrayList(YelpBusiness.class.getClassLoader()); d = ((String) paramParcel.readValue(String.class.getClassLoader())); e = ((String) paramParcel.readValue(String.class.getClassLoader())); f = paramParcel.readInt(); g = paramParcel.createIntArray(); }
protected Item(Parcel in) { id = in.readInt(); name = in.readString(); description = in.readString(); price = in.readFloat(); category = (Category) in.readValue(Category.class.getClassLoader()); category_id = in.readInt(); created_at = in.readString(); updated_at = in.readString(); }
public DropboxSession(Parcel in) { this.APP_KEY = in.readString(); this.SECRET_KEY = in.readString(); this.ACCESS_TYPE = (AccessType) in.readValue(com.dropbox.client2.session.Session.AccessType.class.getClassLoader()); this.storedKey = in.readString(); this.storedSecret = in.readString(); this.binder.retrieveSession(); }
public void readFromParcel(Parcel in) { mName = in.readString(); mDefaultGroup = (Boolean) in.readValue(null); mSoundOverride = in.readParcelable(null); mRingerOverride = in.readParcelable(null); mSoundMode = Mode.valueOf(Mode.class, in.readString()); mRingerMode = Mode.valueOf(Mode.class, in.readString()); mVibrateMode = Mode.valueOf(Mode.class, in.readString()); mLightsMode = Mode.valueOf(Mode.class, in.readString()); }
private Computer(Parcel in) { setScore(in.readInt()); setWins(in.readInt()); setTurn((Boolean) in.readValue(Boolean.class.getClassLoader())); setPlayerSet((Set) in.readParcelable(Set.class.getClassLoader())); ArrayList<Tile> temp = new ArrayList<Tile>(); in.readTypedList(temp, Tile.CREATOR); setHand(temp); setEndTurn((Boolean) in.readValue(Boolean.class.getClassLoader())); setPassTurn((Boolean) in.readValue(Boolean.class.getClassLoader())); tilePlayed = new Tile(); setTilePlayed((Tile) in.readParcelable(Tile.class.getClassLoader())); tileReplaced = new Tile(); setTileReplaced((Tile) in.readParcelable(Tile.class.getClassLoader())); try { setLocationReplaced(in.readString()); } catch (Exception e) { e.printStackTrace(); } }
public LogotipoB(Parcel p) { this.name = p.readString(); this.folder = p.readString(); this.stitches = p.readInt(); this.colors = p.readInt(); this.stops = p.readInt(); this.width = p.readFloat(); this.height = p.readFloat(); this.image = (byte[]) p.readValue(ClassLoader.getSystemClassLoader()); this.lastUpdate = p.readLong(); this.id = p.readLong(); }
protected FeedItem(Parcel in) { this.submissionId = (Long) in.readValue(Long.class.getClassLoader()); this.title = in.readString(); this.by = in.readString(); this.text = in.readString(); this.score = in.readLong(); this.descendants = in.readLong(); this.time = in.readString(); this.shortUrl = in.readString(); this.longUrl = in.readString(); this.letter = in.readString(); this.color = in.readInt(); }
@Override public UserMessagesDownloadedEventCallback createFromParcel(Parcel in) { return new UserMessagesDownloadedEventCallback( (ArrayList<Notification>) in.readValue(CL)); }
public Place(Parcel source) { mLocationCoords = (Geometry) source.readValue(null); mName = source.readString(); mTypes = source.createStringArrayList(); }
protected Event(Parcel in) { this.deviceId = in.readString(); this.dataPayload = in.readString(); this.publishedAt = (Date) in.readValue(Date.class.getClassLoader()); this.timeToLive = (Integer) in.readValue(Integer.class.getClassLoader()); }
protected TvShow(Parcel in) { backdropPath = in.readString(); if (in.readByte() == 0x01) { createdBy = new ArrayList<CreatedBy>(); in.readList(createdBy, CreatedBy.class.getClassLoader()); } else { createdBy = null; } if (in.readByte() == 0x01) { episodeRunTime = new ArrayList<Integer>(); in.readList(episodeRunTime, Integer.class.getClassLoader()); } else { episodeRunTime = null; } firstAirDate = in.readString(); if (in.readByte() == 0x01) { genres = new ArrayList<Genre>(); in.readList(genres, Genre.class.getClassLoader()); } else { genres = null; } homepage = in.readString(); id = in.readByte() == 0x00 ? null : in.readInt(); byte inProductionVal = in.readByte(); inProduction = inProductionVal == 0x02 ? null : inProductionVal != 0x00; if (in.readByte() == 0x01) { languages = new ArrayList<String>(); in.readList(languages, String.class.getClassLoader()); } else { languages = null; } lastAirDate = in.readString(); name = in.readString(); if (in.readByte() == 0x01) { networks = new ArrayList<Network>(); in.readList(networks, Network.class.getClassLoader()); } else { networks = null; } numberOfEpisodes = in.readByte() == 0x00 ? null : in.readInt(); numberOfSeasons = in.readByte() == 0x00 ? null : in.readInt(); if (in.readByte() == 0x01) { originCountry = new ArrayList<String>(); in.readList(originCountry, String.class.getClassLoader()); } else { originCountry = null; } originalLanguage = in.readString(); originalName = in.readString(); overview = in.readString(); popularity = in.readByte() == 0x00 ? null : in.readDouble(); posterPath = in.readString(); if (in.readByte() == 0x01) { productionCompanies = new ArrayList<ProductionCompany>(); in.readList(productionCompanies, ProductionCompany.class.getClassLoader()); } else { productionCompanies = null; } if (in.readByte() == 0x01) { seasons = new ArrayList<Season>(); in.readList(seasons, Season.class.getClassLoader()); } else { seasons = null; } status = in.readString(); type = in.readString(); voteAverage = in.readByte() == 0x00 ? null : in.readDouble(); voteCount = in.readByte() == 0x00 ? null : in.readInt(); credits = (Credits) in.readValue(Credits.class.getClassLoader()); videos = (VideoList) in.readValue(VideoList.class.getClassLoader()); contentRatings = (ContentRatings) in.readValue(ContentRatings.class.getClassLoader()); }