Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.openjpa.example.gallery.constraint
Annotation Type ImageConstraint

    @Documented
    @Constraint(validatedBy=ImageValidator.class)
    @Target(value=TYPE)
    @Retention(value=RUNTIME)
    public @interface ImageConstraint

Type-level annotation used to specify an image constraint. Uses ImageValidator to perform the validation.

Optional Element Summary
`Class<?>[]` | `groups`
`String` | `message`
`Class<? extends Payload>[]` | `payload`
`ImageType[]` | `value`

### message

    public abstract String message

  Default:
    "Image data is not a supported format."

### groups

    public abstract Class<?>[] groups

  Default:
    {}

### payload

    public abstract Class<? extends Payload>[] payload

  Default:
    {}

### value

    public abstract ImageType[] value

  Default:
    {org.apache.openjpa.example.gallery.ImageType.GIF, org.apache.openjpa.example.gallery.ImageType.JPEG}

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.