001: /*
002: * JOnAS: Java(TM) Open Application Server
003: * Copyright (C) 1999 Bull S.A.
004: * Contact: jonas-team@objectweb.org
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation; either
009: * version 2.1 of the License, or any later version.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: *
016: * You should have received a copy of the GNU Lesser General Public
017: * License along with this library; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
019: * USA
020: *
021: * Initial developer(s): Michel-Ange ANTON
022: * --------------------------------------------------------------------------
023: * $Id: ContainerItem.java 4940 2004-06-11 08:16:53Z danesa $
024: * --------------------------------------------------------------------------
025: */
026:
027: package org.objectweb.jonas.webapp.jonasadmin.service.container;
028:
029: import org.objectweb.jonas.webapp.jonasadmin.common.NameItem;
030:
031: public class ContainerItem implements NameItem {
032:
033: // --------------------------------------------------------- Properties Variables
034:
035: private String path = null;
036: private String nodeName = null;
037: private String name = null;
038: private String file = null;
039: private String objectName = null;
040:
041: // --------------------------------------------------------- Constructors
042:
043: public ContainerItem() {
044: }
045:
046: public ContainerItem(String p_File, String p_Path) {
047: setPath(p_Path);
048: setFile(p_File);
049: }
050:
051: public ContainerItem(String p_File, String p_Path,
052: String p_ObjectName, String p_Name) {
053: setPath(p_Path);
054: setFile(p_File);
055: setObjectName(p_ObjectName);
056: setName(p_Name);
057: }
058:
059: public ContainerItem(String p_File, String p_Path,
060: String p_NodeName, String p_ObjectName, String p_Name) {
061: setPath(p_Path);
062: setFile(p_File);
063: setNodeName(p_NodeName);
064: setName(p_Name);
065: setObjectName(p_ObjectName);
066: }
067:
068: // --------------------------------------------------------- Properties Methods
069:
070: public String getPath() {
071: return path;
072: }
073:
074: public void setPath(String path) {
075: this .path = path;
076: }
077:
078: public String getName() {
079: return name;
080: }
081:
082: public void setName(String name) {
083: this .name = name;
084: }
085:
086: public String getNodeName() {
087: return nodeName;
088: }
089:
090: public void setNodeName(String nodeName) {
091: this .nodeName = nodeName;
092: }
093:
094: public String getFile() {
095: return file;
096: }
097:
098: public void setFile(String file) {
099: this .file = file;
100: }
101:
102: public String getObjectName() {
103: return objectName;
104: }
105:
106: public void setObjectName(String objectName) {
107: this.objectName = objectName;
108: }
109:
110: }
|