KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > webapp > jonasadmin > joramplatform > ItemDestination


1 /**
2  * JOnAS: Java(TM) Open Application Server
3  * Copyright (C) 1999 Bull S.A.
4  * Contact: jonas-team@objectweb.org
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * 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: ItemDestination.java,v 1.1 2005/06/27 11:43:02 danesa Exp $
23  * --------------------------------------------------------------------------
24  */

25
26 package org.objectweb.jonas.webapp.jonasadmin.joramplatform;
27
28 import javax.management.ObjectName JavaDoc;
29
30 public class ItemDestination {
31     private String JavaDoc name = null;
32     private String JavaDoc type = null;
33     private ObjectName JavaDoc on = null;
34     private String JavaDoc id = null;
35     private String JavaDoc serverId = null;
36     private boolean used = false;
37     /**
38      * @return Returns the name.
39      */

40     public String JavaDoc getName() {
41         return name;
42     }
43     /**
44      * @param name The name to set.
45      */

46     public void setName(String JavaDoc name) {
47         this.name = name;
48     }
49     /**
50      * @return Returns the type.
51      */

52     public String JavaDoc getType() {
53         return type;
54     }
55     /**
56      * @param type The type to set.
57      */

58     public void setType(String JavaDoc type) {
59         this.type = type;
60     }
61     /**
62      * @return Returns the on.
63      */

64     public ObjectName JavaDoc getOn() {
65         return on;
66     }
67     /**
68      * @param on The on to set.
69      */

70     public void setOn(ObjectName JavaDoc on) {
71         this.on = on;
72     }
73     /**
74      * @return Returns the id.
75      */

76     public String JavaDoc getId() {
77         return id;
78     }
79     /**
80      * @param id The id to set.
81      */

82     public void setId(String JavaDoc id) {
83         this.id = id;
84     }
85     /**
86      * @return Returns the serverId.
87      */

88     public String JavaDoc getServerId() {
89         return serverId;
90     }
91     /**
92      * @param serverId The serverId to set.
93      */

94     public void setServerId(String JavaDoc serverId) {
95         this.serverId = serverId;
96     }
97     /**
98      * @return Returns the used.
99      */

100     public boolean isUsed() {
101         return used;
102     }
103     /**
104      * @param used The used to set.
105      */

106     public void setUsed(boolean used) {
107         this.used = used;
108     }
109 }
Popular Tags