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 va2 s . c o m /** * A model class representing a speech. * @author Ryan Yosua * */ public class Speech { private final long id; private String title; private int order; public Speech(long id, String title) { this.id = id; this.title = title; this.order = (int)id; } public long getId() { return id; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } 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 title; } }