ContainerItem.java

00001 /*
00002  * JOnAS: Java(TM) Open Application Server
00003  * Copyright (C) 1999 Bull S.A.
00004  * Contact: jonas-team@objectweb.org
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00019  * USA
00020  *
00021  * Initial developer(s): Michel-Ange ANTON
00022  * --------------------------------------------------------------------------
00023  * $Id: ContainerItem.java,v 1.7 2004/06/11 08:16:52 danesa Exp $
00024  * --------------------------------------------------------------------------
00025  */
00026 
00027 package org.objectweb.jonas.webapp.jonasadmin.service.container;
00028 
00029 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem;
00030 
00031 public class ContainerItem implements NameItem {
00032 
00033 // --------------------------------------------------------- Properties Variables
00034 
00035     private String path = null;
00036     private String nodeName = null;
00037     private String name = null;
00038     private String file = null;
00039     private String objectName = null;
00040     
00041 
00042 // --------------------------------------------------------- Constructors
00043 
00044     public ContainerItem() {
00045     }
00046 
00047     public ContainerItem(String p_File, String p_Path) {
00048         setPath(p_Path);
00049         setFile(p_File);
00050     }
00051 
00052     public ContainerItem(String p_File, String p_Path, String p_ObjectName, String p_Name) {
00053         setPath(p_Path);
00054         setFile(p_File);
00055         setObjectName(p_ObjectName);       
00056         setName(p_Name);
00057     }
00058 
00059     public ContainerItem(String p_File, String p_Path, String p_NodeName, String p_ObjectName, String p_Name) {
00060         setPath(p_Path);
00061         setFile(p_File);
00062         setNodeName(p_NodeName);
00063         setName(p_Name);
00064         setObjectName(p_ObjectName);
00065     }
00066 
00067 // --------------------------------------------------------- Properties Methods
00068 
00069     public String getPath() {
00070         return path;
00071     }
00072 
00073     public void setPath(String path) {
00074         this.path = path;
00075     }
00076 
00077     public String getName() {
00078         return name;
00079     }
00080 
00081     public void setName(String name) {
00082         this.name = name;
00083     }
00084 
00085     public String getNodeName() {
00086         return nodeName;
00087     }
00088 
00089     public void setNodeName(String nodeName) {
00090         this.nodeName = nodeName;
00091     }
00092 
00093     public String getFile() {
00094         return file;
00095     }
00096 
00097     public void setFile(String file) {
00098         this.file = file;
00099     }
00100 
00101     public String getObjectName() {
00102         return objectName;
00103     }
00104 
00105     public void setObjectName(String objectName) {
00106         this.objectName = objectName;
00107     }
00108 
00109 }

Generated on Tue Feb 15 15:05:31 2005 for JOnAS by  doxygen 1.3.9.1