Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/DataCageNode.java @ 4241:49cb65d5932d
Improved the historical discharge calculation.
The calculation now creates new HistoricalWQKms (new subclass of WQKms). Those WQKms are used
to create new facets from (new) type 'HistoricalDischargeCurveFacet'. The chart generator is
improved to support those facets.
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 24 Oct 2012 14:34:35 +0200 |
parents | 63b258bf365c |
children |
line wrap: on
line source
package de.intevation.flys.client.shared.model; import java.util.List; import java.util.ArrayList; import java.io.Serializable; public class DataCageNode implements Serializable { protected String name; protected String description; protected List<DataCageNode> children; protected AttrList attrs; public DataCageNode() { } public DataCageNode(String name) { this(name, null); } public DataCageNode(String name, AttrList attrs) { this(name, name, attrs); } public DataCageNode(String name, String description, AttrList attrs) { this.name = name; this.description = description; this.attrs = attrs; } public String getName() { return name; } public String getDescription() { return description; } public void setName(String name) { this.name = name; } public void addChild(DataCageNode child) { if (children == null) { children = new ArrayList<DataCageNode>(); } children.add(child); } public List<DataCageNode> getChildren() { return children; } public AttrList getAttributes() { return attrs; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :