|
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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elexis.data.PersistentObject
ch.elexis.data.LabGroup
public class LabGroup
A LabGroup is a named collection of LabItem elements.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ch.elexis.data.PersistentObject |
---|
PersistentObject.FieldType |
Field Summary |
---|
Fields inherited from class ch.elexis.data.PersistentObject |
---|
CACHE_DEFAULT_LIFETIME, CACHE_MIN_LIFETIME, CFG_CONNECTSTRING, CFG_DRIVER, CFG_FOLDED_CONNECTION, CFG_PWD, CFG_TYPE, CFG_USER, DATE_COMPOUND, default_lifetime, DELETED, EXISTS, FLD_DATE, FLD_DELETED, FLD_EXTINFO, FLD_LASTUPDATE, INEXISTENT, INVALID_ID, log, MAPPING_ERROR_MARKER, MATCH_AUTO, MATCH_CONTAINS, MATCH_EXACT, MATCH_REGEXP, MATCH_START |
Fields inherited from interface ch.elexis.core.data.IPersistentObject |
---|
FLD_ID, STATE_EXISTING, STATE_INEXISTENT, STATE_INVALID_ID |
Constructor Summary | |
---|---|
protected |
LabGroup()
Der parameterlose Konstruktor wird nur von der Factory gebraucht und sollte nie public sein. |
protected |
LabGroup(java.lang.String id)
|
|
LabGroup(java.lang.String name,
java.util.List<LabItem> items)
Creates an new LabGroup with an initial list of entries. |
Method Summary | |
---|---|
void |
addItem(LabItem item)
Adds a new item to this group |
void |
addItems(java.util.List<LabItem> items)
Add a list of items to add to this group. |
int |
compareTo(LabGroup arg0)
Compare the names of two groups |
boolean |
delete()
Ein Objekt und ggf. dessen XID's aus der Datenbank löschen the object is not deleted but rather marked as deleted. |
java.util.List<LabItem> |
getItems()
Returns the list of items of this group |
java.lang.String |
getLabel()
Einen menschenlesbaren Identifikationsstring für dieses Objet liefern |
java.lang.String |
getName()
Get the name of this LabGroup; |
protected java.lang.String |
getTableName()
Jede abgeleitete Klasse muss deklarieren, in welcher Tabelle sie gespeichert werden will. |
static LabGroup |
load(java.lang.String id)
|
void |
removeAll()
Removes all items of this group |
void |
removeItem(LabItem item)
Remove an item from this group |
void |
setItems(java.util.List<LabItem> items)
Add a new set of items to this group. |
void |
setName(java.lang.String name)
Set the name of this LabGroup; |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected LabGroup()
protected LabGroup(java.lang.String id)
public LabGroup(java.lang.String name, java.util.List<LabItem> items)
null
toe
create an empty LabGroup
name
- the name of the LabGroupitems
- the initiall list of items (may be null)Method Detail |
---|
protected java.lang.String getTableName()
PersistentObject
getTableName
in class PersistentObject
public boolean delete()
PersistentObject
delete
in class PersistentObject
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the LabGrouppublic static LabGroup load(java.lang.String id)
public java.lang.String getLabel()
PersistentObject
getLabel
in interface IPersistentObject
getLabel
in class PersistentObject
public int compareTo(LabGroup arg0)
compareTo
in interface java.lang.Comparable<LabGroup>
public java.util.List<LabItem> getItems()
public void addItem(LabItem item)
item
- the new item to be addedpublic void addItems(java.util.List<LabItem> items)
items
- the items to be addedpublic void setItems(java.util.List<LabItem> items)
items
- the new items to be addedpublic void removeItem(LabItem item)
item
- the item to be removedpublic void removeAll()
|
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: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |