comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportAttribute.java @ 185:a60edcfe5f53

Added new helper models for import. flys-backend/trunk@1503 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 17 Mar 2011 16:12:39 +0000
parents
children cf8cbcb6a10d
comparison
equal deleted inserted replaced
184:4ab2c3bd474c 185:a60edcfe5f53
1 package de.intevation.flys.importer;
2
3 public class ImportAttribute
4 {
5 protected String value;
6
7 public ImportAttribute() {
8 }
9
10 public String getValue() {
11 return value;
12 }
13
14 public void setValue(String value) {
15 this.value = value;
16 }
17
18 @Override
19 public boolean equals(Object other) {
20 if (other == this) return true;
21 if (!(other instanceof ImportPosition)) return false;
22 return value.equals(((ImportPosition)other).value);
23 }
24
25 @Override
26 public int hashCode() {
27 return value.hashCode();
28 }
29 }
30 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org