2015-09-07 11:44:36 -06:00
|
|
|
// annotations/database/Uniqueness.java
|
2015-06-15 17:47:35 -07:00
|
|
|
// Sample of nested annotations
|
|
|
|
package annotations.database;
|
|
|
|
|
|
|
|
public @interface Uniqueness {
|
|
|
|
Constraints constraints()
|
|
|
|
default @Constraints(unique=true);
|
2015-09-07 11:44:36 -06:00
|
|
|
}
|