Enum Class ElementaryFile.Type

java.lang.Object
java.lang.Enum<ElementaryFile.Type>
org.eclipse.keypop.calypso.card.card.ElementaryFile.Type
All Implemented Interfaces:
Serializable, Comparable<ElementaryFile.Type>, Constable
Enclosing interface:
ElementaryFile

public static enum ElementaryFile.Type extends Enum<ElementaryFile.Type>
The different types of EF.
Since:
1.0.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A "binary" EF contains a single continuous sequence of data bytes from byte #0 (first byte) to byte #N−1 (last byte, for a "binary" file of N bytes).
    A Counters EF is made of a single record containing an ordered sequence of K counters of three bytes each, from counter #1 (bytes at offsets 0, 1 and 2 of the record) to counter #K.
    A "cyclic" EF is made of 1 to several records organized in a cycle, from the most recent (record #1) to the oldest.
    A "linear" EF is made of 1 to several records.
    A Simulated "counter" EF is a "linear" file with a single record.
    Simulated Counter EFs are present for compatibility with the Calypso Revision 2 access to simulated individual counters.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • LINEAR

      public static final ElementaryFile.Type LINEAR
      A "linear" EF is made of 1 to several records.
      Since:
      1.0.0
    • BINARY

      public static final ElementaryFile.Type BINARY
      A "binary" EF contains a single continuous sequence of data bytes from byte #0 (first byte) to byte #N−1 (last byte, for a "binary" file of N bytes).
      Since:
      1.0.0
    • CYCLIC

      public static final ElementaryFile.Type CYCLIC
      A "cyclic" EF is made of 1 to several records organized in a cycle, from the most recent (record #1) to the oldest.
      Since:
      1.0.0
    • COUNTERS

      public static final ElementaryFile.Type COUNTERS
      A Counters EF is made of a single record containing an ordered sequence of K counters of three bytes each, from counter #1 (bytes at offsets 0, 1 and 2 of the record) to counter #K.
      Since:
      1.0.0
    • SIMULATED_COUNTERS

      public static final ElementaryFile.Type SIMULATED_COUNTERS
      A Simulated "counter" EF is a "linear" file with a single record.
      Simulated Counter EFs are present for compatibility with the Calypso Revision 2 access to simulated individual counters.
      Since:
      1.0.0
  • Method Details

    • values

      public static ElementaryFile.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ElementaryFile.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null