org.apache.cayenne.annotations.validators
Annotation Type LowerCase


@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER,METHOD})
@Constraint(check=LowerCaseCheck.class)
public @interface LowerCase

Checks that the annotated field is all lower case


Optional Element Summary
 java.lang.String message
          message to be used for the ConstraintsViolatedException
 

message

public abstract java.lang.String message
message to be used for the ConstraintsViolatedException

Returns:
String for the message
See Also:
ConstraintsViolatedException
Default:
"cayenne-lowercase-message"


Copyright © 2007. All Rights Reserved.