1 25 26 package org.objectweb.jonas.webapp.jonasadmin.resource; 27 28 import org.objectweb.jonas.webapp.jonasadmin.common.NameItem; 29 30 33 public class DestinationItem implements NameItem { 34 35 37 private String name = null; 38 private String type = null; 39 private boolean used = false; 40 41 public DestinationItem() { 42 } 43 44 public DestinationItem(String p_Name, String p_Type, boolean p_Used) { 45 setName(p_Name); 46 setType(p_Type); 47 setUsed(p_Used); 48 } 49 50 52 public String getName() { 53 return name; 54 } 55 56 public void setName(String name) { 57 this.name = name; 58 } 59 60 public String getType() { 61 return type; 62 } 63 64 public void setType(String type) { 65 this.type = type; 66 } 67 68 public boolean isUsed() { 69 return used; 70 } 71 72 public void setUsed(boolean used) { 73 this.used = used; 74 } 75 } 76 | Popular Tags |