package todo;
import java.util.ArrayList;
import java.util.List;
import com.buglabs.bug.module.gps.pub.LatLon;
public class TodoList {
private String name;
private LatLon location;
private final List items = new ArrayList();
public TodoList( final String name, final LatLon location ) {
this.name = name;
this.location = location;
}
public void setName( final String name ) {
this.name = name;
}
public String getName() {
return name;
}
public void setLocation( final LatLon location ) {
this.location = location;
}
public LatLon getLocation() {
return location;
}
public List getItems() {
return items;
}
public void addItem( final String item ) {
items.add( item );
}
public int hashCode() {
return name.hashCode();
}
}