getComponent

Gets the component associated with the given field number.

public ISOComponent getComponent(LrISOField fldno) throws LrISOException

Parameters

  • fldno: The ISOField number.

Return values

This function returns the ISOComponent at the defined field number.

Example

Copy code
LrISOMsg m = new LrISOMsg();
m.set(ISO87Fields.PAN_PRIMARY_ACCOUNT_NUMBER, "1234567891234567890");
ISOComponent PAN = m.getComponent(ISO87Fields.PAN_PRIMARY_ACCOUNT_NUMBER);