1 package org.nextime.ion.backoffice.bean; 2 3 public class PropertyBean { 4 5 private String label; 6 private String name; 7 private String regexp; 8 private String type; 9 private String errorMessage; 10 private String required; 11 12 public void setSectionType( TypeBean type ) { 13 type.addProperty(this); 14 } 15 16 20 public String getErrorMessage() { 21 return errorMessage; 22 } 23 24 25 29 public String getLabel() { 30 return label; 31 } 32 33 34 38 public String getName() { 39 return name; 40 } 41 42 43 47 public String getRegexp() { 48 return regexp; 49 } 50 51 52 56 public String getRequired() { 57 return required; 58 } 59 60 61 65 public String getType() { 66 return type; 67 } 68 69 70 74 public void setErrorMessage(String errorMessage) { 75 this.errorMessage = errorMessage; 76 } 77 78 79 83 public void setLabel(String label) { 84 this.label = label; 85 } 86 87 88 92 public void setName(String name) { 93 this.name = name; 94 } 95 96 97 101 public void setRegexp(String regexp) { 102 this.regexp = regexp; 103 } 104 105 106 110 public void setRequired(String required) { 111 this.required = required; 112 } 113 114 115 119 public void setType(String type) { 120 this.type = type; 121 } 122 123 124 } 125 | Popular Tags |