Back to project page SpeechWriter.
The source code is released under:
MIT License
If you think the Android project SpeechWriter 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 edu.psu.rcy5017.speechwriter.model; //from w w w .j a v a 2s .c o m /** * A model class representing a note. * @author Ryan Yosua * */ public class Note { private final long id; private final long noteCardID; private String text; private int order; public Note(long id, long noteCardID, String text) { this.id = id; this.noteCardID = noteCardID; this.text = text; this.order = (int)id; } public long getId() { return id; } public String getText() { return text; } public void setText(String text) { this.text = text; } public long getNoteCardID() { return noteCardID; } public int getOrder() { return order; } public void setOrder(int order) { this.order = order; } // Will be used by the ArrayAdapter in the ListView @Override public String toString() { return text; } }