Class DefaultMessageInterpolatorTest.Person

    • Field Detail

      • idNumber

        @Pattern(message="Id number should match {regexp}",
                 regexp="....$")
        public @Pattern(message="Id number should match {regexp}",regexp="....$") String idNumber
      • otherId

        @Pattern(message="Other id should match {regexp}",
                 regexp=".\\n")
        public @Pattern(message="Other id should match {regexp}",regexp=".\\n") String otherId
      • anotherValue

        @Pattern(message="Another value should match ${regexp.intern()}",
                 regexp="....$")
        public @Pattern(message="Another value should match ${regexp.intern()}",regexp="....$") String anotherValue
      • mixedMessageValue

        @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
    • Constructor Detail

      • Person

        public Person()