Module org.legstar.cobol.base
Package org.legstar.cobol.annotation
Annotation Interface CobolZonedDecimal
COBOL zoned decimal number
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionCobol name.intTotal number of digits (include any fraction digit) -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIs the content blank instead of zeroesintNumber of fraction digitsbooleanWhether this item gives the dimension of a variable size array (Occurs Depending On)booleanIs the sign leading (trailing otherwise)booleanIs the sign separate (overpunched otherwise)
-
Element Details
-
cobolName
String cobolNameCobol name.- Returns:
- the cobol name
-
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
-
signLeading
boolean signLeadingIs the sign leading (trailing otherwise)- Returns:
- true if the sign is leading
- Default:
false
-
signSeparate
boolean signSeparateIs the sign separate (overpunched otherwise)- Returns:
- true if the sign is sparate
- Default:
false
-
blankWhenZero
boolean blankWhenZeroIs the content blank instead of zeroes- Returns:
- true if the content blank instead of zeroes
- Default:
false
-
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
-