Project

General

Profile

Download (1.93 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2018 EDIT
3
* European Distributed Institute of Taxonomy
4
* http://www.e-taxonomy.eu
5
*
6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7
* See LICENSE.TXT at the top of this package for the full license terms.
8
*/
9
package eu.etaxonomy.cdm.persistence.dto;
10

    
11
import java.util.UUID;
12

    
13
/**
14
 * @author a.kohlbecker
15
 * @since Sep 28, 2018
16
 *
17
 */
18
public class TaxonGraphNodeDTO {
19

    
20
    private UUID nameUuid;
21
    private UUID taxonUuid;
22
    private String name;
23
    private String rank;
24
    private int rankOrderId;
25

    
26

    
27

    
28

    
29
    /**
30
     * @param nameUuid
31
     * @param taxonUuid
32
     * @param titleCache
33
     */
34
    public TaxonGraphNodeDTO(UUID nameUuid, UUID taxonUuid, String name, String rank, int rankOrderId) {
35
        this.nameUuid = nameUuid;
36
        this.taxonUuid = taxonUuid;
37
        this.name = name;
38
        this.rank = rank;
39
        this.setRankOrderId(rankOrderId);
40
    }
41

    
42
    /**
43
     * @return the nameUuid
44
     */
45
    public UUID getNameUuid() {
46
        return nameUuid;
47
    }
48
    /**
49
     * @param nameUuid the nameUuid to set
50
     */
51
    public void setNameUuid(UUID nameUuid) {
52
        this.nameUuid = nameUuid;
53
    }
54
    /**
55
     * @return the taxonUuid
56
     */
57
    public UUID getTaxonUuid() {
58
        return taxonUuid;
59
    }
60
    /**
61
     * @param taxonUuid the taxonUuid to set
62
     */
63
    public void setTaxonUuid(UUID taxonUuid) {
64
        this.taxonUuid = taxonUuid;
65
    }
66

    
67
    public String getName() {
68
        return name;
69
    }
70

    
71
    public void setName(String name) {
72
        this.name = name;
73
    }
74

    
75
    public String getRank() {
76
        return rank;
77
    }
78

    
79
    public void setRank(String rank) {
80
        this.rank = rank;
81
    }
82

    
83
    /**
84
     * @return the rankOrderId
85
     */
86
    public int getRankOrderId() {
87
        return rankOrderId;
88
    }
89

    
90
    /**
91
     * @param rankOrderId the rankOrderId to set
92
     */
93
    public void setRankOrderId(int rankOrderId) {
94
        this.rankOrderId = rankOrderId;
95
    }
96

    
97
}
(18-18/30)