/** * Project-HomeFlix * * Copyright 2016-2019 <@Seil0> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * */ package kellerkinder.HomeFlix.datatypes; public class DatabaseDataType { private String streamUrl; private String title; private String season; private String episode; private int favorite; private double currentTime; public DatabaseDataType() { // constructor stub } public DatabaseDataType(String streamUrl, String title, String season, String episode, int favorite, double currentTime) { this.streamUrl = streamUrl; this.title = title; this.season = season; this.episode = episode; this.favorite = favorite; this.currentTime = currentTime; } public String getStreamUrl() { return streamUrl; } public void setStreamUrl(String streamUrl) { this.streamUrl = streamUrl; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getSeason() { return season; } public void setSeason(String season) { this.season = season; } public String getEpisode() { return episode; } public void setEpisode(String episode) { this.episode = episode; } public int getFavorite() { return favorite; } public void setFavorite(int favorite) { this.favorite = favorite; } public double getCurrentTime() { return currentTime; } public void setCurrentTime(double currentTime) { this.currentTime = currentTime; } }