Source Code Cross Referenced for PluginInfoBean.java in  » EJB-Server-geronimo » plugins » org » apache » geronimo » console » car » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server geronimo » plugins » org.apache.geronimo.console.car 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         *  Licensed to the Apache Software Foundation (ASF) under one or more
003:         *  contributor license agreements.  See the NOTICE file distributed with
004:         *  this work for additional information regarding copyright ownership.
005:         *  The ASF licenses this file to You under the Apache License, Version 2.0
006:         *  (the "License"); you may not use this file except in compliance with
007:         *  the License.  You may obtain a copy of the License at
008:         *
009:         *     http://www.apache.org/licenses/LICENSE-2.0
010:         *
011:         *  Unless required by applicable law or agreed to in writing, software
012:         *  distributed under the License is distributed on an "AS IS" BASIS,
013:         *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         *  See the License for the specific language governing permissions and
015:         *  limitations under the License.
016:         */package org.apache.geronimo.console.car;
017:
018:        import java.io.Serializable;
019:        import java.util.List;
020:
021:        import org.apache.geronimo.system.plugin.model.ArtifactType;
022:        import org.apache.geronimo.system.plugin.model.ConfigXmlContentType;
023:        import org.apache.geronimo.system.plugin.model.CopyFileType;
024:        import org.apache.geronimo.system.plugin.model.DependencyType;
025:        import org.apache.geronimo.system.plugin.model.HashType;
026:        import org.apache.geronimo.system.plugin.model.LicenseType;
027:        import org.apache.geronimo.system.plugin.model.PluginArtifactType;
028:        import org.apache.geronimo.system.plugin.model.PluginType;
029:        import org.apache.geronimo.system.plugin.model.PrerequisiteType;
030:        import org.apache.geronimo.system.plugin.model.PropertyType;
031:
032:        /**
033:         * Bean class that holds information about a plugin
034:         * 
035:         * @version $Rev: 627948 $ $Date: 2008-02-14 20:49:46 -0800 (Thu, 14 Feb 2008) $
036:         */
037:        public class PluginInfoBean implements  Serializable {
038:            protected ArtifactType moduleId;
039:            protected HashType hash;
040:            protected List<String> geronimoVersion;
041:            protected List<String> jvmVersion;
042:            protected List<PrerequisiteType> prerequisite;
043:            protected List<DependencyType> dependency;
044:            protected List<ArtifactType> obsoletes;
045:            protected List<String> sourceRepository;
046:            protected List<CopyFileType> copyFile;
047:            protected List<ConfigXmlContentType> configXmlContent;
048:            protected List<PropertyType> artifactAlias;
049:            protected List<PropertyType> configSubstitution;
050:            protected String name;
051:            protected String category;
052:            protected String description;
053:            protected String url;
054:            protected String author;
055:            protected List<LicenseType> license;
056:            protected PluginType plugin;
057:            protected PluginArtifactType pluginArtifact;
058:            protected boolean installable = true;
059:            protected String validationMessage;
060:
061:            public List<PropertyType> getArtifactAlias() {
062:                return artifactAlias;
063:            }
064:
065:            public void setArtifactAlias(List<PropertyType> artifactAlias) {
066:                this .artifactAlias = artifactAlias;
067:            }
068:
069:            public String getAuthor() {
070:                return author;
071:            }
072:
073:            public void setAuthor(String author) {
074:                this .author = author;
075:            }
076:
077:            public String getCategory() {
078:                return category;
079:            }
080:
081:            public void setCategory(String category) {
082:                this .category = category;
083:            }
084:
085:            public List<PropertyType> getConfigSubstitution() {
086:                return configSubstitution;
087:            }
088:
089:            public void setConfigSubstitution(
090:                    List<PropertyType> configSubstitution) {
091:                this .configSubstitution = configSubstitution;
092:            }
093:
094:            public List<ConfigXmlContentType> getConfigXmlContent() {
095:                return configXmlContent;
096:            }
097:
098:            public void setConfigXmlContent(
099:                    List<ConfigXmlContentType> configXmlContent) {
100:                this .configXmlContent = configXmlContent;
101:            }
102:
103:            public List<CopyFileType> getCopyFile() {
104:                return copyFile;
105:            }
106:
107:            public void setCopyFile(List<CopyFileType> copyFile) {
108:                this .copyFile = copyFile;
109:            }
110:
111:            public List<DependencyType> getDependency() {
112:                return dependency;
113:            }
114:
115:            public void setDependency(List<DependencyType> dependency) {
116:                this .dependency = dependency;
117:            }
118:
119:            public String getDescription() {
120:                return description;
121:            }
122:
123:            public void setDescription(String description) {
124:                this .description = description;
125:            }
126:
127:            public List<String> getGeronimoVersion() {
128:                return geronimoVersion;
129:            }
130:
131:            public void setGeronimoVersion(List<String> geronimoVersion) {
132:                this .geronimoVersion = geronimoVersion;
133:            }
134:
135:            public HashType getHash() {
136:                return hash;
137:            }
138:
139:            public void setHash(HashType hash) {
140:                this .hash = hash;
141:            }
142:
143:            public List<String> getJvmVersion() {
144:                return jvmVersion;
145:            }
146:
147:            public void setJvmVersion(List<String> jvmVersion) {
148:                this .jvmVersion = jvmVersion;
149:            }
150:
151:            public List<LicenseType> getLicense() {
152:                return license;
153:            }
154:
155:            public void setLicense(List<LicenseType> license) {
156:                this .license = license;
157:            }
158:
159:            public ArtifactType getModuleId() {
160:                return moduleId;
161:            }
162:
163:            public void setModuleId(ArtifactType moduleId) {
164:                this .moduleId = moduleId;
165:            }
166:
167:            public String getName() {
168:                return name;
169:            }
170:
171:            public void setName(String name) {
172:                this .name = name;
173:            }
174:
175:            public List<ArtifactType> getObsoletes() {
176:                return obsoletes;
177:            }
178:
179:            public void setObsoletes(List<ArtifactType> obsoletes) {
180:                this .obsoletes = obsoletes;
181:            }
182:
183:            public List<PrerequisiteType> getPrerequisite() {
184:                return prerequisite;
185:            }
186:
187:            public void setPrerequisite(List<PrerequisiteType> prerequisite) {
188:                this .prerequisite = prerequisite;
189:            }
190:
191:            public List<String> getSourceRepository() {
192:                return sourceRepository;
193:            }
194:
195:            public void setSourceRepository(List<String> sourceRepository) {
196:                this .sourceRepository = sourceRepository;
197:            }
198:
199:            public String getUrl() {
200:                return url;
201:            }
202:
203:            public void setUrl(String url) {
204:                this .url = url;
205:            }
206:
207:            public PluginType getPlugin() {
208:                return plugin;
209:            }
210:
211:            public void setPlugin(PluginType plugin) {
212:                this .plugin = plugin;
213:                // copy the fields
214:                author = plugin.getAuthor();
215:                category = plugin.getCategory();
216:                description = plugin.getDescription();
217:                license = plugin.getLicense();
218:                name = plugin.getName();
219:                url = plugin.getUrl();
220:            }
221:
222:            public PluginArtifactType getPluginArtifact() {
223:                return pluginArtifact;
224:            }
225:
226:            public void setPluginArtifact(PluginArtifactType pluginArtifact) {
227:                this .pluginArtifact = pluginArtifact;
228:                // copy the fields
229:                artifactAlias = pluginArtifact.getArtifactAlias();
230:                configSubstitution = pluginArtifact.getConfigSubstitution();
231:                configXmlContent = pluginArtifact.getConfigXmlContent();
232:                copyFile = pluginArtifact.getCopyFile();
233:                dependency = pluginArtifact.getDependency();
234:                geronimoVersion = pluginArtifact.getGeronimoVersion();
235:                hash = pluginArtifact.getHash();
236:                jvmVersion = pluginArtifact.getJvmVersion();
237:                moduleId = pluginArtifact.getModuleId();
238:                obsoletes = pluginArtifact.getObsoletes();
239:                prerequisite = pluginArtifact.getPrerequisite();
240:                sourceRepository = pluginArtifact.getSourceRepository();
241:            }
242:
243:            public boolean isInstallable() {
244:                return installable;
245:            }
246:
247:            public void setInstallable(boolean installable) {
248:                this .installable = installable;
249:            }
250:
251:            public String getValidationMessage() {
252:                return validationMessage;
253:            }
254:
255:            public void setValidationMessage(String validationMessage) {
256:                this.validationMessage = validationMessage;
257:            }
258:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.