Package opencard.opt.applet
Class CardState
- java.lang.Object
-
- opencard.opt.applet.CardState
-
public class CardState extends java.lang.Object
Encapsulates the state of a multi-applicative card. All instances of the class BasicAppletCardService associated with the same physical card share a common state object to ensure a consistent view.- Since:
- OCF1.2
- Author:
- Thomas Schaeck (schaeck@de.ibm.com), Frank Seliger (seliger@de.ibm.com, Christophe.Muller@research.gemplus.com
-
-
Field Summary
Fields Modifier and Type Field Description protected AppletID
selectedAppletID_
The application identifier of the currently selected applet.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CardState()
Create a JavaCard state object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppletID
getSelectedAppletID()
Gets the Application Identifier of the currently selected Applet.AppletID
setSelectedAppletID(AppletID newAppletID)
Sets the Application Identifier of the currently selected card applet.
-
-
-
Field Detail
-
selectedAppletID_
protected AppletID selectedAppletID_
The application identifier of the currently selected applet.
-
-
Method Detail
-
getSelectedAppletID
public AppletID getSelectedAppletID()
Gets the Application Identifier of the currently selected Applet.- Returns:
- application ID of selected Applet
-
-