|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented @Inherited public @interface Setter
Mark a method as being one of the setter methods on a
DataRecord required to be called by a RecordLoader
object.
If the method name begins with one of the following words, the getter name can be omitted if it follows the form setX (in this order of preference):
If both method names do not follow this pattern, a compatible getter must be specified.
The setter must take a single input value of the same type as the return value of the getter.
| Optional Element Summary | |
|---|---|
String |
getter
Specify an override name for a getter, if the getter and setter names cannot be automatically mapped. |
public abstract String getter
Specify an override name for a getter, if the getter and setter names cannot be automatically mapped.
Leaving at the default of "" will search for a matching getter name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||