|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface GetProperty
Marks a method as getter. Used by the view to determine which elements can be changed by the user. This is a model driven design. The value of this annotation is used to describe the field in the view.
$Id$
Required Element Summary | |
---|---|
java.lang.String |
name
Property name. |
Optional Element Summary | |
---|---|
java.lang.String |
description
A brief description about the getter method. |
int |
index
Property index. |
java.lang.String[] |
items
Returns a list of items for a given getter method. |
java.lang.String |
validationMessage
A validation error message that will be displayed upon unsuccessful validation of the input for the method containing this annotation. |
java.lang.String |
validationRegex
A regular expression pattern string to be performed as validations on the given method. |
java.lang.Class<?> |
vendorClass
Custom widget implementors can define their own widget class and pass it to the getter method. |
WidgetTypes |
widgetType
Widget type. |
Element Detail |
---|
public abstract java.lang.String name
public abstract java.lang.String description
public abstract int index
public abstract WidgetTypes widgetType
public abstract java.lang.String validationRegex
Pattern
public abstract java.lang.String validationMessage
public abstract java.lang.String[] items
ComboWidget
(
WidgetTypes.COMBO
). The default value is an empty string
array, the method is ignored for other types of widgets.
public abstract java.lang.Class<?> vendorClass
TextWidget
class.
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc für Elexis version 2.1.7.dev vom 01.09.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |