|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface Mutator
Marks a specific method as a mutator of a database field. This annotation can also be (and usually is) used to manually specify a field name which corresponds to a method; as in the following example:
public Company extends Entity { // ... @Mutator("url") public void setURL(URL url); // ... }
Required Element Summary | |
---|---|
String |
value
|
Element Detail |
---|
public abstract String value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |