1
|
/**
|
2
|
* Copyright (C) 2017 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.vaadin.model;
|
10
|
|
11
|
public class EntityReference {
|
12
|
int id;
|
13
|
String label;
|
14
|
|
15
|
public EntityReference(int id, String label) {
|
16
|
this.id = id;
|
17
|
this.label = label;
|
18
|
}
|
19
|
|
20
|
public int getId() {
|
21
|
return id;
|
22
|
}
|
23
|
|
24
|
public String getLabel() {
|
25
|
return label;
|
26
|
}
|
27
|
}
|