01: package org.conform;
02:
03: import org.conform.format.Format;
04:
05: import java.io.Serializable;
06: import java.util.Map;
07:
08: /**
09: * Holds meta information of a type.
10: */
11: public interface Meta extends Serializable, Cloneable {
12: String getName();
13:
14: void setName(String name);
15:
16: Class getType();
17:
18: void setType(Class type);
19:
20: Format getFormat();
21:
22: void setFormat(Format format);
23:
24: public String getMicroHelp();
25:
26: public void setMicroHelp(String microHelp);
27:
28: public String getLabel();
29:
30: public void setLabel(String label);
31:
32: void setAttribute(String name, Object value);
33:
34: Object getAttribute(String name);
35:
36: Map getAttributes();
37:
38: void setAttributes(Map attributes);
39: }
|