KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > webapp > jonasadmin > service > container > ContainerItem


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  * Initial developer(s): Michel-Ange ANTON
22  * --------------------------------------------------------------------------
23  * $Id: ContainerItem.java,v 1.7 2004/06/11 08:16:52 danesa Exp $
24  * --------------------------------------------------------------------------
25  */

26
27 package org.objectweb.jonas.webapp.jonasadmin.service.container;
28
29 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem;
30
31 public class ContainerItem implements NameItem {
32
33 // --------------------------------------------------------- Properties Variables
34

35     private String JavaDoc path = null;
36     private String JavaDoc nodeName = null;
37     private String JavaDoc name = null;
38     private String JavaDoc file = null;
39     private String JavaDoc objectName = null;
40     
41
42 // --------------------------------------------------------- Constructors
43

44     public ContainerItem() {
45     }
46
47     public ContainerItem(String JavaDoc p_File, String JavaDoc p_Path) {
48         setPath(p_Path);
49         setFile(p_File);
50     }
51
52     public ContainerItem(String JavaDoc p_File, String JavaDoc p_Path, String JavaDoc p_ObjectName, String JavaDoc p_Name) {
53         setPath(p_Path);
54         setFile(p_File);
55         setObjectName(p_ObjectName);
56         setName(p_Name);
57     }
58
59     public ContainerItem(String JavaDoc p_File, String JavaDoc p_Path, String JavaDoc p_NodeName, String JavaDoc p_ObjectName, String JavaDoc p_Name) {
60         setPath(p_Path);
61         setFile(p_File);
62         setNodeName(p_NodeName);
63         setName(p_Name);
64         setObjectName(p_ObjectName);
65     }
66
67 // --------------------------------------------------------- Properties Methods
68

69     public String JavaDoc getPath() {
70         return path;
71     }
72
73     public void setPath(String JavaDoc path) {
74         this.path = path;
75     }
76
77     public String JavaDoc getName() {
78         return name;
79     }
80
81     public void setName(String JavaDoc name) {
82         this.name = name;
83     }
84
85     public String JavaDoc getNodeName() {
86         return nodeName;
87     }
88
89     public void setNodeName(String JavaDoc nodeName) {
90         this.nodeName = nodeName;
91     }
92
93     public String JavaDoc getFile() {
94         return file;
95     }
96
97     public void setFile(String JavaDoc file) {
98         this.file = file;
99     }
100
101     public String JavaDoc getObjectName() {
102         return objectName;
103     }
104
105     public void setObjectName(String JavaDoc objectName) {
106         this.objectName = objectName;
107     }
108
109 }
110
Popular Tags