public enum MarginReadResult extends java.lang.Enum<MarginReadResult>
Enum Constant and Description |
---|
Failure
The operation failed.
|
IncorrectPasswordError
The operation failed because an incorrect password was supplied.
|
InsufficientPower
There was insufficient power to perform the operation.
|
NonspecificReaderError
The reader operation failed for an unknown reason.
|
NonspecificTagError
The tag operation failed for an unknown reason.
|
NoResponseFromTag
The operation failed because the reader did not receive a response from
the tag.
|
Success
The operation was successful.
|
TagMemoryLockedError
The operation failed because it attempted to access memory that is
locked.
|
TagMemoryOverrunError
The operation failed because it attempted to access memory outside of
the valid range.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static MarginReadResult |
valueOf(int marginReadResultValue) |
static MarginReadResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarginReadResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarginReadResult Success
public static final MarginReadResult Failure
public static final MarginReadResult InsufficientPower
public static final MarginReadResult NonspecificTagError
public static final MarginReadResult NoResponseFromTag
public static final MarginReadResult NonspecificReaderError
public static final MarginReadResult IncorrectPasswordError
public static final MarginReadResult TagMemoryOverrunError
public static final MarginReadResult TagMemoryLockedError
public static MarginReadResult[] values()
for (MarginReadResult c : MarginReadResult.values()) System.out.println(c);
public static MarginReadResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static MarginReadResult valueOf(int marginReadResultValue)
marginReadResultValue
- an integer valuepublic int getValue()