Package opencard.core.service
Class CardType
- java.lang.Object
-
- opencard.core.service.CardType
-
public class CardType extends java.lang.Object
Type of a card as determined by a cardservice factory. The CardID represents the ATR of a unique card while the CardType represents a classification of cards according to the card classification scheme used by the cardservice factory. In most cases the card service factory will simply use a numeric value to classify a card. Optionally any information describing the card type can be attached using setCardInfo.- Author:
- Peter Bendel (peter_bendel@de.ibm.com)
- See Also:
CardID
,CardServiceFactory
-
-
Field Summary
Fields Modifier and Type Field Description static CardType
UNSUPPORTED
Reserved instance of card type to be used for cards that are not supported by a card service factory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getInfo()
int
getType()
Accessor for numeric typevoid
setInfo(java.lang.Object cardInfo)
Attach additional information with the CardType that can be used when instantiating card services.
-
-
-
Field Detail
-
UNSUPPORTED
public static CardType UNSUPPORTED
Reserved instance of card type to be used for cards that are not supported by a card service factory.
-
-