Skip to content

ICRF

Purpose

For use with EDI systems to identify message envelopes.

Methods

Binding name: p6.icrf


getNextISA

Increments the named X.12 Interchange Control Reference returning its new value.

Syntax

int p6.icrf.getNextISA(String name)

Info

If the named reference is not found then it will be created automatically.

Example
println p6.icrf.getNextISA("id")

getNextISAStr

Increments the named X.12 Interchange Control Reference returning its new value as a zero padded string.

Syntax

String p6.icrf.getNextISAStr(String name)

Info

If the named reference is not found then it will be created automatically.

Example
println p6.icrf.getNextISAStr("id")

getNextUNB

Increments the named EDIFACT Interchange Control Reference returning its new value.

Syntax

long p6.icrf.getNextUNB(String name)

Info

If the named reference is not found then it will be created automatically.

Example
println p6.icrf.getNextUNB("id")

getNextUNBStr

Increments the named EDIFACT Interchange Control Reference returning its new value as a zero padded string.

Syntax

String p6.icrf.getNextUNBStr(String name)

Info

If the named reference is not found then it will be created automatically.

Tip

The minimum value of a named ICRF is 1 and the maximum is 999999999 (X.12) or 99999999999999 (EDIFACT).

Example
println p6.icrf.getNextUNBStr("id")

Monitoring

The ICRF manager is implemented as a JMX MBean.

A JMX Console like Hawtio or Jconsole may be used for finer control of ICRF values.

ICRF JMX

Info

ICRF values are persisted so preserving their values beyond a restart.