Package org.apache.bval.jsr
Class PayloadTest.Address
- java.lang.Object
-
- org.apache.bval.jsr.PayloadTest.Address
-
- Enclosing class:
- PayloadTest
static class PayloadTest.Address extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull(message="the city is mandatory",payload=Error.class) String
getCity()
@NotNull(message="would be nice if we had one",payload=Info.class) String
getZipCode()
-
-
-
Method Detail
-
getZipCode
@NotNull(message="would be nice if we had one", payload=Info.class) public @NotNull(message="would be nice if we had one",payload=Info.class) String getZipCode()
-
getCity
@NotNull(message="the city is mandatory", payload=Error.class) public @NotNull(message="the city is mandatory",payload=Error.class) String getCity()
-
-