I\'m a little new to the Java 5 annotations and I\'m curious if either of these are possible:
This annotation would generate a simple getter and setter for you.
There is project named OVal and i think it does what you want. http://oval.sourceforge.net/
If i remeber right for advance thing AspectJ is needed, however simple check work without AspectJ. check it out.
There is also Hibernate Validator, check it out too :P