public List < String > getAnnotations ( ) { AnnotationBuilder result = new AnnotationBuilder ( ) ; result . add ( // getFixedLengthAnnotation ( ) , // getLengthAnnotation ( ) , // getNotNullAnnotation ( ) , // getNotEmptyAnnotation ( ) , // getCharPaddingAnnotation ( ) , // getEmailAnnotation ( ) , // getDigitsAnnotation ( ) , // getSafeHtmlAnnotation ( ) , // getUrlAnnotation ( ) ) ; return result . getAnnotations ( ) ; }
Returns all the validation annotations for the attribute . Imports are processed automatically .