1 25 26 package org.objectweb.jonas.webapp.jonasadmin.service; 27 28 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem; 29 30 33 public class ServiceItem implements NameItem { 34 35 37 private String name = null; 38 private boolean deployed = false; 39 private String forward; 40 41 43 public ServiceItem(String p_Name, boolean p_Deployed, String p_Forward) { 44 setName(p_Name); 45 setDeployed(p_Deployed); 46 if (isDeployed() == true) { 47 setForward(p_Forward); 48 } 49 } 50 51 53 public String getName() { 54 return name; 55 } 56 57 public void setName(String name) { 58 this.name = name; 59 } 60 61 public boolean isDeployed() { 62 return deployed; 63 } 64 65 public void setDeployed(boolean deployed) { 66 this.deployed = deployed; 67 } 68 69 public String getForward() { 70 return forward; 71 } 72 73 public void setForward(String forward) { 74 this.forward = forward; 75 } 76 } | Popular Tags |