public class SQLiteLocation {
	private int _id;		//0
	private double _lat;	//1
	private double _lng;	//2
	private String _address;//3
	private String _date;	//4
	private String _time;	//5
	private String _name;	//6
	private String _note;	//7
	private byte[] _picture;//8 blob
	private boolean _favorite;//9 boolean
	private int _fav_pos;	//10 integer
	
	public SQLiteLocation(){}
	
	public SQLiteLocation(int id, double lat, double lng, 
			String address, String date, String time, 
			String name, String note, byte[] picture,
			boolean favorite, int fav_pos){
		this._id = id;
		this._lat = lat;
		this._lng = lng;
		this._address = address;
		this._date = date;
		this._time = time;
		this._name = name;
		this._note = note;
		this._picture = picture;
		this._favorite = favorite;
		this._fav_pos = fav_pos;
	}
	
	public SQLiteLocation(SQLiteLocation pastLoc){
		this._lat = pastLoc.getLat();
		this._lng = pastLoc.getLng();
		this._address = pastLoc.getAddress();
		this._date = pastLoc.getDate();
		this._time = pastLoc.getTime();
		this._name = pastLoc.getName();
		this._picture = pastLoc.getPicture();
		this._note = pastLoc.getNote();
		this._favorite = pastLoc.isFavorite();
		this._fav_pos = pastLoc.getPos();
	}

	public int getId() {
		return _id;
	}

	public void setId(int id) {
		this._id = id;
	}
	
	public double getLat() {
		return _lat;
	}

	public void setStringLat(String lat) {
		this._lat = Double.parseDouble(lat);
	}
	
	public void setDoubleLat(double lat) {
		this._lat = lat;
	}

	public double getLng() {
		return _lng;
	}

	public void setStringLng(String lng) {
		this._lng = Double.parseDouble(lng);
	}
	
	public void setDoubleLng(double lng) {
		this._lng = lng;
	}

	public String getAddress() {
		return _address;
	}

	public void setAddress(String address) {
		this._address = address;
	}

	public String getDate() {
		return _date;
	}

	public void setDate(String date) {
		this._date = date;
	}

	public String getTime() {
		return _time;
	}

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

	public String getName() {
		return _name;
	}

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

	public byte[] getPicture() {
		return _picture;
	}

	public void setPicture(byte[] picture) {
		this._picture = picture;
	}

	public String getNote() {
		return _note;
	}

	public void setNote(String note) {
		this._note = note;
	}

	public boolean isFavorite() {
		return _favorite;
	}

	public void setFavorite(boolean favorite) {
		this._favorite = favorite;
	}
	
	public int getPos() {
		return _fav_pos;
	}
	
	public void setPos(int pos) {
		this._fav_pos = pos;
	}
	
}

@@ -312,46 +312,10 @@
 ean%0A
-%09private int _fav_pos;%09//10 integer%0A
 %09%0A
+
 %09pub
@@ -509,21 +509,8 @@
 rite
-, int fav_pos
 )%7B%0A%09
@@ -734,35 +734,8 @@
 te;%0A
-%09%09this._fav_pos = fav_pos;%0A
 %09%7D%0A%09
@@ -1059,24 +1059,24 @@
 .getNote();%0A
+
 %09%09this._favo
@@ -1108,44 +1108,8 @@
 ();%0A
-%09%09this._fav_pos = pastLoc.getPos();%0A
 %09%7D%0A%0A
@@ -2405,112 +2405,6 @@
 %7D%0A%09%0A
-%09public int getPos() %7B%0A%09%09return _fav_pos;%0A%09%7D%0A%09%0A%09public void setPos(int pos) %7B%0A%09%09this._fav_pos = pos;%0A%09%7D%0A%09%0A
 %7D%0A

Remove FavPos field from Database Object