1 22 package org.jboss.resource.metadata; 23 24 30 public class ConfigPropertyMetaData extends DescriptionMetaDataContainer 31 { 32 private static final long serialVersionUID = -3247621229521854849L; 33 34 35 private String name; 36 37 38 private String type = "java.lang.String"; 39 40 41 private String value = ""; 42 43 48 public String getName() 49 { 50 return name; 51 } 52 53 58 public void setName(String name) 59 { 60 this.name = name; 61 } 62 63 68 public String getType() 69 { 70 return type; 71 } 72 73 78 public void setType(String type) 79 { 80 this.type = type; 81 } 82 83 88 public String getValue() 89 { 90 return value; 91 } 92 93 98 public void setValue(String value) 99 { 100 this.value = value; 101 } 102 103 public String toString() 104 { 105 StringBuffer buffer = new StringBuffer (); 106 buffer.append("ConfigPropertyMetaData").append('@'); 107 buffer.append(Integer.toHexString(System.identityHashCode(this))); 108 buffer.append("[name=").append(name); 109 if (type != null) 110 buffer.append(" type=").append(type); 111 if (value != null) 112 buffer.append(" value=").append(value); 113 buffer.append(" descriptions=").append(getDescriptions()); 114 buffer.append(']'); 115 return buffer.toString(); 116 } 117 } 118 | Popular Tags |