@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); // ... }
public abstract String value
Copyright © 2007–2021 Atlassian. All rights reserved.