Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/DataCageNode.java @ 3847:f3b821735e39
Calculate the info url via i18n
Don't fetch the info url from the artifact service and use i18n to calculate the
url by using the official gauge and river number.
flys-client/trunk@5582 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 24 Sep 2012 08:39:22 +0000 |
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 :