ds.ov2.util
Enum Card_terminal.Terminal_type

java.lang.Object
  extended by java.lang.Enum<Card_terminal.Terminal_type>
      extended by ds.ov2.util.Card_terminal.Terminal_type
All Implemented Interfaces:
Serializable, Comparable<Card_terminal.Terminal_type>
Enclosing class:
Card_terminal

public static enum Card_terminal.Terminal_type
extends Enum<Card_terminal.Terminal_type>

Enumeration type for card terminals and emulators.


Enum Constant Summary
JCOP_EMULATOR
          The emulator from the jcop tools.
PCSC_TERMINAL
          A real card terminal, connected via PC/SC drivers.
SUN_EMULATOR
          One of the emulators from SUN, either cref or jcwde.
 
Method Summary
static Card_terminal.Terminal_type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Card_terminal.Terminal_type[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PCSC_TERMINAL

public static final Card_terminal.Terminal_type PCSC_TERMINAL
A real card terminal, connected via PC/SC drivers.


SUN_EMULATOR

public static final Card_terminal.Terminal_type SUN_EMULATOR
One of the emulators from SUN, either cref or jcwde.


JCOP_EMULATOR

public static final Card_terminal.Terminal_type JCOP_EMULATOR
The emulator from the jcop tools.

Method Detail

values

public static Card_terminal.Terminal_type[] 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 (Card_terminal.Terminal_type c : Card_terminal.Terminal_type.values())
    System.out.println(c);

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

valueOf

public static Card_terminal.Terminal_type 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