1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package net.sf.composite;
17
18 /***
19 * A composite which keeps track of its components as a simple array property.
20 *
21 * @author Matt Sgarlata
22 * @since Dec 27, 2004
23 */
24 public interface SimpleComposite extends Composite {
25
26 /***
27 * Returns the components that make up this composite.
28 *
29 * @return the components that make up this composite
30 */
31 public Object[] getComponents();
32
33 /***
34 * Sets the components that make up this composite.
35 *
36 * @param components
37 * the components that make up this composite
38 */
39 public void setComponents(Object[] components);
40
41 }