Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultData.java @ 22:a85bac235069
Implemented code to parse the UIProvider that should be used for a current state.
flys-client/trunk@1336 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 22 Feb 2011 17:29:51 +0000 |
parents | fa0aad20af53 |
children | d573ae975330 |
line wrap: on
line source
package de.intevation.flys.client.shared.model; import de.intevation.flys.client.client.ui.UIProvider; /** * The default implementation of a {@link Data} item. This class just implements * constructors to create instances and the necessary methods of the interface. * * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> */ public class DefaultData implements Data { /** The label of this Data object.*/ protected String label; /** The description.*/ protected String description; /** The type.*/ protected String type; /** The DataItems.*/ protected DataItem[] items; /** The UIProvider that should be used to create UIs. */ protected String uiProvider; public DefaultData() { } /** * The default constructor to create new DefaultData objects. * * @param label The label. * @param description The description. * @param type The type. * @param items The DataItems. */ public DefaultData( String label, String description, String type, DataItem[] items, String uiProvider) { this.label = label; this.description = description; this.type = type; this.items = items; this.uiProvider = uiProvider; } public String getLabel() { return label; } public String getDescription() { return description; } public String getType() { return type; } public DataItem[] getItems() { return items; } public String getUIProvider() { return uiProvider; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :