Revision f68ba3d9
Added by Anahit Babadshanjan about 15 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/reference/BibtexEntryType.java | ||
---|---|---|
53 | 53 |
private static final long serialVersionUID = 1603469685147239870L; |
54 | 54 |
private static final Logger logger = Logger.getLogger(BibtexEntryType.class); |
55 | 55 |
|
56 |
private static final UUID uuidArticle = UUID.fromString("41fa81b3-40bf-4836-836b-db058cc34a98"); |
|
57 |
private static final UUID uuidBook = UUID.fromString("af45af89-198e-425a-8dac-43b4f967062f"); |
|
58 |
private static final UUID uuidBooklet = UUID.fromString("5870e82f-eaa0-4e93-9592-51998fd65c0b"); |
|
59 |
private static final UUID uuidConference = UUID.fromString("c3eecba0-6946-4a01-81cc-f4e6b0d4bba5"); |
|
60 |
private static final UUID uuidInBook = UUID.fromString("c51d8750-bf8f-4c24-83b3-5e3dcbfe69d6"); |
|
61 |
private static final UUID uuidInCollection = UUID.fromString("0b0b526a-aca4-4797-89b4-cc6621b289ef"); |
|
62 |
private static final UUID uuidInProceedings = UUID.fromString("f7dd5244-4578-4d5a-832e-218e4583a0ba"); |
|
63 |
private static final UUID uuidManual = UUID.fromString("a4cc1915-c2b5-4119-984b-5fe3aeb50e4b"); |
|
64 |
private static final UUID uuidMasterThesis = UUID.fromString("72a51d0b-6bb3-4a7e-8d7c-6ec17d287ad3"); |
|
65 |
private static final UUID uuidMisc = UUID.fromString("eeaa8711-28f2-4a9b-99a4-644dd99375b4"); |
|
66 |
private static final UUID uuidPhdThesis = UUID.fromString("6d0fcc2f-7aa1-4e53-b4b7-a3712776e78d"); |
|
67 |
private static final UUID uuidProceedings = UUID.fromString("aad4bf47-6b8d-496e-b302-71926f4ef643"); |
|
68 |
private static final UUID uuidTechReport = UUID.fromString("5ac0aec5-116d-4a54-be5a-5ea58177c365"); |
|
69 |
private static final UUID uuidUnpublished = UUID.fromString("8d06ec29-e138-4e9e-9fc0-5b484c423e53"); |
|
70 |
|
|
56 | 71 |
protected static Map<UUID, BibtexEntryType> termMap = null; |
57 | 72 |
|
58 | 73 |
// ************* CONSTRUCTORS *************/ |
... | ... | |
117 | 132 |
* {@link StrictReferenceBase StrictReferenceBase}. |
118 | 133 |
*/ |
119 | 134 |
public static final BibtexEntryType ARTICLE(){ |
120 |
return null;
|
|
135 |
return getTermByUuid(uuidArticle);
|
|
121 | 136 |
} |
122 | 137 |
|
123 | 138 |
/** |
... | ... | |
129 | 144 |
* {@link StrictReferenceBase StrictReferenceBase}. |
130 | 145 |
*/ |
131 | 146 |
public static final BibtexEntryType BOOK(){ |
132 |
return null;
|
|
147 |
return getTermByUuid(uuidBook);
|
|
133 | 148 |
} |
134 | 149 |
|
135 | 150 |
/** |
... | ... | |
141 | 156 |
* {@link StrictReferenceBase StrictReferenceBase}. |
142 | 157 |
*/ |
143 | 158 |
public static final BibtexEntryType BOOKLET(){ |
144 |
return null;
|
|
159 |
return getTermByUuid(uuidBooklet);
|
|
145 | 160 |
} |
146 | 161 |
|
147 | 162 |
/** |
... | ... | |
154 | 169 |
* {@link StrictReferenceBase StrictReferenceBase}. |
155 | 170 |
*/ |
156 | 171 |
public static final BibtexEntryType INBOOK(){ |
157 |
return null;
|
|
172 |
return getTermByUuid(uuidInBook);
|
|
158 | 173 |
} |
159 | 174 |
|
160 | 175 |
/** |
... | ... | |
166 | 181 |
* {@link StrictReferenceBase StrictReferenceBase}. |
167 | 182 |
*/ |
168 | 183 |
public static final BibtexEntryType INCOLLECTION(){ |
169 |
return null;
|
|
184 |
return getTermByUuid(uuidInCollection);
|
|
170 | 185 |
} |
171 | 186 |
|
172 | 187 |
/** |
... | ... | |
177 | 192 |
* {@link StrictReferenceBase StrictReferenceBase}. |
178 | 193 |
*/ |
179 | 194 |
public static final BibtexEntryType PROCEEDINGS(){ |
180 |
return null;
|
|
195 |
return getTermByUuid(uuidProceedings);
|
|
181 | 196 |
} |
182 | 197 |
|
183 | 198 |
/** |
... | ... | |
191 | 206 |
* @see #CONFERENCE() |
192 | 207 |
*/ |
193 | 208 |
public static final BibtexEntryType INPROCEEDINGS(){ |
194 |
return null;
|
|
209 |
return getTermByUuid(uuidInProceedings);
|
|
195 | 210 |
} |
196 | 211 |
|
197 | 212 |
/** |
... | ... | |
204 | 219 |
* @see #INPROCEEDINGS() |
205 | 220 |
*/ |
206 | 221 |
public static final BibtexEntryType CONFERENCE(){ |
207 |
return null;
|
|
222 |
return getTermByUuid(uuidConference);
|
|
208 | 223 |
} |
209 | 224 |
|
210 | 225 |
/** |
... | ... | |
215 | 230 |
* {@link StrictReferenceBase StrictReferenceBase}. |
216 | 231 |
*/ |
217 | 232 |
public static final BibtexEntryType MANUAL(){ |
218 |
return null;
|
|
233 |
return getTermByUuid(uuidManual);
|
|
219 | 234 |
} |
220 | 235 |
|
221 | 236 |
/** |
... | ... | |
226 | 241 |
* {@link StrictReferenceBase StrictReferenceBase}. |
227 | 242 |
*/ |
228 | 243 |
public static final BibtexEntryType MASTERTHESIS(){ |
229 |
return null;
|
|
244 |
return getTermByUuid(uuidMasterThesis);
|
|
230 | 245 |
} |
231 | 246 |
|
232 | 247 |
/** |
... | ... | |
237 | 252 |
* {@link StrictReferenceBase StrictReferenceBase}. |
238 | 253 |
*/ |
239 | 254 |
public static final BibtexEntryType PHDTHESIS(){ |
240 |
return null;
|
|
255 |
return getTermByUuid(uuidPhdThesis);
|
|
241 | 256 |
} |
242 | 257 |
|
243 | 258 |
/** |
... | ... | |
249 | 264 |
* {@link StrictReferenceBase StrictReferenceBase}. |
250 | 265 |
*/ |
251 | 266 |
public static final BibtexEntryType TECHREPORT(){ |
252 |
return null;
|
|
267 |
return getTermByUuid(uuidTechReport);
|
|
253 | 268 |
} |
254 | 269 |
|
255 | 270 |
/** |
... | ... | |
261 | 276 |
* {@link StrictReferenceBase StrictReferenceBase}. |
262 | 277 |
*/ |
263 | 278 |
public static final BibtexEntryType UNPUBLISHED(){ |
264 |
return null;
|
|
279 |
return getTermByUuid(uuidUnpublished);
|
|
265 | 280 |
} |
266 | 281 |
|
267 | 282 |
/** |
... | ... | |
272 | 287 |
* {@link StrictReferenceBase StrictReferenceBase}. |
273 | 288 |
*/ |
274 | 289 |
public static final BibtexEntryType MISC(){ |
275 |
return null;
|
|
290 |
return getTermByUuid(uuidMisc);
|
|
276 | 291 |
} |
277 | 292 |
|
278 | 293 |
protected static BibtexEntryType getTermByUuid(UUID uuid){ |
Also available in: Unified diff
#445: Added missing term vocabularies