Project

General

Profile

Download (1.33 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2021 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
import eu.etaxonomy.cdm.model.description.FeatureState;
14

    
15
/**
16
 * @author k.luther
17
 * @since 29.11.2021
18
 */
19
public class FeatureStateDto extends UuidAndTitleCache<FeatureState>{
20

    
21
    private static final long serialVersionUID = -240581482613107317L;
22

    
23
    private FeatureDto feature;
24
    private TermDto state;
25

    
26
    /**
27
     * @param uuid
28
     * @param titleCache
29
     */
30
    public FeatureStateDto(UUID uuid, FeatureDto feature, TermDto state) {
31
        super(uuid, "");
32
        this.feature = feature;
33
        this.state = state;
34
    }
35
    /**
36
     * @return the feature
37
     */
38
    public FeatureDto getFeature() {
39
        return feature;
40
    }
41

    
42
    /**
43
     * @param feature the feature to set
44
     */
45
    public void setFeature(FeatureDto feature) {
46
        this.feature = feature;
47
    }
48

    
49
    /**
50
     * @return the state
51
     */
52
    public TermDto getState() {
53
        return state;
54
    }
55

    
56
    /**
57
     * @param state the state to set
58
     */
59
    public void setState(TermDto state) {
60
        this.state = state;
61
    }
62

    
63

    
64

    
65

    
66
}
(8-8/30)