Back to project page ShoterHomework.
The source code is released under:
GNU General Public License
If you think the Android project ShoterHomework 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.shoter.data; /*from w w w .j ava 2 s.c o m*/ import java.sql.Date; import android.util.Log; public class SchoolWork { protected boolean isTest; protected Date date; protected String subject; protected String description; protected String author; public SchoolWork( boolean isTest, Date date, String subject, String description, String author) { this.isTest = isTest; this.date = date; this.subject = subject; this.description = description; this.author = author; } public void log() { Log.d("SchoolWork", isTest + " id - " + " " + date + " subject : " + subject + " desc : " + description); } public String getDate() { return date.toString(); } public String getSubject() { return subject; } public String getDescription() { return description; } public String getAuthor() { return author; } }