|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopencard.core.service.CardType
public class CardType
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.
CardID
,
CardServiceFactory
Field Summary | |
---|---|
static CardType |
UNSUPPORTED
Reserved instance of card type to be used for cards that are not supported by a card service factory. |
Constructor Summary | |
---|---|
CardType()
Default constructor |
|
CardType(int type)
Constructor from integer. |
Method Summary | |
---|---|
java.lang.Object |
getInfo()
|
int |
getType()
Accessor for numeric type |
void |
setInfo(java.lang.Object cardInfo)
Attach additional information with the CardType that can be used when instantiating card services. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static CardType UNSUPPORTED
Constructor Detail |
---|
public CardType()
public CardType(int type)
Method Detail |
---|
public int getType()
public void setInfo(java.lang.Object cardInfo)
public java.lang.Object getInfo()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |