/Prototipo/PrototipoMemoria/src/java/memoria/dataAccess/SpatialDTO.java

http://prototipomemoria.googlecode.com/ · Java · 41 lines · 21 code · 12 blank · 8 comment · 0 complexity · 8c38c1012d9c157381587dff4ffec597 MD5 · raw file

  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package memoria.dataAccess;
  6. import java.util.ArrayList;
  7. import java.util.List;
  8. import memoria.commons.structures.GeoReferenced;
  9. /**
  10. *
  11. * @author diego
  12. */
  13. public class SpatialDTO {
  14. private List<GeoReferenced> geoReferencedData = new ArrayList<GeoReferenced>();
  15. public SpatialDTO() {
  16. }
  17. public List<GeoReferenced> getGeoReferencedData() {
  18. return geoReferencedData;
  19. }
  20. public void setGeoReferencedData(List<GeoReferenced> geoReferencedData) {
  21. this.geoReferencedData = geoReferencedData;
  22. }
  23. public void addGeoReferencedObject(GeoReferenced spatialObject){
  24. this.geoReferencedData.add(spatialObject);
  25. }
  26. public void removeGeoReferencedObject(GeoReferenced spatialObject){
  27. this.geoReferencedData.remove(spatialObject);
  28. }
  29. }