Project

General

Profile

Revision 88839ba7

ID88839ba7874981cf49b316c6bc7a5cdc453d720b
Parent f0c2dbeb
Child ada368c1

Added by Andreas Müller almost 3 years ago

cleanup

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/occurrence/SpecimenOrObservationType.java
309 309

  
310 310
	// *************************** DELEGATE **************************************/
311 311

  
312
		private static EnumeratedTermVoc<SpecimenOrObservationType> delegateVoc;
313
		private IEnumTerm<SpecimenOrObservationType> delegateVocTerm;
312
	private static EnumeratedTermVoc<SpecimenOrObservationType> delegateVoc;
313
	private IEnumTerm<SpecimenOrObservationType> delegateVocTerm;
314 314

  
315
		static {
316
			delegateVoc = EnumeratedTermVoc.getVoc(SpecimenOrObservationType.class);
317
		}
318

  
319
		@Override
320
		public String getKey(){return delegateVocTerm.getKey();}
321

  
322
		@Override
323
	    public String getMessage(){return delegateVocTerm.getMessage();}
324

  
325
		@Override
326
	    public String getMessage(Language language){return delegateVocTerm.getMessage(language);}
315
	static {
316
		delegateVoc = EnumeratedTermVoc.getVoc(SpecimenOrObservationType.class);
317
	}
327 318

  
319
	@Override
320
	public String getKey(){return delegateVocTerm.getKey();}
328 321

  
329
		@Override
330
	    public UUID getUuid() {return delegateVocTerm.getUuid();}
322
	@Override
323
    public String getMessage(){return delegateVocTerm.getMessage();}
331 324

  
332
		@Override
333
	    public SpecimenOrObservationType getKindOf() {return delegateVocTerm.getKindOf();}
325
	@Override
326
    public String getMessage(Language language){return delegateVocTerm.getMessage(language);}
334 327

  
335
		@Override
336
	    public Set<SpecimenOrObservationType> getGeneralizationOf() {return delegateVocTerm.getGeneralizationOf();}
337 328

  
338
		@Override
339
		public boolean isKindOf(SpecimenOrObservationType ancestor) {return delegateVocTerm.isKindOf(ancestor);	}
329
	@Override
330
    public UUID getUuid() {return delegateVocTerm.getUuid();}
340 331

  
341
		@Override
342
	    public Set<SpecimenOrObservationType> getGeneralizationOf(boolean recursive) {return delegateVocTerm.getGeneralizationOf(recursive);}
332
	@Override
333
    public SpecimenOrObservationType getKindOf() {return delegateVocTerm.getKindOf();}
343 334

  
344
		public static SpecimenOrObservationType getByKey(String key){return delegateVoc.getByKey(key);}
345
	    public static SpecimenOrObservationType getByUuid(UUID uuid) {return delegateVoc.getByUuid(uuid);}
335
	@Override
336
    public Set<SpecimenOrObservationType> getGeneralizationOf() {return delegateVocTerm.getGeneralizationOf();}
346 337

  
338
	@Override
339
	public boolean isKindOf(SpecimenOrObservationType ancestor) {return delegateVocTerm.isKindOf(ancestor);	}
347 340

  
341
	@Override
342
    public Set<SpecimenOrObservationType> getGeneralizationOf(boolean recursive) {return delegateVocTerm.getGeneralizationOf(recursive);}
348 343

  
344
	public static SpecimenOrObservationType getByKey(String key){return delegateVoc.getByKey(key);}
345
    public static SpecimenOrObservationType getByUuid(UUID uuid) {return delegateVoc.getByUuid(uuid);}
349 346

  
350 347
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)