KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > riotfamily > components > export > SimpleComponent


1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1
3  * The contents of this file are subject to the Mozilla Public License Version
4  * 1.1 (the "License"); you may not use this file except in compliance with
5  * the License. You may obtain a copy of the License at
6  * http://www.mozilla.org/MPL/
7  *
8  * Software distributed under the License is distributed on an "AS IS" basis,
9  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
10  * for the specific language governing rights and limitations under the
11  * License.
12  *
13  * The Original Code is Riot.
14  *
15  * The Initial Developer of the Original Code is
16  * Neteye GmbH.
17  * Portions created by the Initial Developer are Copyright (C) 2007
18  * the Initial Developer. All Rights Reserved.
19  *
20  * Contributor(s):
21  * "Felix Gnass [fgnass at neteye dot de]"
22  *
23  * ***** END LICENSE BLOCK ***** */

24 package org.riotfamily.components.export;
25
26 import java.util.List JavaDoc;
27 import java.util.Map JavaDoc;
28
29 /**
30  * Simple component model without version information. In contrast to a
31  * ComponentVersion which only holds String vales, this class provides a map
32  * containing resolved/converted properties.
33  *
34  * @author Felix Gnass [fgnass at neteye dot de]
35  * @since 6.5
36  */

37 public class SimpleComponent {
38
39     private String JavaDoc type;
40     
41     private Map JavaDoc properties;
42     
43     private Map JavaDoc stringProperties;
44     
45     private List JavaDoc childLists;
46
47     public String JavaDoc getType() {
48         return this.type;
49     }
50
51     public void setType(String JavaDoc type) {
52         this.type = type;
53     }
54
55     public Map JavaDoc getProperties() {
56         return this.properties;
57     }
58
59     public void setProperties(Map JavaDoc properties) {
60         this.properties = properties;
61     }
62
63     public Map JavaDoc getStringProperties() {
64         return this.stringProperties;
65     }
66
67     public void setStringProperties(Map JavaDoc stringProperties) {
68         this.stringProperties = stringProperties;
69     }
70
71     public List JavaDoc getChildLists() {
72         return this.childLists;
73     }
74
75     public void setChildLists(List JavaDoc childLists) {
76         this.childLists = childLists;
77     }
78     
79 }
80
Popular Tags