1 25 26 package org.objectweb.easybeans.deployment.annotations.impl; 27 28 29 33 public class JCommonBean { 34 35 38 private String name = null; 39 40 43 private String mappedName = null; 44 45 48 private String description = null; 49 50 53 public JCommonBean() { 54 55 } 56 57 60 public String getDescription() { 61 return description; 62 } 63 64 68 public void setDescription(final String description) { 69 this.description = description; 70 } 71 72 75 public String getMappedName() { 76 return mappedName; 77 } 78 79 83 public void setMappedName(final String mappedName) { 84 this.mappedName = mappedName; 85 } 86 87 90 public String getName() { 91 return name; 92 } 93 94 98 public void setName(final String name) { 99 this.name = name; 100 } 101 102 105 @Override 106 public String toString() { 107 StringBuilder sb = new StringBuilder (); 108 sb.append(this.getClass().getName().substring(this.getClass().getPackage().getName().length() + 1)); 110 111 sb.append("[name="); 113 sb.append(name); 114 115 sb.append("[mappedName="); 117 sb.append(mappedName); 118 119 sb.append("[description="); 121 sb.append(description); 122 123 sb.append("]"); 124 return sb.toString(); 125 } 126 } 127 | Popular Tags |