Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013

ch.elexis.exchange
Class XChangeContainer.UserChoice

java.lang.Object
  extended by ch.elexis.exchange.XChangeContainer.UserChoice
Enclosing class:
XChangeContainer

public static class XChangeContainer.UserChoice
extends java.lang.Object

A UserChoice contains the information, whether the user selected the associated object for transfer


Constructor Summary
XChangeContainer.UserChoice(boolean bSelected, java.lang.String title, java.lang.Object object)
          Create a new UserChoice
 
Method Summary
 java.lang.Object getObject()
          Get the associated object
 java.lang.String getTitle()
          get the Title to display to the user when asked for selection
 boolean isSelected()
          tell wether the object is selected for transfer
 void select(boolean bSelection)
          Include the object in the transfer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XChangeContainer.UserChoice

public XChangeContainer.UserChoice(boolean bSelected,
                                   java.lang.String title,
                                   java.lang.Object object)
Create a new UserChoice

Parameters:
bSelected - true if initially selected
title - title to display to the user in selection form
object - the object to select for transfer
Method Detail

select

public void select(boolean bSelection)
Include the object in the transfer

Parameters:
bSelection -

isSelected

public boolean isSelected()
tell wether the object is selected for transfer

Returns:

getTitle

public java.lang.String getTitle()
get the Title to display to the user when asked for selection

Returns:

getObject

public java.lang.Object getObject()
Get the associated object

Returns:

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc für Elexis version 2.1.7.dev vom 01.09.2013