Annotation Interface CobolPackedDecimal


@Retention(RUNTIME) @Target(FIELD) public @interface CobolPackedDecimal
COBOL packed decimal number (COMP-3)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Cobol name.
    int
    Total number of digits (include any fraction digit)
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Number of fraction digits
    boolean
    Whether this item gives the dimension of a variable size array (Occurs Depending On)
    boolean
    Signed or unsigned.
  • Element Details

    • cobolName

      String cobolName
      Cobol name.
      Returns:
      the cobol name
    • signed

      boolean signed
      Signed or unsigned.
      Returns:
      true if signed (false if unsigned)
      Default:
      false
    • totalDigits

      int totalDigits
      Total number of digits (include any fraction digit)
      Returns:
      total number of digits
    • fractionDigits

      int fractionDigits
      Number of fraction digits
      Returns:
      number of fraction digits
      Default:
      0
    • odoObject

      boolean odoObject
      Whether this item gives the dimension of a variable size array (Occurs Depending On)
      Returns:
      true if this gives the dimension of a variable size array
      Default:
      false