Project

General

Profile

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

    
12
import java.util.UUID;
13

    
14
/**
15
 * @author a.mueller
16
 * @date 05.07.2016
17
 *
18
 */
19
public class GroupedTaxonDTO {
20

    
21
    private UUID taxonUuid;
22

    
23
    private UUID groupTaxonUuid;
24

    
25
    private String groupTaxonName;
26

    
27
    /**
28
     * @return the taxonUuid
29
     */
30
    public UUID getTaxonUuid() {
31
        return taxonUuid;
32
    }
33

    
34
    /**
35
     * @param taxonUuid the taxonUuid to set
36
     */
37
    public void setTaxonUuid(UUID taxonUuid) {
38
        this.taxonUuid = taxonUuid;
39
    }
40

    
41
    /**
42
     * @return the groupTaxonUuid
43
     */
44
    public UUID getGroupTaxonUuid() {
45
        return groupTaxonUuid;
46
    }
47

    
48
    /**
49
     * @param groupTaxonUuid the groupTaxonUuid to set
50
     */
51
    public void setGroupTaxonUuid(UUID groupTaxonUuid) {
52
        this.groupTaxonUuid = groupTaxonUuid;
53
    }
54

    
55
    /**
56
     * @return the groupTaxonName
57
     */
58
    public String getGroupTaxonName() {
59
        return groupTaxonName;
60
    }
61

    
62
    /**
63
     * @param groupTaxonName the groupTaxonName to set
64
     */
65
    public void setGroupTaxonName(String groupTaxonName) {
66
        this.groupTaxonName = groupTaxonName;
67
    }
68

    
69
//*********************** toString() ***************************/
70
    @Override
71
    public String toString() {
72
        String result = "taxon:" + (taxonUuid == null? "-":taxonUuid.toString())
73
                + "; group:" + (groupTaxonUuid == null? "-":groupTaxonUuid.toString())
74
                + "; group name:" + (groupTaxonName == null? "-":groupTaxonName.toString());
75
        return result;
76
    }
77

    
78

    
79
}
(8-8/10)