|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Insert
Indicates that this method inserts entities.
The method must have only one parameter. This parameter is for the entity that is going to be inserted.
This annotation should only be used on classes that
are annotated with the Dao annotation.
| Optional Element Summary | |
|---|---|
boolean |
isDefault
If this method is the default insert method of the DAO. |
java.lang.String |
name
The name of the insert operation. |
public abstract java.lang.String name
public abstract boolean isDefault
Delete annotation is
present then that method is automatically the default method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||