public Collection match(String value, String name) {
Collection failed_constrained_list = new ArrayList();
if (value != null){
if(value.length() == 0){
String failureMessage = formatFailureMessage(toString(), name);
failed_constrained_list.add(new ConstraintFailure(toString(),
value, name, failureMessage, BundleReader.getValue(
"MSG_NonZeroLengthConstraint_Failure"))); //NOI18N
}
}
return failed_constrained_list;