this.value = value;
}
public PropertyConstraint getPropertyConstraint(String propertyName) {
if (isRangeConstraint()) {
return new PropertyValueConstraint("value", new StringLengthConstraint(minLength, maxLength,
"rangeConstraint"));
}
return new PropertyValueConstraint("value", new StringLengthConstraint(relationalOperator, length));
}