--- android/TrainInfo/src/dk/thoerup/traininfo/DepartureBean.java 2010/05/03 10:10:36 698 +++ android/TrainInfo/src/dk/thoerup/traininfo/DepartureBean.java 2010/05/03 11:19:18 699 @@ -3,7 +3,7 @@ import java.io.Serializable; import android.content.Context; -import android.content.res.Resources; + public class DepartureBean implements Serializable { @@ -22,6 +22,7 @@ private String location = ""; private String status = ""; private String note = ""; + private String type = ""; public String getTime() { @@ -71,9 +72,16 @@ } public void setNote(String note) { this.note = note; + } + public String getType() { + return type; + } + public void setType(String type) { + this.type = type; } + public String getLastUpdateString(Context cntx) { String minutes = cntx.getString(R.string.departurebean_minutes); String unknown = cntx.getString(R.string.departurebean_unknown);