private int id;
@Column(name = "constraint_type", nullable = false, length = 64)
- private String constraintType;
+ private String theConstraintType;
@Column(name = "description", nullable = false, length = 255)
private String description;
public ConstraintType(String constraintType) {
this();
- this.constraintType = constraintType;
+ this.theConstraintType = constraintType;
}
public ConstraintType(String constraintType, String description) {
return RANGE_TYPES;
}
+ public String getConstraintType() {
+ return theConstraintType;
+ }
+
+ public void setConstraintType(final String theConstraintType) {
+ this.theConstraintType = theConstraintType;
+ }
}