01: /**
02: * JOnAS: Java(TM) Open Application Server
03: * Copyright (C) 1999 Bull S.A.
04: * Contact: jonas-team@objectweb.org
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19: * USA
20: *
21: * --------------------------------------------------------------------------
22: * $Id: EjbDependency.java 7431 2005-09-27 14:35:59Z danesa $
23: * --------------------------------------------------------------------------
24: */package org.objectweb.jonas.webapp.jonasadmin.service.ejb;
25:
26: /**
27: * @author Adriana Danes
28: */
29:
30: public class EjbDependency {
31: private String name;
32: private String type;
33: private String serverId;
34:
35: public EjbDependency(String name, String type, String serverId) {
36: this .name = name;
37: this .type = type;
38: this .serverId = serverId;
39: }
40:
41: /**
42: * @return Returns the name.
43: */
44: public String getName() {
45: return name;
46: }
47:
48: /**
49: * @param name The name to set.
50: */
51: public void setName(String name) {
52: this .name = name;
53: }
54:
55: /**
56: * @return Returns the serverId.
57: */
58: public String getServerId() {
59: return serverId;
60: }
61:
62: /**
63: * @param serverId The serverId to set.
64: */
65: public void setServerId(String serverId) {
66: this .serverId = serverId;
67: }
68:
69: /**
70: * @return Returns the type.
71: */
72: public String getType() {
73: return type;
74: }
75:
76: /**
77: * @param type The type to set.
78: */
79: public void setType(String type) {
80: this.type = type;
81: }
82: }
|