view flys-client/src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java @ 1449:8da36efc839a

Removed unused imports. flys-client/trunk@3466 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 19 Dec 2011 15:38:10 +0000
parents 4df2d9a4b9b4
children c899a7ffdc8f
line wrap: on
line source
package de.intevation.flys.client.shared.model;

import java.util.HashMap;
import java.util.List;
import java.util.ArrayList;

/**
 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
 */
public class OutputSettings implements Settings {

    /** The output name. */
    protected String name;

    /** The categories and settings container. */
    protected HashMap<String, List<Property> > categories;



    public OutputSettings() {
        this.categories = new HashMap<String, List<Property> >();
    }


    public OutputSettings(String name) {
        this.name = name;
        this.categories = new HashMap<String, List<Property> >();
    }


    public void setName(String name) {
        this.name = name;
    }


    public String getName() {
        return this.name;
    }


    public void setSettings(String category, List<Property> settings) {
        this.categories.put(category, settings);
    }


    public List<Property> getSettings(String category) {
        return categories.get(category);
    }


    public List getCategories() {
        ArrayList<String> list = new ArrayList<String>(categories.keySet());
        return list;
    }
}

http://dive4elements.wald.intevation.org