Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/model/uinfo/Vegetation.java @ 9038:4c5eeaff554c
Database column "comment" renamed to "notes" (restrictions in Oracle)
author | mschaefer |
---|---|
date | Wed, 02 May 2018 06:56:21 +0200 |
parents | 201817aa7b1c |
children | 361de818f76e |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/model/uinfo/Vegetation.java Mon Apr 30 18:06:31 2018 +0200 +++ b/backend/src/main/java/org/dive4elements/river/model/uinfo/Vegetation.java Wed May 02 06:56:21 2018 +0200 @@ -50,7 +50,7 @@ private String name; - private String comment; + private String notes; private List<VegetationZone> values; @@ -61,11 +61,11 @@ } - public Vegetation(final River river, final String filename, final String name, final String comment) { + public Vegetation(final River river, final String filename, final String name, final String notes) { this.river = river; this.filename = filename; this.name = name; - this.comment = comment; + this.notes = notes; this.values = new ArrayList<>(); } @@ -111,13 +111,13 @@ this.name = name; } - @Column(name = "comment") - public String getComment() { - return this.comment; + @Column(name = "notes") + public String getNotes() { + return this.notes; } - public void setComment(final String comment) { - this.comment = comment; + public void setNotes(final String notes) { + this.notes = notes; } @OneToMany