/alaspatial/src/main/java/org/ala/spatial/analysis/index/SPLSpeciesRecord.java

http://alageospatialportal.googlecode.com/ · Java · 40 lines · 11 code · 4 blank · 25 comment · 0 complexity · 9259a20356120c48ba1ee63da8f4485f MD5 · raw file

  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package org.ala.spatial.analysis.index;
  6. import java.io.Serializable;
  7. /**
  8. *
  9. * @author Adam
  10. */
  11. /**
  12. * species record, name and ranking number
  13. *
  14. * @author adam
  15. *
  16. */
  17. class SPLSpeciesRecord implements Serializable {
  18. static final long serialVersionUID = -6084623663963314054L;
  19. /**
  20. * species name
  21. */
  22. public String name;
  23. /**
  24. * species ranking number
  25. */
  26. public int rank;
  27. /**
  28. * constructor
  29. * @param _name as String
  30. * @param _rank as int
  31. */
  32. public SPLSpeciesRecord(String _name, int _rank) {
  33. name = _name;
  34. rank = _rank;
  35. }
  36. }