comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadData.java @ 8058:fbe3ba5a480e

Sediment load: Fetch kind of sediment load from database to tell if it is official or not.
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 18 Jul 2014 17:43:27 +0200
parents 9e79e384aa8b
children 7d4be7a6a2b1
comparison
equal deleted inserted replaced
8057:555dc5a9b282 8058:fbe3ba5a480e
100 100
101 101
102 public static class Load implements Serializable { 102 public static class Load implements Serializable {
103 103
104 private int id; 104 private int id;
105 private int kind;
105 106
106 private String description; 107 private String description;
107 108
108 private Date startTime; 109 private Date startTime;
109 private Date stopTime; 110 private Date stopTime;
110 111
111 public Load() { 112 public Load() {
112 } 113 }
113 114
114 public Load(int id, String description, Date startTime, Date stopTime) { 115 public Load(
116 int id,
117 int kind,
118 String description,
119 Date startTime,
120 Date stopTime
121 ) {
115 this.id = id; 122 this.id = id;
123 this.kind = kind;
116 this.description = description; 124 this.description = description;
117 this.startTime = startTime; 125 this.startTime = startTime;
118 this.stopTime = stopTime; 126 this.stopTime = stopTime;
119 } 127 }
120 128
121 public int getId() { 129 public int getId() {
122 return id; 130 return id;
131 }
132
133 public int getKind() {
134 return kind;
123 } 135 }
124 136
125 public String getDescription() { 137 public String getDescription() {
126 return description; 138 return description;
127 } 139 }

http://dive4elements.wald.intevation.org