1 26 27 package org.objectweb.jonas.webapp.jonasadmin.service.resource; 28 29 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem; 30 31 public class ResourceItem implements NameItem { 32 33 35 private String path = null; 36 private String nodeName = null; 37 private String name = null; 38 private String file = null; 39 private String objectName = null; 40 41 42 44 public ResourceItem() { 45 } 46 47 public ResourceItem(String p_File, String p_Path) { 48 setPath(p_Path); 49 setFile(p_File); 50 } 51 52 public ResourceItem(String p_File, String p_Path, String p_ObjectName, String p_Name) { 53 setPath(p_Path); 54 setFile(p_File); 55 setObjectName(p_ObjectName); 56 setName(p_Name); 57 } 58 59 public ResourceItem(String p_File, String p_Path, String p_NodeName, String p_ObjectName, String 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 69 public String getPath() { 70 return path; 71 } 72 73 public void setPath(String path) { 74 this.path = path; 75 } 76 77 public String getName() { 78 return name; 79 } 80 81 public void setName(String name) { 82 this.name = name; 83 } 84 85 public String getNodeName() { 86 return nodeName; 87 } 88 89 public void setNodeName(String nodeName) { 90 this.nodeName = nodeName; 91 } 92 93 public String getFile() { 94 return file; 95 } 96 97 public void setFile(String file) { 98 this.file = file; 99 } 100 101 public String getObjectName() { 102 return objectName; 103 } 104 105 public void setObjectName(String objectName) { 106 this.objectName = objectName; 107 } 108 109 } 110 | Popular Tags |