Package net.java.ao

Annotation Type Mutator


@Retention(RUNTIME) @Target(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);
     // ...
 }
Author:
Daniel Spiewak
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details