comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java @ 6390:94f7e1a4736b

New facet type in FacetTypes.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 21 Jun 2013 15:31:07 +0200
parents 83a04004969f
children 181c09bff978
comparison
equal deleted inserted replaced
6389:7b67b952b517 6390:94f7e1a4736b
110 } 110 }
111 111
112 return false; 112 return false;
113 } 113 }
114 public static boolean SEDIMENT_LOAD(String type) { 114 public static boolean SEDIMENT_LOAD(String type) {
115 return type.startsWith("sedimentload"); 115 return type.startsWith("sedimentload") && !type.contains("unknown");
116 }
117 public static boolean SEDIMENT_LOAD_UNKNOWN(String type) {
118 return type.equals("sedimentload.unknown");
116 } 119 }
117 public static boolean SEDIMENT_LOAD_NO_FLOAT(String type) { 120 public static boolean SEDIMENT_LOAD_NO_FLOAT(String type) {
118 return type.startsWith("sedimentload") && !type.contains("susp"); 121 return type.startsWith("sedimentload") && !type.contains("susp");
119 } 122 }
120 }; 123 };
308 String SEDIMENT_LOAD_SUSP_SAND = "sedimentload.susp_sand"; 311 String SEDIMENT_LOAD_SUSP_SAND = "sedimentload.susp_sand";
309 String SEDIMENT_LOAD_SUSP_SAND_BED = "sedimentload.susp_sand_bed"; 312 String SEDIMENT_LOAD_SUSP_SAND_BED = "sedimentload.susp_sand_bed";
310 String SEDIMENT_LOAD_SUSP_SEDIMENT = "sedimentload.susp_sediment"; 313 String SEDIMENT_LOAD_SUSP_SEDIMENT = "sedimentload.susp_sediment";
311 String SEDIMENT_LOAD_TOTAL = "sedimentload.total"; 314 String SEDIMENT_LOAD_TOTAL = "sedimentload.total";
312 String SEDIMENT_LOAD_TOTAL_LOAD = "sedimentload.total_load"; 315 String SEDIMENT_LOAD_TOTAL_LOAD = "sedimentload.total_load";
316 String SEDIMENT_LOAD_UNKOWN = "sedimentload.unknown";
313 317
314 String SQ_OVERVIEW = "sq_overview"; 318 String SQ_OVERVIEW = "sq_overview";
315 319
316 String SQ_A_CURVE = "sq_a_curve"; 320 String SQ_A_CURVE = "sq_a_curve";
317 String SQ_A_MEASUREMENT = "sq_a_measurement"; 321 String SQ_A_MEASUREMENT = "sq_a_measurement";

http://dive4elements.wald.intevation.org