1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.om.profile;
18
19 /***
20 * ConfigElement is the base interface that objects must implement in order
21 * to be used with the Profile service.
22 *
23 * @author <a href="mailto:raphael@apache.org">Raphaël Luta</a>
24 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
25 * @version $Id: IdentityElement.java,v 1.4 2004/02/23 03:05:01 jford Exp $
26 */
27 public interface IdentityElement extends MetaInfo, ConfigElement
28 {
29 /***
30 * @return the id of this entry. This value is guaranteed to be unique at
31 * least within the current Document.
32 */
33 public String getId();
34
35 /***
36 * Changes the name of this entry
37 * @param name the new name for this entry
38 */
39 public void setId(String id);
40
41 /***
42 * set the MetaInfo
43 * @param metaInfo info for this entry
44 */
45 public void setMetaInfo(MetaInfo metaInfo);
46
47 /***
48 * @return the metaInfo for this element
49 */
50 public MetaInfo getMetaInfo();
51
52 public Skin getSkin();
53
54 public void setSkin(Skin skin);
55
56 public Layout getLayout();
57
58 public void setLayout(Layout layout);
59
60 public Control getControl();
61
62 public void setControl(Control control);
63
64 }