comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/Calculation.java @ 4275:32bd5af17eda

Made message of Calculation.Problem accessible via getter.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 26 Oct 2012 16:40:09 +0200
parents f46caf95ab7f
children 470460bfb5fc
comparison
equal deleted inserted replaced
4274:f46caf95ab7f 4275:32bd5af17eda
61 String text = args != null 61 String text = args != null
62 ? Resources.getMsg(meta, msg, msg, args) 62 ? Resources.getMsg(meta, msg, msg, args)
63 : Resources.getMsg(meta, msg, msg); 63 : Resources.getMsg(meta, msg, msg);
64 problem.setTextContent(text); 64 problem.setTextContent(text);
65 return problem; 65 return problem;
66 }
67
68 public String getMsg() {
69 return msg;
66 } 70 }
67 71
68 @Override 72 @Override
69 public boolean equals(Object other) { 73 public boolean equals(Object other) {
70 if (!(other instanceof Problem)) { 74 if (!(other instanceof Problem)) {

http://dive4elements.wald.intevation.org