Annotation Interface CobolZonedDecimal


@Retention(RUNTIME) @Target(FIELD) public @interface CobolZonedDecimal
COBOL zoned decimal number
  • 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
    boolean
    Is the content blank instead of zeroes
    int
    Number of fraction digits
    boolean
    Whether this item gives the dimension of a variable size array (Occurs Depending On)
    boolean
    Is the sign leading (trailing otherwise)
    boolean
    Is the sign separate (overpunched otherwise)
  • Element Details

    • cobolName

      String cobolName
      Cobol name.
      Returns:
      the cobol name
    • 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
    • signLeading

      boolean signLeading
      Is the sign leading (trailing otherwise)
      Returns:
      true if the sign is leading
      Default:
      false
    • signSeparate

      boolean signSeparate
      Is the sign separate (overpunched otherwise)
      Returns:
      true if the sign is sparate
      Default:
      false
    • blankWhenZero

      boolean blankWhenZero
      Is the content blank instead of zeroes
      Returns:
      true if the content blank instead of zeroes
      Default:
      false
    • 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