|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJob
ch.elexis.actions.BackgroundJob
waelti.statistics.queries.AbstractQuery
public abstract class AbstractQuery
This abstract class represents all queries. A query returns a matrix containing all information
which are computed. The Headings are used to identify the information of each column.
The view for each query is constructed by a meta model which checks all classes for getter/setter
methods annotated with the SetProperty and GetProperty annotations. For each getter/setter pair
there is one text field displayed. All parameters and return values of the annotated methods have
to be strings. These methods may throw a SetDataException if the setter parameter received from
the text field is wrongly formatted. The error message of the exception will be displayed to the
user. For a detailed example see Consultations.
SetProperty
,
GetProperty
,
Consultations
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ch.elexis.actions.BackgroundJob |
---|
BackgroundJob.BackgroundJobListener |
Method Summary | |
---|---|
abstract IStatus |
execute(IProgressMonitor monitor)
This method is used to actually execute the query. |
IStructuredContentProvider |
getContentProvider()
Returns a content provider containing the model which is represented by this query. |
abstract java.lang.String |
getDescription()
a short description to be displayed in the query dialog by the metamodel. |
java.lang.String |
getHeader()
Returns a string which describes the actual query with all its settings. |
ITableLabelProvider |
getLabelProvider()
Returns the query's output as a label provider |
ResultMatrix |
getMatrix()
Returns a result matrix object. |
abstract java.util.List<java.lang.String> |
getTableHeadings()
Returns the list containing of all columns header, e.g. for a table. |
abstract java.lang.String |
getTitle()
getName() used by BackgroundJob. |
Methods inherited from class ch.elexis.actions.BackgroundJob |
---|
addListener, getData, getJobname, getSize, invalidate, isValid, removeListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract java.util.List<java.lang.String> getTableHeadings()
public java.lang.String getHeader()
public abstract java.lang.String getTitle()
public abstract java.lang.String getDescription()
public abstract IStatus execute(IProgressMonitor monitor)
execute
in class BackgroundJob
public IStructuredContentProvider getContentProvider()
public ITableLabelProvider getLabelProvider()
public ResultMatrix getMatrix()
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |