setFieldNumber

Changes the field number for a component.

public setFieldNumber(LrISOField fieldNumber) throws LrISOException

public setFieldNumber(int fieldNumber) throws LrISOException

Parameters

  • fldno: The ISOField number.

Return values

This function does not return any values.

General information

This function also verifies that there is no mismatch with the ISO version. If the LrISOField ISO version differs from the previously set version, an LrISOException is thrown.

Example

Copy code
LrISOMsg m = new LrISOMsg();
m.setFieldNumber(ISO87Fields.PAN_PRIMARY_ACCOUNT_NUMBER);