1
2
3
4
5
6
7
8
9
10 package com.sri.emo.dbobj;
11
12
13 /***
14 * parts of an object
15 */
16 public interface AbstractParts {
17 public static final String REFERENCES = "REFERENCES";
18 public static final String ONLINE_RESOURCE = "ONLINE_RESOURCE";
19 public static final String MISCELLANEOUS_ASSOCIATIONS = "MISCELLANEOUS_ASSOCIATIONS";
20
21 /***
22 * order of parts is important--will be used as layout order,
23 * and the number of each attribute in this list will be used to
24 * encode/decode the field name as a fixed string + num.
25 * <p/>
26 * why?
27 * <p/>
28 * necessary since the JSP doesn't know anything, but
29 * must iterate to display attributes and send back edits with some discernable
30 * connection between input text and attribute destination.
31 *
32 * @return a list of parts for paradigms
33 */
34 public PartDescriptor[] getParts();
35 }