Elexis API documentation
Version 2.1.6 as of December 11 2011

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

Author:
gerry

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
equals, 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 API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis