Enum Class PropertyType

java.lang.Object
java.lang.Enum<PropertyType>
cl.netswitch.lib.message.PropertyType
All Implemented Interfaces:
Serializable, Comparable<PropertyType>, Constable

public enum PropertyType extends Enum<PropertyType>
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
  • Enum Constant Details

    • BIG_DECIMAL

      public static final PropertyType BIG_DECIMAL
      The value of the property is a BigDecimal.
    • BIG_INTEGER

      public static final PropertyType BIG_INTEGER
      The value of the property is a BigInteger.
    • BOOLEAN

      public static final PropertyType BOOLEAN
      The value of the property is a Boolean.
    • BYTE

      public static final PropertyType BYTE
      The value of the property is a Byte.
    • BYTE_ARRAY

      public static final PropertyType BYTE_ARRAY
      The value of the property is a byte[].
    • DATE

      public static final PropertyType DATE
      The value of the property is a Date.
    • DOUBLE

      public static final PropertyType DOUBLE
      The value of the property is a Double.
    • FLOAT

      public static final PropertyType FLOAT
      The value of the property is a Float.
    • INTEGER

      public static final PropertyType INTEGER
      The value of the property is an Integer.
    • LONG

      public static final PropertyType LONG
      The value of the property is a Long.
    • OBJECT

      public static final PropertyType OBJECT
      The value of the property is a Serializable.
    • SHORT

      public static final PropertyType SHORT
      The value of the property is a Short.
    • STRING

      public static final PropertyType STRING
      The value of the property is a String.
    • UNDEFINED

      public static final PropertyType UNDEFINED
      The value of the property is undefined (null).
  • Method Details

    • values

      public static PropertyType[] 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 PropertyType 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
    • valueOf

      public static PropertyType valueOf(Serializable value)
      Returns the PropertyType of the supplied property value.
      Parameters:
      value - the property value to be classified (can be null).
      Returns:
      the PropertyType of the supplied property value.