01: package org.araneaframework.framework;
02:
03: import java.io.Serializable;
04: import java.util.Map;
05:
06: /**
07: * Stores system form fields that will be written out in <ui:systemForm> tag.
08: *
09: * @author Alar Kvell (alar@araneaframework.org)
10: * @since 1.1
11: */
12: public interface SystemFormContext extends Serializable {
13:
14: /**
15: * Add a system form field.
16: */
17: void addField(String key, String value);
18:
19: /**
20: * Get all system form fields. Both keys and values of the map are Strings. If
21: * no fields are present, returns an empty map.
22: */
23: Map getFields();
24: }
|