001: /**
002: *
003: * Bonita
004: * Copyright (C) 1999 Bull S.A.
005: * Bull 68 route de versailles 78434 Louveciennes Cedex France
006: * Further information: bonita@objectweb.org
007: *
008: * This library is free software; you can redistribute it and/or
009: * modify it under the terms of the GNU Lesser General Public
010: * License as published by the Free Software Foundation; either
011: * version 2.1 of the License, or any later version.
012: *
013: * This library is distributed in the hope that it will be useful,
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
016: * Lesser General Public License for more details.
017: *
018: * You should have received a copy of the GNU Lesser General Public
019: * License along with this library; if not, write to the Free Software
020: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
021: * USA
022: *
023: *
024: --------------------------------------------------------------------------
025: * $Id: BonitaProjectValue.java,v 1.3 2006/06/20 12:54:46 blachonm Exp $
026: *
027: --------------------------------------------------------------------------
028: */package hero.util.values;
029:
030: import java.util.ArrayList;
031: import java.util.Collection;
032:
033: public class BonitaProjectValue implements java.io.Serializable {
034:
035: private String name = null;
036:
037: private String version = null;
038:
039: private String type = null;
040:
041: private String status = null;
042:
043: private BonitaConfigValue projectConfig = null;
044:
045: private Collection hooks = new ArrayList();
046:
047: private Collection interHooks = new ArrayList();
048:
049: private Collection nodes = new ArrayList();
050:
051: private Collection properties = new ArrayList();
052:
053: private Collection roles = new ArrayList();
054:
055: private Collection users = new ArrayList();
056:
057: private Collection iterations = new ArrayList();
058:
059: // ----------------------------------------------------------- Properties
060:
061: public String getName() {
062: return (name);
063: }
064:
065: public void setName(String name) {
066: this .name = name;
067: }
068:
069: public String getVersion() {
070: return (version);
071: }
072:
073: public void setVersion(String version) {
074: this .version = version;
075: }
076:
077: public String getType() {
078: return (type);
079: }
080:
081: public void setType(String type) {
082: this .type = type;
083: }
084:
085: public String getStatus() {
086: return (status);
087: }
088:
089: public void setStatus(String status) {
090: this .status = status;
091: }
092:
093: public Collection getNodes() {
094: return (this .nodes);
095: }
096:
097: public void setNodes(Collection nodes) {
098: this .nodes = nodes;
099: }
100:
101: public Collection getProperties() {
102: return (this .properties);
103: }
104:
105: public void setProperties(Collection properties) {
106: this .properties = properties;
107: }
108:
109: public Collection getRoles() {
110: return (this .roles);
111: }
112:
113: public void setRoles(Collection roles) {
114: this .roles = roles;
115: }
116:
117: public Collection getUsers() {
118: return (this .users);
119: }
120:
121: public void setUsers(Collection users) {
122: this .users = users;
123: }
124:
125: public Collection getHooks() {
126: return (this .hooks);
127: }
128:
129: public void setHooks(Collection hooks) {
130: this .hooks = hooks;
131: }
132:
133: public Collection getInterHooks() {
134: return (this .interHooks);
135: }
136:
137: public void setInterHooks(Collection interHooks) {
138: this .interHooks = interHooks;
139: }
140:
141: public Collection getIterations() {
142: return (this .iterations);
143: }
144:
145: public void setIterations(Collection iterations) {
146: this .iterations = iterations;
147: }
148:
149: public BonitaConfigValue getProjectConfig() {
150: return (this .projectConfig);
151: }
152:
153: public void setProjectConfig(BonitaConfigValue projectConfig) {
154: this .projectConfig = projectConfig;
155: }
156:
157: public BonitaProjectValue() {
158: }
159: }
|