Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityDiameterResult.java @ 4357:11cf29eb002c
FacetTypes: New type: exreme_wq_curve_base (for the Stuetz-Q-Poits).
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 02 Nov 2012 11:58:11 +0100 |
parents | 9f9d5ada96ca |
children |
line wrap: on
line source
package de.intevation.flys.artifacts.model.minfo; import gnu.trove.TDoubleArrayList; import java.io.Serializable; public class BedQualityDiameterResult implements Serializable { public static enum DIAMETER_TYPE { D90, D84, D80, D75, D70, D60, D50, D40, D30, D25, D20, D16, D10, DMIN, DMAX } protected DIAMETER_TYPE type; protected TDoubleArrayList kms; protected boolean empty; public BedQualityDiameterResult () { empty = true; } public BedQualityDiameterResult ( String type, TDoubleArrayList km ) { if (km.size() > 0) { empty = false; } this.type = DIAMETER_TYPE.valueOf(type.toUpperCase()); this.kms = km; } public DIAMETER_TYPE getType() { return this.type; } public TDoubleArrayList getKms() { return this.kms; } public void setType(DIAMETER_TYPE type) { this.type = type; } public boolean isEmpty() { return empty; } }