Revision 41d4823b
Added by Patrick Plitzner about 5 years ago
cdmlib-remote/src/main/java/eu/etaxonomy/cdm/remote/l10n/TermRepresentation_L10n.java | ||
---|---|---|
33 | 33 |
|
34 | 34 |
String label = null; |
35 | 35 |
String abbreviatedLabel = null; |
36 |
String text = null; |
|
36 | 37 |
String languageIso = null; |
37 | 38 |
String languageUuid = null; |
38 | 39 |
|
... | ... | |
92 | 93 |
|
93 | 94 |
abbreviatedLabel = representation.getAbbreviatedLabel(); |
94 | 95 |
|
96 |
text = representation.getText(); |
|
97 |
|
|
95 | 98 |
Language lang = representation.getLanguage(); |
96 | 99 |
if (lang != null){ |
97 | 100 |
this.languageIso = lang.getIso639_2(); |
... | ... | |
127 | 130 |
this.abbreviatedLabel = abbreviatedLabel; |
128 | 131 |
} |
129 | 132 |
|
133 |
@Override |
|
134 |
public String getText() { |
|
135 |
return text; |
|
136 |
} |
|
137 |
|
|
138 |
public void setText(String text) { |
|
139 |
this.text = text; |
|
140 |
} |
|
141 |
|
|
142 |
@Override |
|
130 | 143 |
public String getLanguageIso() { |
131 | 144 |
return languageIso; |
132 | 145 |
} |
... | ... | |
135 | 148 |
this.languageIso = languageIso; |
136 | 149 |
} |
137 | 150 |
|
151 |
@Override |
|
138 | 152 |
public String getLanguageUuid() { |
139 | 153 |
return languageUuid; |
140 | 154 |
} |
Also available in: Unified diff
ref #8011 Add representation text to TermDtos