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

## net.java.ao.schema
Annotation Type Unique

    @Retention(value=RUNTIME)
    @Target(value=METHOD)
    public @interface Unique

Marks a method such that the corresponding database field will have a UNIQUE constraint. This constraint is implemented within the underlying database and is not enforced by ActiveObjects itself.

This annotation is only relevant to migrations. It has no effect upon "runtime" entity usage.

Author:
  Daniel Spiewak

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

Copyright © 2007-2011. All Rights Reserved.