Package opencard.opt.applet
Class CardState
- java.lang.Object
-
- opencard.opt.applet.CardState
-
public class CardState extends java.lang.ObjectEncapsulates 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 AppletIDselectedAppletID_The application identifier of the currently selected applet.
-
Constructor Summary
Constructors Modifier Constructor Description protectedCardState()Create a JavaCard state object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppletIDgetSelectedAppletID()Gets the Application Identifier of the currently selected Applet.AppletIDsetSelectedAppletID(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
-
-