Annotation Interface CobolChoice


@Retention(RUNTIME) @Target(TYPE) public @interface CobolChoice
Describes a cobol set of alternatives which are items that redefine a base item.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The cobol name to use for this choice.
    int
    The cobol byte length of the largest alternative in the choice.
  • Element Details

    • cobolName

      String cobolName
      The cobol name to use for this choice.
      Returns:
      the cobol name of the first alternative in the choice (the one being redefined)
    • maxBytesLen

      int maxBytesLen
      The cobol byte length of the largest alternative in the choice.
      Returns:
      the cobol byte length of the largest alternative in the choice