com.ecebs.rtd.enabler.types.card.itso
Enum ITSOCardType

java.lang.Object
  extended by java.lang.Enum<ITSOCardType>
      extended by com.ecebs.rtd.enabler.types.card.itso.ITSOCardType
All Implemented Interfaces:
Serializable, Comparable<ITSOCardType>

public enum ITSOCardType
extends Enum<ITSOCardType>

Used to specify the Customer Media Defintion (CMD) type of a connected, ITSO-compatible card

Author:
kyleb

Enum Constant Summary
CMD1
          Mifare Standard 1K
CMD2
          Generic micro-processor
CMD3
          Mifare standard 4K
CMD4
          Mifare ultra light
CMD5
          Innovision Jewel-0301/70
CMD6
          London Oyster
CMD7
          Mifare DESFire
CMD8
          Calypso
 
Method Summary
 boolean isSupportedByRTD()
          Check if this CMD is supported by RTD
static ITSOCardType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ITSOCardType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CMD1

public static final ITSOCardType CMD1
Mifare Standard 1K


CMD2

public static final ITSOCardType CMD2
Generic micro-processor


CMD3

public static final ITSOCardType CMD3
Mifare standard 4K


CMD4

public static final ITSOCardType CMD4
Mifare ultra light


CMD5

public static final ITSOCardType CMD5
Innovision Jewel-0301/70


CMD6

public static final ITSOCardType CMD6
London Oyster


CMD7

public static final ITSOCardType CMD7
Mifare DESFire


CMD8

public static final ITSOCardType CMD8
Calypso

Method Detail

values

public static ITSOCardType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ITSOCardType c : ITSOCardType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ITSOCardType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isSupportedByRTD

public boolean isSupportedByRTD()
Check if this CMD is supported by RTD

Returns:
True if supported, else false


Copyright © 2013 Ecebs Ltd. All Rights Reserved.