Package org.jpos.iso
Enum PosCapability.ReadingCapability
- java.lang.Object
-
- java.lang.Enum<PosCapability.ReadingCapability>
-
- org.jpos.iso.PosCapability.ReadingCapability
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PosCapability.ReadingCapability>
,PosFlags.Flag
- Enclosing class:
- PosCapability
public static enum PosCapability.ReadingCapability extends java.lang.Enum<PosCapability.ReadingCapability> implements PosFlags.Flag
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BARCODE
CONTACTLESS
DATA_ON_FILE
FALLBACK
ICC
ICC_FAILED
MAGNETIC_STRIPE
MAGNETIC_STRIPE_FAILED
PHYSICAL
TRACK1_PRESENT
TRACK2_PRESENT
UNKNOWN
-
Field Summary
Fields Modifier and Type Field Description static int
OFFSET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOffset()
int
intValue()
java.lang.String
toString()
static PosCapability.ReadingCapability
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PosCapability.ReadingCapability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final PosCapability.ReadingCapability UNKNOWN
-
CONTACTLESS
public static final PosCapability.ReadingCapability CONTACTLESS
-
PHYSICAL
public static final PosCapability.ReadingCapability PHYSICAL
-
BARCODE
public static final PosCapability.ReadingCapability BARCODE
-
MAGNETIC_STRIPE
public static final PosCapability.ReadingCapability MAGNETIC_STRIPE
-
ICC
public static final PosCapability.ReadingCapability ICC
-
DATA_ON_FILE
public static final PosCapability.ReadingCapability DATA_ON_FILE
-
ICC_FAILED
public static final PosCapability.ReadingCapability ICC_FAILED
-
MAGNETIC_STRIPE_FAILED
public static final PosCapability.ReadingCapability MAGNETIC_STRIPE_FAILED
-
FALLBACK
public static final PosCapability.ReadingCapability FALLBACK
-
TRACK1_PRESENT
public static final PosCapability.ReadingCapability TRACK1_PRESENT
-
TRACK2_PRESENT
public static final PosCapability.ReadingCapability TRACK2_PRESENT
-
-
Field Detail
-
OFFSET
public static int OFFSET
-
-
Method Detail
-
values
public static PosCapability.ReadingCapability[] 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 (PosCapability.ReadingCapability c : PosCapability.ReadingCapability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PosCapability.ReadingCapability valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
intValue
public int intValue()
- Specified by:
intValue
in interfacePosFlags.Flag
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<PosCapability.ReadingCapability>
-
getOffset
public int getOffset()
- Specified by:
getOffset
in interfacePosFlags.Flag
-
-