public static class DefaultMessageInterpolatorTest.Person extends Object
Modifier and Type | Field and Description |
---|---|
@Pattern(message="Another value should match ${regexp.intern()}",regexp="....$") String |
anotherValue |
@Pattern(message="Id number should match {regexp}",regexp="....$") String |
idNumber |
@Pattern(message="Mixed message value of length ${validatedValue.length()} should match {regexp}",regexp="....$") String |
mixedMessageValue |
@Pattern(message="Other id should match {regexp}",regexp=".\\n") String |
otherId |
Constructor and Description |
---|
Person() |
@Pattern(message="Id number should match {regexp}", regexp="....$") public @Pattern(message="Id number should match {regexp}",regexp="....$") String idNumber
@Pattern(message="Other id should match {regexp}", regexp=".\\n") public @Pattern(message="Other id should match {regexp}",regexp=".\\n") String otherId
@Pattern(message="Another value should match ${regexp.intern()}", regexp="....$") public @Pattern(message="Another value should match ${regexp.intern()}",regexp="....$") String anotherValue
@Pattern(message="Mixed message value of length ${validatedValue.length()} should match {regexp}", regexp="....$") public @Pattern(message="Mixed message value of length ${validatedValue.length()} should match {regexp}",regexp="....$") String mixedMessageValue
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.