All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.takari.bpm.model.form.FormDefinition Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package io.takari.bpm.model.form;

import java.io.Serializable;
import java.util.Arrays;
import java.util.List;

public class FormDefinition implements Serializable {

    private final String name;
    private final List fields;

    public FormDefinition(String name, FormField... fields) {
        this(name, Arrays.asList(fields));
    }

    public FormDefinition(String name, List fields) {
        this.name = name;
        this.fields = fields;
    }

    public String getName() {
        return name;
    }

    public List getFields() {
        return fields;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy