PageRenderTime 24ms CodeModel.GetById 16ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/Prototipo/PrototipoCommons/src/memoria/commons/entities/Municipio.java

http://prototipomemoria.googlecode.com/
Java | 59 lines | 36 code | 15 blank | 8 comment | 0 complexity | aa8649699d9450457ce0dd8b01604f8d MD5 | raw file
 1/*
 2 * To change this template, choose Tools | Templates
 3 * and open the template in the editor.
 4 */
 5
 6package memoria.commons.entities;
 7
 8import memoria.commons.structures.GeoReferenced;
 9import memoria.commons.structures.MultiPolygon;
10
11/**
12 *
13 * @author diego
14 */
15public class Municipio  extends GeoReferenced<MultiPolygon> {
16
17    private String nombre;
18    private String descripcion;
19    private MultiPolygon location;
20
21    @Override
22    public MultiPolygon getSpatialRepresentation() {
23        return location;
24    }
25
26    @Override
27    public String getNombre() {
28        return nombre;
29    }
30
31    @Override
32    public String getDescripcion() {
33        return descripcion;
34    }
35
36    @Override
37    public String getIconName() {
38        return "";
39    }
40
41    public MultiPolygon getLocation() {
42        return location;
43    }
44
45    public void setLocation(MultiPolygon location) {
46        this.location = location;
47    }
48
49    public void setDescripcion(String descripcion) {
50        this.descripcion = descripcion;
51    }
52
53    public void setNombre(String nombre) {
54        this.nombre = nombre;
55    }
56
57    
58
59}