getPackedDecimalField(int length, int scale, boolean signed)
Construct and return either a packed decimal Field, depending on the length and scale requested.
getZonedDecimalField(int length, int scale, boolean signed)
Construct and return either a zoned decimal Field, depending on the length and scale requested.
What else is returned? More curious than anything else.
Thanks for pointing this out - the Javadoc for these is bad and we'll fix it.
This methods return the most appropriate field type ( for Packed: PackedDecimalAsIntField, PackedDecimalAsLongField, PackedDecimalAsBigIntegerField, PackedDecimalAsBigDecimalField),
depending on the scale and length that you give it.
The javadoc @see link lists the possible return types.