@Target(value=FIELD)
@Retention(value=CLASS)
public @interface Unique
An annotation that indicates a member should define its SQLite column using the UNIQUE constraint. A conflict
clause may be defined, but there is none by default. Must be used in conjunction with
Column.
http://www.sqlite.org/lang_createtable.html#uniqueconst http://www.sqlite.org/syntaxdiagrams.html#column-constraint
| Modifier and Type | Optional Element and Description |
|---|---|
ConflictClause |
value
Returns a behaviour when the operation encounters a conflict.
|
public abstract ConflictClause value