@@ -27,14 +27,14 @@ public class NewAnimalData
2727 private String _dam ;
2828 private String _species ;
2929 private Integer _colony ;
30- private Integer _animalAccount ;
30+ private String _animalAccount ;
3131 private Integer _ownerInstitution ;
3232 private Integer _responsibleInstitution ;
3333 private Integer _room ;
3434 private Integer _cage ;
3535 private Integer _diet ;
3636 private Integer _pedigree ;
37- private Integer _iacuc ;
37+ private String _iacuc ;
3838 private Date _created ;
3939 private Date _modified ;
4040 private Integer _createdBy ;
@@ -94,14 +94,14 @@ public NewAnimalData(Container c, User u, JSONObject json) throws RuntimeExcepti
9494 this .setDam (json .has (NEWANIMAL_DAM ) && !json .isNull (NEWANIMAL_DAM ) ? json .getString (NEWANIMAL_DAM ) : null );
9595 this .setSpecies (json .has (NEWANIMAL_SPECIES ) && !json .isNull (NEWANIMAL_SPECIES ) ? json .getString (NEWANIMAL_SPECIES ) : null );
9696 this .setColony (json .has (NEWANIMAL_COLONY ) && !json .isNull (NEWANIMAL_COLONY ) ? json .getInt (NEWANIMAL_COLONY ) : null );
97- this .setAnimalAccount (json .has (NEWANIMAL_ANIMAL_ACCOUNT ) && !json .isNull (NEWANIMAL_ANIMAL_ACCOUNT ) ? json .getInt (NEWANIMAL_ANIMAL_ACCOUNT ) : null );
97+ this .setAnimalAccount (json .has (NEWANIMAL_ANIMAL_ACCOUNT ) && !json .isNull (NEWANIMAL_ANIMAL_ACCOUNT ) ? json .getString (NEWANIMAL_ANIMAL_ACCOUNT ) : null );
9898 this .setOwnerInstitution (json .has (NEWANIMAL_OWNER_INSTITUTION ) && !json .isNull (NEWANIMAL_OWNER_INSTITUTION ) ? json .getInt (NEWANIMAL_OWNER_INSTITUTION ) : null );
9999 this .setOwnerInstitution (json .has (NEWANIMAL_RESPONSIBLE_INSTITUTION ) && !json .isNull (NEWANIMAL_RESPONSIBLE_INSTITUTION ) ? json .getInt (NEWANIMAL_RESPONSIBLE_INSTITUTION ) : null );
100100 this .setRoom (json .has (NEWANIMAL_ROOM ) && !json .isNull (NEWANIMAL_ROOM ) ? json .getInt (NEWANIMAL_ROOM ) : null );
101101 this .setCage (json .has (NEWANIMAL_CAGE ) && !json .isNull (NEWANIMAL_CAGE ) ? json .getInt (NEWANIMAL_CAGE ) : null );
102102 this .setDiet (json .has (NEWANIMAL_DIET ) && !json .isNull (NEWANIMAL_DIET ) ? json .getInt (NEWANIMAL_DIET ) : null );
103103 this .setPedigree (json .has (NEWANIMAL_PEDIGREE ) && !json .isNull (NEWANIMAL_PEDIGREE ) ? json .getInt (NEWANIMAL_PEDIGREE ) : null );
104- this .setIacuc (json .has (NEWANIMAL_IACUC ) && !json .isNull (NEWANIMAL_IACUC ) ? json .getInt (NEWANIMAL_IACUC ) : null );
104+ this .setIacuc (json .has (NEWANIMAL_IACUC ) && !json .isNull (NEWANIMAL_IACUC ) ? json .getString (NEWANIMAL_IACUC ) : null );
105105 this .setObjectId (json .has (NEWANIMAL_OBJECTID ) && !json .isNull (NEWANIMAL_OBJECTID ) ? json .getString (NEWANIMAL_OBJECTID ) : null );
106106 this .setCreatedBy (c , u , json .has (NEWANIMAL_CREATED_BY ) && !json .isNull (NEWANIMAL_CREATED_BY ) ? json .getInt (NEWANIMAL_CREATED_BY ): null );
107107 this .setModifiedBy (c , u , json .has (NEWANIMAL_MODIFIED_BY ) && !json .isNull (NEWANIMAL_MODIFIED_BY ) ? json .getInt (NEWANIMAL_MODIFIED_BY ): null );
@@ -269,9 +269,9 @@ public String createdDateToString()
269269
270270 public void setColony (Integer colony ) { _colony = colony ; }
271271
272- public Integer getAnimalAccount () { return _animalAccount ; }
272+ public String getAnimalAccount () { return _animalAccount ; }
273273
274- public void setAnimalAccount (Integer animalAccount ) { _animalAccount = animalAccount ; }
274+ public void setAnimalAccount (String animalAccount ) { _animalAccount = animalAccount ; }
275275
276276 public Integer getOwnerInstitution () { return _ownerInstitution ; }
277277
@@ -297,9 +297,9 @@ public String createdDateToString()
297297
298298 public void setPedigree (Integer pedigree ) { _pedigree = pedigree ; }
299299
300- public Integer getIacuc () { return _iacuc ; }
300+ public String getIacuc () { return _iacuc ; }
301301
302- public void setIacuc (Integer iacuc ) { _iacuc = iacuc ; }
302+ public void setIacuc (String iacuc ) { _iacuc = iacuc ; }
303303
304304 public Date getCreated () { return _created ; }
305305
0 commit comments