View Javadoc

1   /*
2    * Copyright 2000-2001,2004 The Apache Software Foundation.
3    * 
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    * 
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
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  }