view flys-client/src/main/java/de/intevation/flys/client/shared/model/PropertyGroup.java @ 1441:0271f6747f80

Fixed return type in UI factory method. flys-client/trunk@3425 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 15 Dec 2011 12:33:54 +0000
parents 4df2d9a4b9b4
children 14ce1c2a9f6c
line wrap: on
line source
package de.intevation.flys.client.shared.model;

import java.util.List;

import com.smartgwt.client.widgets.form.DynamicForm;

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

    /** The group name */
    protected String name;

    protected List<Property> properties;

    public PropertyGroup() {

    }

    public PropertyGroup(String name) {
        this.name = name;
    }

    public PropertyGroup(String name, List<Property> properties) {
        this.name = name;
        this.properties = properties;
    }

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

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

    public List<Property> getProperties() {
        return this.properties;
    }

    public void setProperties(List<Property> properties) {
        this.properties = properties;
    }

    public DynamicForm generateUI() {
        return new DynamicForm();
    }
}

http://dive4elements.wald.intevation.org