KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > deliver > applications > actions > InfoGlueComponent


1 /* ===============================================================================
2  *
3  * Part of the InfoGlue Content Management Platform (www.infoglue.org)
4  *
5  * ===============================================================================
6  *
7  * Copyright (C)
8  *
9  * This program is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License version 2, as published by the
11  * Free Software Foundation. See the file LICENSE.html for more information.
12  *
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY, including the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program; if not, write to the Free Software Foundation, Inc. / 59 Temple
19  * Place, Suite 330 / Boston, MA 02111-1307 / USA.
20  *
21  * ===============================================================================
22  */

23
24 package org.infoglue.deliver.applications.actions;
25
26 import java.util.ArrayList JavaDoc;
27 import java.util.HashMap JavaDoc;
28 import java.util.List JavaDoc;
29 import java.util.Map JavaDoc;
30
31 public class InfoGlueComponent
32 {
33     private Integer JavaDoc id = null;
34     private Integer JavaDoc contentId = null;
35     private String JavaDoc name = null;
36     private String JavaDoc slotName = null;
37     private boolean isInherited = false;
38     private Map JavaDoc properties = new HashMap JavaDoc();
39     private Map JavaDoc tasks = new HashMap JavaDoc();
40     private List JavaDoc slotList = new ArrayList JavaDoc();
41     private List JavaDoc restrictions = new ArrayList JavaDoc();
42     private Map JavaDoc slots = new HashMap JavaDoc();
43     private Map JavaDoc components = new HashMap JavaDoc();
44     private InfoGlueComponent parentComponent = null;
45     
46     public InfoGlueComponent()
47     {
48     }
49     
50     public Map JavaDoc getComponents()
51     {
52         return this.components;
53     }
54
55     public Integer JavaDoc getContentId()
56     {
57         return this.contentId;
58     }
59
60     public String JavaDoc getName()
61     {
62         return this.name;
63     }
64
65     public void setComponents(Map JavaDoc components)
66     {
67         this.components = components;
68     }
69
70     public void setContentId(Integer JavaDoc contentId)
71     {
72         this.contentId = contentId;
73     }
74
75     public void setName(String JavaDoc name)
76     {
77         this.name = name;
78     }
79
80     public Integer JavaDoc getId()
81     {
82         return this.id;
83     }
84
85     public void setId(Integer JavaDoc id)
86     {
87         this.id = id;
88     }
89
90     public Map JavaDoc getSlots()
91     {
92         return this.slots;
93     }
94
95     public void setSlots(Map JavaDoc slots)
96     {
97         this.slots = slots;
98     }
99
100     public Map JavaDoc getProperties()
101     {
102         return this.properties;
103     }
104
105     public void setProperties(Map JavaDoc properties)
106     {
107         this.properties = properties;
108     }
109
110     public Map JavaDoc getTasks()
111     {
112         return this.tasks;
113     }
114
115     public void setTasks(Map JavaDoc tasks)
116     {
117         this.tasks = tasks;
118     }
119
120     public boolean getIsInherited()
121     {
122         return isInherited;
123     }
124
125     public void setIsInherited(boolean isInherited)
126     {
127         this.isInherited = isInherited;
128     }
129
130     public List JavaDoc getSlotList()
131     {
132         return slotList;
133     }
134
135     public void setSlotList(List JavaDoc list)
136     {
137         slotList = list;
138     }
139
140     public InfoGlueComponent getParentComponent()
141     {
142         return parentComponent;
143     }
144
145     public void setParentComponent(InfoGlueComponent component)
146     {
147         parentComponent = component;
148     }
149
150     public String JavaDoc getSlotName()
151     {
152         return slotName;
153     }
154     
155     public void setSlotName(String JavaDoc slotName)
156     {
157         this.slotName = slotName;
158     }
159     
160     public List JavaDoc getRestrictions()
161     {
162         return restrictions;
163     }
164 }
Popular Tags