Module org.legstar.cobol.base
Package org.legstar.cobol.annotation
Annotation Interface CobolPackedDecimal
COBOL packed decimal number (COMP-3)
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionCobol name.intTotal number of digits (include any fraction digit) -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintNumber of fraction digitsbooleanWhether this item gives the dimension of a variable size array (Occurs Depending On)booleanSigned or unsigned.
-
Element Details
-
cobolName
String cobolNameCobol name.- Returns:
- the cobol name
-
signed
boolean signedSigned or unsigned.- Returns:
- true if signed (false if unsigned)
- Default:
false
-
totalDigits
int totalDigitsTotal number of digits (include any fraction digit)- Returns:
- total number of digits
-
fractionDigits
int fractionDigitsNumber of fraction digits- Returns:
- number of fraction digits
- Default:
0
-
odoObject
boolean odoObjectWhether 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
-