comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/SQRelationAccess.java @ 5396:aaf810d4ec82

Use new state 'outlier mehtod selection' in SQ-relation. The outlier method is no more configurable in conf.xml. The user can now select the method in SQ-relation parameters.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 25 Mar 2013 12:40:26 +0100
parents 048a02e29808
children
comparison
equal deleted inserted replaced
5395:5a55c5372fe1 5396:aaf810d4ec82
15 protected Double location; 15 protected Double location;
16 16
17 protected DateRange period; 17 protected DateRange period;
18 18
19 protected Double outliers; 19 protected Double outliers;
20
21 private String method;
20 22
21 public SQRelationAccess() { 23 public SQRelationAccess() {
22 } 24 }
23 25
24 public SQRelationAccess(FLYSArtifact artifact) { 26 public SQRelationAccess(FLYSArtifact artifact) {
58 if (log.isDebugEnabled()) { 60 if (log.isDebugEnabled()) {
59 log.debug("outliers: " + outliers); 61 log.debug("outliers: " + outliers);
60 } 62 }
61 return outliers; 63 return outliers;
62 } 64 }
65
66 public String getOutlierMethod() {
67 if (method == null) {
68 method = getString("outlier-method");
69 }
70 if (log.isDebugEnabled()) {
71 log.debug("outlier-method: " + method);
72 }
73 return method;
74 }
63 } 75 }
64 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 76 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org