ijgen.generator.annotations
Annotation Type Primary


@Target(value=FIELD)
@Retention(value=RUNTIME)
public @interface Primary

Annotation indicating that marked field is a primary key for this class. Please note that only one field for a class could be marked with this annotation. If you have multiple fields marked by this annotation you will receive an error by the generator.

Author:
Detelin Zlatev



Copyright © 2010 Detelin Zlatev. All Rights Reserved.