2018-03-01 15:42:47 +01:00
/ * *
* Project - HomeFlix
*
2019-01-08 17:10:33 +01:00
* Copyright 2016 - 2019 < @Seil0 >
2018-03-01 15:42:47 +01:00
*
* 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 ;
2016-09-09 20:41:20 +02:00
2018-03-05 22:37:32 +01:00
public class FilmTabelDataType {
2019-06-22 21:04:43 +02:00
private String streamUrl ;
private String title ;
private String season ;
private String episode ;
2016-09-09 20:41:20 +02:00
2018-03-09 20:12:03 +01:00
/ * *
2017-03-09 22:26:37 +01:00
* tableData is the data - type of tree - table - view
2018-03-06 20:41:52 +01:00
* @param streamUrl the concrete path to the file or the URL
* @param title title of the film
2017-11-12 19:35:48 +01:00
* @param season season if it ' s a series
* @param episode episode if it ' s a series
2017-03-09 22:26:37 +01:00
* /
2019-06-22 21:04:43 +02:00
public FilmTabelDataType ( String streamUrl , String title , String season , String episode ) {
this . streamUrl = streamUrl ;
this . title = title ;
this . season = season ;
this . episode = episode ;
2018-03-06 20:41:52 +01:00
}
2019-06-22 21:04:43 +02:00
public String getStreamUrl ( ) {
2018-03-06 20:41:52 +01:00
return streamUrl ;
}
2019-06-22 21:04:43 +02:00
public String getTitle ( ) {
2018-03-06 20:41:52 +01:00
return title ;
2016-09-09 20:41:20 +02:00
}
2019-06-22 21:04:43 +02:00
public String getSeason ( ) {
2017-02-02 20:41:38 +01:00
return season ;
2016-09-09 20:41:20 +02:00
}
2019-06-22 21:04:43 +02:00
public String getEpisode ( ) {
2017-02-02 20:41:38 +01:00
return episode ;
2016-10-10 16:55:26 +02:00
}
2019-06-22 21:04:43 +02:00
public void setStreamUrl ( String streamUrl ) {
this . streamUrl = streamUrl ;
2017-03-06 17:59:44 +01:00
}
2017-02-02 20:41:38 +01:00
2019-06-22 21:04:43 +02:00
public void setTitle ( String title ) {
this . title = title ;
2018-03-06 20:41:52 +01:00
}
2016-09-09 20:41:20 +02:00
2019-06-22 21:04:43 +02:00
public void setSeason ( String season ) {
this . season = season ;
2016-09-09 20:41:20 +02:00
}
2019-06-22 21:04:43 +02:00
public void setEpisode ( String episode ) {
this . episode = episode ;
2016-10-10 16:55:26 +02:00
}
2018-03-06 20:41:52 +01:00
2016-09-09 20:41:20 +02:00
}