1 25 26 package org.objectweb.easybeans.deployment.annotations.impl; 27 28 29 33 public class JEjbEJB { 34 35 38 private String name = null; 39 40 43 private String beanInterface = null; 44 45 48 private String beanName = null; 49 50 53 private String mappedName = null; 54 55 56 60 public JEjbEJB() { 61 this.name = ""; 62 this.beanName = ""; 63 this.mappedName = null; 64 } 65 66 69 public String getName() { 70 return name; 71 } 72 73 77 public void setName(final String name) { 78 this.name = name; 79 } 80 81 84 public String getBeanName() { 85 return beanName; 86 } 87 88 92 public void setBeanName(final String beanName) { 93 this.beanName = beanName; 94 } 95 96 97 100 public String getBeanInterface() { 101 return beanInterface; 102 } 103 104 108 public void setBeanInterface(final String beanInterface) { 109 this.beanInterface = beanInterface; 110 } 111 112 113 116 public String getMappedName() { 117 return mappedName; 118 } 119 120 124 public void setMappedName(final String mappedName) { 125 this.mappedName = mappedName; 126 } 127 128 131 @Override 132 public String toString() { 133 StringBuilder sb = new StringBuilder (); 134 sb.append(this.getClass().getName().substring(this.getClass().getPackage().getName().length() + 1)); 136 137 sb.append("[name="); 139 sb.append(name); 140 141 sb.append(", mappedName="); 143 sb.append(mappedName); 144 145 sb.append(", beanInterface="); 147 sb.append(beanInterface); 148 149 sb.append(", beanName="); 151 sb.append(beanName); 152 153 sb.append("]"); 154 return sb.toString(); 155 } 156 } 157 | Popular Tags |