1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.modeler.demo;
19
20
21 /***
22 * <p>Sample managed object for the Modeler Demonstration Application,
23 * based on the Catalina architecture of Tomcat 4.</p>
24 *
25 * @author Craig R. McClanahan
26 * @version $Revision: 155428 $ $Date: 2005-02-26 08:12:25 -0500 (Sat, 26 Feb 2005) $
27 */
28
29 public interface Container {
30
31
32
33
34
35
36
37
38 /***
39 * Return the name of this Container.
40 */
41 public String getName();
42
43
44 /***
45 * Set the name of this Container.
46 *
47 * @param name The new name
48 */
49 public void setName(String name);
50
51
52 /***
53 * Return the parent Container of this Container.
54 */
55 public Container getParent();
56
57
58 /***
59 * Set the parent Container of this Container.
60 *
61 * @param parent The new parent container
62 */
63 public void setParent(Container parent);
64
65
66 }
67
68
69