Revision ee1b78e8
Added by Andreas Müller about 5 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/name/TextualTypeDesignation.java | ||
---|---|---|
39 | 39 |
import eu.etaxonomy.cdm.model.reference.Reference; |
40 | 40 |
|
41 | 41 |
/** |
42 |
* The class representing a typification of one or several {@link TaxonName taxon names} by text only |
|
43 |
* This is for |
|
44 |
* 1. verbatim type citations |
|
45 |
* 2. rapid data entry |
|
46 |
* 3. type information that can not be atomized with current data model |
|
42 |
* The class representing a typification of one or several {@link TaxonName taxon names} by text only.<BR>
|
|
43 |
* This is for<BR>
|
|
44 |
* 1. verbatim type citations<BR>
|
|
45 |
* 2. rapid data entry<BR>
|
|
46 |
* 3. type information that can not be atomized with current data model<BR>
|
|
47 | 47 |
* |
48 | 48 |
* @author a.mueller |
49 | 49 |
* @since 23.01.2019 |
... | ... | |
52 | 52 |
@XmlRootElement(name = "TextualTypeDesignation") |
53 | 53 |
@XmlAccessorType(XmlAccessType.FIELD) |
54 | 54 |
@XmlType(name = "TextualTypeDesignation", propOrder = { |
55 |
// "typeSpecimen" |
|
56 | 55 |
"text", |
57 | 56 |
"isVerbatim" |
58 | 57 |
}) |
... | ... | |
169 | 168 |
return getText().get(language).getText(); |
170 | 169 |
} |
171 | 170 |
|
171 |
|
|
172 |
/** |
|
173 |
* Flag indicating if this textual type designation is a citation (e.g. original citation). |
|
174 |
* This may have influence on the correct formatting of type designations. |
|
175 |
*/ |
|
172 | 176 |
public boolean isVerbatim() { |
173 | 177 |
return isVerbatim; |
174 | 178 |
} |
175 | 179 |
|
176 |
|
|
177 | 180 |
public void setVerbatim(boolean isVerbatim) { |
178 | 181 |
this.isVerbatim = isVerbatim; |
179 | 182 |
} |
Also available in: Unified diff
ref #7470 some javadoc