Revision 2d981b4e
Added by Andreas Kohlbecker about 7 years ago
src/main/java/eu/etaxonomy/cdm/mock/Registration.java | ||
---|---|---|
56 | 56 |
public Registration() { |
57 | 57 |
super(); |
58 | 58 |
status = RegistrationStatus.values()[(int) (Math.random() * RegistrationStatus.values().length)]; |
59 |
specificIdentifier = Integer.toString(idAutoincrement++); |
|
59 |
setId(idAutoincrement++); |
|
60 |
specificIdentifier = Integer.toString(getId()); |
|
60 | 61 |
identifier = "http://pyhcobank.org/" + specificIdentifier; |
61 | 62 |
registrationDate = DateTime.now(); |
62 | 63 |
} |
Also available in: Unified diff
ref #6169 RegistrationWorkingSets more complete, validation problems accessible via UI