1
|
/**
|
2
|
* Copyright (C) 2007 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
|
|
10
|
package eu.etaxonomy.cdm.strategy;
|
11
|
|
12
|
|
13
|
/**
|
14
|
*
|
15
|
* @author a.kohlbecker
|
16
|
* @author m.doering
|
17
|
* @version 1.0
|
18
|
* @created 11.12.2007 12:11:19
|
19
|
*
|
20
|
*/
|
21
|
public class TaggedText {
|
22
|
|
23
|
private String text;
|
24
|
private TagEnum type;
|
25
|
|
26
|
public String getText() {
|
27
|
return text;
|
28
|
}
|
29
|
public void setText(String text) {
|
30
|
this.text = text;
|
31
|
}
|
32
|
public TagEnum getType() {
|
33
|
return type;
|
34
|
}
|
35
|
public void setType(TagEnum type) {
|
36
|
this.type = type;
|
37
|
}
|
38
|
public TaggedText() {
|
39
|
super();
|
40
|
}
|
41
|
public TaggedText(String text) {
|
42
|
super();
|
43
|
this.text = text;
|
44
|
}
|
45
|
public TaggedText(TagEnum type, String text) {
|
46
|
super();
|
47
|
this.text = text;
|
48
|
this.type = type;
|
49
|
}
|
50
|
|
51
|
}
|