|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface EditableParameter
Annotation to mark a field of a class to be editable in an abstract way. To
be fully usable by the EditableParameterAccess, classes using such
fields must declare getter and setter methods for each field, using the name
given in "accessorName". For example:
@EditableParameter(accessorName = "Length", description = "...")
private Double _value;
public void setLength(Double x) {...}
public Double getLength() {...}
Primitive types are not possible, use the class variants instead. If abstract
construction is desired, a parameterless constructor must be provided.
| Required Element Summary | |
|---|---|
String |
accessorName
Name of the methods to get and set this parameter. |
| Optional Element Summary | |
|---|---|
String |
defaultValue
The defaultValue which should be set at the beginning or if a seeded value is removed. |
String |
nullable
nullable defines null is allowed (true) or not allowed (false) |
String |
range
The allowed range for this parameter. |
| Element Detail |
|---|
public abstract String accessorName
public abstract String range
public abstract String defaultValue
public abstract String nullable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||