Package org.apache.bval.jsr.example
Class Engine
- java.lang.Object
-
- org.apache.bval.jsr.example.Engine
-
public class Engine extends Object
-
-
Field Summary
Fields Modifier and Type Field Description @Pattern(regexp="^[A-Z0-9-]+$",flags=CASE_INSENSITIVE,message="must contain alphabetical characters only") @Pattern(regexp="^....-....-....$",message="must match ....-....-....") String
serialNumber
-
Constructor Summary
Constructors Constructor Description Engine()
-
-
-
Field Detail
-
serialNumber
@Pattern(regexp="^[A-Z0-9-]+$",flags=CASE_INSENSITIVE,message="must contain alphabetical characters only") @Pattern(regexp="^....-....-....$",message="must match ....-....-....") public @Pattern(regexp="^[A-Z0-9-]+$",flags=CASE_INSENSITIVE,message="must contain alphabetical characters only") @Pattern(regexp="^....-....-....$",message="must match ....-....-....") String serialNumber
-
-