1 26 27 package org.nextime.ion.frontoffice.bean; 28 29 public class PropertyBean { 30 31 private String label; 32 private String name; 33 private String regexp; 34 private String type; 35 private String errorMessage; 36 private String required; 37 38 public void setSectionType( TypeBean type ) { 39 type.addProperty(this); 40 } 41 42 46 public String getErrorMessage() { 47 return errorMessage; 48 } 49 50 51 55 public String getLabel() { 56 return label; 57 } 58 59 60 64 public String getName() { 65 return name; 66 } 67 68 69 73 public String getRegexp() { 74 return regexp; 75 } 76 77 78 82 public String getRequired() { 83 return required; 84 } 85 86 87 91 public String getType() { 92 return type; 93 } 94 95 96 100 public void setErrorMessage(String errorMessage) { 101 this.errorMessage = errorMessage; 102 } 103 104 105 109 public void setLabel(String label) { 110 this.label = label; 111 } 112 113 114 118 public void setName(String name) { 119 this.name = name; 120 } 121 122 123 127 public void setRegexp(String regexp) { 128 this.regexp = regexp; 129 } 130 131 132 136 public void setRequired(String required) { 137 this.required = required; 138 } 139 140 141 145 public void setType(String type) { 146 this.type = type; 147 } 148 149 150 } 151 | Popular Tags |