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: ItemBase.java 8317 2006-05-05 13:41:45Z danesa $
23: * --------------------------------------------------------------------------
24: */package org.objectweb.jonas.webapp.jonasadmin.joramplatform;
25:
26: import javax.management.ObjectName;
27:
28: public class ItemBase implements java.io.Serializable {
29: private String name = null;
30: private ObjectName on = null;
31: private String id = null;
32: private String serverId = null;
33:
34: /**
35: * @return Returns the name.
36: */
37: public String getName() {
38: return name;
39: }
40:
41: /**
42: * @param name The name to set.
43: */
44: public void setName(String name) {
45: this .name = name;
46: }
47:
48: /**
49: * @return Returns the on.
50: */
51: public ObjectName getOn() {
52: return on;
53: }
54:
55: /**
56: * @param on The on to set.
57: */
58: public void setOn(ObjectName on) {
59: this .on = on;
60: }
61:
62: /**
63: * @return Returns the id.
64: */
65: public String getId() {
66: return id;
67: }
68:
69: /**
70: * @param id The id to set.
71: */
72: public void setId(String id) {
73: this .id = id;
74: }
75:
76: /**
77: * @return Returns the serverId.
78: */
79: public String getServerId() {
80: return serverId;
81: }
82:
83: /**
84: * @param serverId The serverId to set.
85: */
86: public void setServerId(String serverId) {
87: this.serverId = serverId;
88: }
89: }
|