ch.elexis.befunde
Class DataAccessor
java.lang.Object
ch.elexis.befunde.DataAccessor
- All Implemented Interfaces:
- IDataAccess
public class DataAccessor
- extends java.lang.Object
- implements IDataAccess
Access data stored in Befunde Access syntax is: Befunde-Data:Patient:all:BD
- Author:
- gerry
- See Also:
IDataAccess
Method Summary |
java.lang.String |
getDescription()
Short description to the data accessor |
java.util.List<IDataAccess.Element> |
getList()
return a list of all data provided by this interface |
java.lang.String |
getName()
Name of the data accessor to display |
Result<java.lang.Object> |
getObject(java.lang.String descriptor,
PersistentObject dependentObject,
java.lang.String dates,
java.lang.String[] params)
return the Object denoted by the given description |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataAccessor
public DataAccessor()
getDescription
public java.lang.String getDescription()
- Description copied from interface:
IDataAccess
- Short description to the data accessor
- Specified by:
getDescription
in interface IDataAccess
getName
public java.lang.String getName()
- Description copied from interface:
IDataAccess
- Name of the data accessor to display
- Specified by:
getName
in interface IDataAccess
getList
public java.util.List<IDataAccess.Element> getList()
- Description copied from interface:
IDataAccess
- return a list of all data provided by this interface
- Specified by:
getList
in interface IDataAccess
- Returns:
- a (possibly empty) List of Elements
getObject
public Result<java.lang.Object> getObject(java.lang.String descriptor,
PersistentObject dependentObject,
java.lang.String dates,
java.lang.String[] params)
- return the Object denoted by the given description
- Specified by:
getObject
in interface IDataAccess
- Parameters:
descriptor
- descrion of the data: dataname.row if row is omitted: all rowsdependentObject
- ad this time, only Patient is supporteddates
- one off all,first, last,dateparams
- not used
- Returns:
- some object depending of the request
Copyright 2005-2011 by Gerry Weirich, Elexis