Revision 5e97d775
Added by Andreas Kohlbecker over 6 years ago
src/main/java/eu/etaxonomy/cdm/vaadin/model/registration/SpecimenTypeDesignationWorkingSetDTO.java | ||
---|---|---|
57 | 57 |
super(); |
58 | 58 |
this.owner = owner; |
59 | 59 |
this.baseEntity = baseEntity; |
60 |
if(citation == null){ |
|
61 |
throw new NullPointerException("citation must not be null"); |
|
62 |
} |
|
63 |
if(typifiedName == null){ |
|
64 |
throw new NullPointerException("typifiedName must not be null"); |
|
65 |
} |
|
60 | 66 |
this.citation = citation; |
61 | 67 |
this.typifiedName = typifiedName; |
62 | 68 |
if(baseEntity instanceof FieldUnit){ |
Also available in: Unified diff
solving multiple representation probelms when adding source references to MediaSpecimen