PageRenderTime 158ms CodeModel.GetById 154ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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 */
 5package org.ala.spatial.analysis.index;
 6
 7import java.io.Serializable;
 8
 9/**
10 *
11 * @author Adam
12 */
13/**
14 * species record, name and ranking number
15 *
16 * @author adam
17 *
18 */
19class SPLSpeciesRecord implements Serializable {
20
21    static final long serialVersionUID = -6084623663963314054L;
22    /**
23     * species name
24     */
25    public String name;
26    /**
27     * species ranking number
28     */
29    public int rank;
30
31    /**
32     * constructor
33     * @param _name as String
34     * @param _rank as int
35     */
36    public SPLSpeciesRecord(String _name, int _rank) {
37        name = _name;
38        rank = _rank;
39    }
40}