Enum Class PropertyType
- All Implemented Interfaces:
Serializable, Comparable<PropertyType>, Constable
Type of the value of a
Message
property.
Property Type | ISO 8583 Format | Name Suffix | Name Sample |
---|---|---|---|
BIG_DECIMAL |
Numeric 9(mm)V(nn) (nn > 0) | _BD |
TRANSACTION_AMOUNT_BD |
BIG_INTEGER |
Numeric n..xx (xx > 19) | _BI |
ORIGINAL_DATA_ELEMENTS_BI |
BOOLEAN |
N/A | _BV |
HAS_FUNDS_BV |
BYTE |
Numeric n..xx (xx ≤ 2) | _B |
SETTLEMENT_CODE_B |
BYTE_ARRAY |
Binary b…xxx (any xxx) | _BA |
MESSAGE_SECURITY_CODE_BA |
DATE |
Numeric YYMM, MMDD, hhmmss | _D |
LOCAL_TRANSACTION_DATE_D |
DOUBLE |
Numeric 9(mm)V(nn) (nn > 0) | _DP |
TRANSACTION_AMOUNT_DP |
FLOAT |
Numeric 9(mm)V(nn) (nn > 0) | _SP |
TRANSACTION_AMOUNT_SP |
INTEGER |
Numeric n..xx (xx ≤ 9) | _I |
PROCESSING_CODE_I |
LONG |
Numeric n..xx (xx ≤ 19) | _L |
AUTHORIZATIONS_NUMBER_L |
OBJECT |
N/A | _O |
TRACK_2_DATA_O |
SHORT |
Numeric n..xx (xx ≤ 4) | _SI |
PROCESSING_CODE_SI |
STRING |
Alpha a…xxx (any xxx) | _S |
TRANSACTION_DESCRIPTION_S |
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe value of the property is aBigDecimal
.The value of the property is aBigInteger
.The value of the property is aBoolean
.The value of the property is aByte
.The value of the property is abyte[]
.The value of the property is aDate
.The value of the property is aDouble
.The value of the property is aFloat
.The value of the property is anInteger
.The value of the property is aLong
.The value of the property is aSerializable
.The value of the property is aShort
.The value of the property is aString
.The value of the property is undefined (null
). -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyType
valueOf
(Serializable value) Returns thePropertyType
of the supplied property value.static PropertyType
Returns the enum constant of this class with the specified name.static PropertyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BIG_DECIMAL
The value of the property is aBigDecimal
. -
BIG_INTEGER
The value of the property is aBigInteger
. -
BOOLEAN
The value of the property is aBoolean
. -
BYTE
The value of the property is aByte
. -
BYTE_ARRAY
The value of the property is abyte[]
. -
DATE
The value of the property is aDate
. -
DOUBLE
The value of the property is aDouble
. -
FLOAT
The value of the property is aFloat
. -
INTEGER
The value of the property is anInteger
. -
LONG
The value of the property is aLong
. -
OBJECT
The value of the property is aSerializable
. -
SHORT
The value of the property is aShort
. -
STRING
The value of the property is aString
. -
UNDEFINED
The value of the property is undefined (null
).
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
valueOf
Returns thePropertyType
of the supplied property value.- Parameters:
value
- the property value to be classified (can be null).- Returns:
- the
PropertyType
of the supplied property value.
-