PageRenderTime 67ms CodeModel.GetById 58ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/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
 6package memoria.dataAccess;
 7
 8import java.util.ArrayList;
 9import java.util.List;
10import memoria.commons.structures.GeoReferenced;
11
12/**
13 *
14 * @author diego
15 */
16public class SpatialDTO {
17
18    private List<GeoReferenced> geoReferencedData = new ArrayList<GeoReferenced>();
19
20    public SpatialDTO() {
21    }
22
23    public List<GeoReferenced> getGeoReferencedData() {
24        return geoReferencedData;
25    }
26
27    public void setGeoReferencedData(List<GeoReferenced> geoReferencedData) {
28        this.geoReferencedData = geoReferencedData;
29    }
30
31    public void addGeoReferencedObject(GeoReferenced spatialObject){
32        this.geoReferencedData.add(spatialObject);
33    }
34
35    public void removeGeoReferencedObject(GeoReferenced spatialObject){
36        this.geoReferencedData.remove(spatialObject);
37    }
38
39
40
41}