PageRenderTime 78ms CodeModel.GetById 31ms RepoModel.GetById 1ms 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
Possible License(s): BSD-3-Clause
  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package memoria.commons.entities;
  6. import memoria.commons.structures.GeoReferenced;
  7. import memoria.commons.structures.MultiPolygon;
  8. /**
  9. *
  10. * @author diego
  11. */
  12. public class Municipio extends GeoReferenced<MultiPolygon> {
  13. private String nombre;
  14. private String descripcion;
  15. private MultiPolygon location;
  16. @Override
  17. public MultiPolygon getSpatialRepresentation() {
  18. return location;
  19. }
  20. @Override
  21. public String getNombre() {
  22. return nombre;
  23. }
  24. @Override
  25. public String getDescripcion() {
  26. return descripcion;
  27. }
  28. @Override
  29. public String getIconName() {
  30. return "";
  31. }
  32. public MultiPolygon getLocation() {
  33. return location;
  34. }
  35. public void setLocation(MultiPolygon location) {
  36. this.location = location;
  37. }
  38. public void setDescripcion(String descripcion) {
  39. this.descripcion = descripcion;
  40. }
  41. public void setNombre(String nombre) {
  42. this.nombre = nombre;
  43. }
  44. }