Android Open Source - HorribleSubs-Schedule Anime Item






From Project

Back to project page HorribleSubs-Schedule.

License

The source code is released under:

Copyright (c) 2014, ?hsan I??k All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...

If you think the Android project HorribleSubs-Schedule listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package tr.xip.horriblesubsschedule.database.items;
//from  ww w  .j  a  va  2s  .  co  m
/**
 * Created by Hikari on 8/29/14.
 */
public class AnimeItem {
    private int databaseItemId;
    private String name;
    private String time;
    private int day;

    /**
     * @param name name of the series
     * @param time release time of the series
     */
    public AnimeItem(String name, String time, int day) {
        this.name = name;
        this.time = time;
        this.day = day;
    }

    /**
     * @param databaseItemId _ID in the database
     * @param name           name of the series
     * @param time           release time of the series
     * @param day            release day of the series
     */
    public AnimeItem(int databaseItemId, String name, String time, int day) {
        this.databaseItemId = databaseItemId;
        this.name = name;
        this.time = time;
        this.day = day;
    }

    public int getDatabaseItemId() {
        return databaseItemId;
    }

    public void setDatabaseItemId(int id) {
        this.databaseItemId = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getDay() {
        return day;
    }

    public void setDay(int day) {
        this.day = day;
    }
}




Java Source Code List

tr.xip.horriblesubsschedule.ApplicationTest.java
tr.xip.horriblesubsschedule.MainActivity.java
tr.xip.horriblesubsschedule.ScheduleFragment.java
tr.xip.horriblesubsschedule.ScheduleItemsAdapter.java
tr.xip.horriblesubsschedule.Utils.java
tr.xip.horriblesubsschedule.database.DatabaseHelper.java
tr.xip.horriblesubsschedule.database.DatabaseManager.java
tr.xip.horriblesubsschedule.database.items.AnimeItem.java
tr.xip.horriblesubsschedule.database.tables.AnimeTable.java