Revision fa0bbad1
Added by Andreas Müller almost 8 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/DefinedTermBase.java | ||
---|---|---|
73 | 73 |
@XmlType(name = "DefinedTermBase", propOrder = { |
74 | 74 |
"media", |
75 | 75 |
"vocabulary", |
76 |
"idInVocabulary" |
|
76 |
"idInVocabulary", |
|
77 |
"symbol" |
|
77 | 78 |
}) |
78 | 79 |
@XmlRootElement(name = "DefinedTermBase") |
79 | 80 |
@XmlSeeAlso({ |
... | ... | |
169 | 170 |
// @NullOrNotEmpty |
170 | 171 |
private String idInVocabulary; //the unique identifier/name this term uses in its given vocabulary #3479 |
171 | 172 |
|
172 |
|
|
173 |
@XmlElement(name = "symbol") |
|
174 |
@Column(length=10) |
|
175 |
//the symbol to be used in String representations for this term #5734 |
|
176 |
//this term can be changed by the database instance even if the term is not managed by this instance as it is only for representation and has no semantic or identifying character |
|
177 |
//empty string is explicitly allowed and should be distinguished from NULL! |
|
178 |
private String symbol; |
|
173 | 179 |
|
174 | 180 |
//***************************** CONSTRUCTOR *******************************************/ |
175 | 181 |
|
Also available in: Unified diff
Add symbol and reverseSymbol do DefinedTermBase #5734