KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > util > values > BonitaProjectValue


1 /**
2 *
3 * Bonita
4 * Copyright (C) 1999 Bull S.A.
5 * Bull 68 route de versailles 78434 Louveciennes Cedex France
6 * Further information: bonita@objectweb.org
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
21 * USA
22 *
23 *
24 --------------------------------------------------------------------------
25 * $Id: BonitaProjectValue.java,v 1.2 2005/03/30 15:20:17 mvaldes Exp $
26 *
27 --------------------------------------------------------------------------
28 */

29 package hero.util.values;
30 import java.util.ArrayList JavaDoc;
31 import java.util.Collection JavaDoc;
32
33 public class BonitaProjectValue implements java.io.Serializable JavaDoc {
34
35     private String JavaDoc name = null;
36     
37     private String JavaDoc type = null;
38     
39     private String JavaDoc status = null;
40     
41     private BonitaConfigValue projectConfig = null;
42     
43     private Collection JavaDoc hooks = new ArrayList JavaDoc();
44     
45     private Collection JavaDoc interHooks = new ArrayList JavaDoc();
46     
47     private Collection JavaDoc nodes = new ArrayList JavaDoc();
48     
49     private Collection JavaDoc properties = new ArrayList JavaDoc();
50     
51     private Collection JavaDoc roles = new ArrayList JavaDoc();
52     
53     private Collection JavaDoc users = new ArrayList JavaDoc();
54     
55     private Collection JavaDoc iterations = new ArrayList JavaDoc();
56     
57     // ----------------------------------------------------------- Properties
58

59     public String JavaDoc getName() {
60         return (name);
61     }
62
63     public void setName(String JavaDoc name) {
64         this.name = name;
65     }
66     
67     public String JavaDoc getType() {
68         return (type);
69     }
70
71     public void setType(String JavaDoc type) {
72         this.type = type;
73     }
74     
75     public String JavaDoc getStatus() {
76         return (status);
77     }
78
79     public void setStatus(String JavaDoc status) {
80         this.status = status;
81     }
82     
83     public Collection JavaDoc getNodes() {
84         return (this.nodes);
85     }
86
87     public void setNodes(Collection JavaDoc nodes) {
88         this.nodes = nodes;
89     }
90     
91     public Collection JavaDoc getProperties() {
92         return (this.properties);
93     }
94
95     public void setProperties(Collection JavaDoc properties) {
96         this.properties = properties;
97     }
98     
99     public Collection JavaDoc getRoles() {
100         return (this.roles);
101     }
102
103     public void setRoles(Collection JavaDoc roles) {
104         this.roles = roles;
105     }
106         
107     public Collection JavaDoc getUsers() {
108         return (this.users);
109     }
110
111     public void setUsers(Collection JavaDoc users) {
112         this.users = users;
113     }
114     
115     public Collection JavaDoc getHooks() {
116         return (this.hooks);
117     }
118
119     public void setHooks(Collection JavaDoc hooks) {
120         this.hooks = hooks;
121     }
122
123     public Collection JavaDoc getInterHooks() {
124         return (this.interHooks);
125     }
126
127     public void setInterHooks(Collection JavaDoc interHooks) {
128         this.interHooks = interHooks;
129     }
130     
131     public Collection JavaDoc getIterations() {
132         return (this.iterations);
133     }
134
135     public void setIterations(Collection JavaDoc iterations) {
136         this.iterations = iterations;
137     }
138     
139     public BonitaConfigValue getProjectConfig() {
140         return (this.projectConfig);
141     }
142
143     public void setProjectConfig(BonitaConfigValue projectConfig) {
144         this.projectConfig = projectConfig;
145     }
146     
147     public BonitaProjectValue(){}
148 }
149
Popular Tags