public final class Smf21Record extends SmfRecord
Mapping for SMF type 21 record.

Typically you would obtain Smf21Records by reading SmfRecords and using

Smf21Record.from(SmfRecord)

to create the specialized record after determining the record type.

  • Field Details

  • Constructor Details

    • Smf21Record

      public Smf21Record(byte[] data)
      Constructs an Smf21Record from the specified byte array.
      Parameters:
      data - a byte array containing the SMF record data
    • Smf21Record

      public Smf21Record(SmfRecord record)
      Constructs a new Smf21Record from an existing SMF record. The 2 records share the same data byte array.
      Parameters:
      record - an existing SMF record
  • Method Details

    • from

      public static Smf21Record from(SmfRecord record)
      Constructs a new Smf21Record from an existing SMF record. The 2 records share the same data byte array.
      Parameters:
      record - an existing SMF record
    • from

      public static Smf21Record from(byte[] data)
      Constructs an Smf21Record from the specified byte array.
      Parameters:
      data - a byte array containing the SMF record data
    • smf21len

      public int smf21len()
      SMF21LEN value.
      Returns:
      int SMF21LEN value
    • smf21seg

      public int smf21seg()
      SMF21SEG value.
      Returns:
      int SMF21SEG value
    • smf21flg

      public int smf21flg()
      SMF21FLG value.
      Returns:
      int SMF21FLG value
    • smf21rty

      public int smf21rty()
      SMF21RTY value.
      Returns:
      int SMF21RTY value
    • smf21tme

      public LocalTime smf21tme()
      SMF21TME as a LocalTime.
      Returns:
      LocalTime SMF21TME Time
      See Also:
    • smf21tmeRawValue

      public long smf21tmeRawValue()
      SMF21TME raw value
      Returns:
      long SMF21TME value
    • smf21dte

      public LocalDate smf21dte()
      SMF21DTE as a LocalDate.
      Returns:
      LocalDate SMF21DTE Date
      See Also:
    • smf21dteRawValue

      public int smf21dteRawValue()
      SMF21DTE raw value.
      Returns:
      int SMF21DTE value
    • smf21sid

      public String smf21sid()
      SMF21SID value.
      Returns:
      String SMF21SID value
    • smf21lgh

      public int smf21lgh()
      SMF21LGH value.
      Returns:
      int SMF21LGH value
    • smf21vol

      public String smf21vol()
      SMF21VOL value.
      Returns:
      String SMF21VOL value
    • smf21ca

      public int smf21ca()
      SMF21CA value.
      Returns:
      int SMF21CA value
    • smf21ucb

      public long smf21ucb()
      SMF21UCB value.
      Returns:
      long SMF21UCB value
    • smf21dev

      public int smf21dev()
      SMF21DEV value.
      Returns:
      int SMF21DEV value
    • smf21tr

      public int smf21tr()
      SMF21TR value.
      Returns:
      int SMF21TR value
    • smf21tw

      public int smf21tw()
      SMF21TW value.
      Returns:
      int SMF21TW value
    • smf21sio

      public int smf21sio()
      SMF21SIO value.
      Returns:
      int SMF21SIO value
    • smf21pr

      public int smf21pr()
      SMF21PR value.
      Returns:
      int SMF21PR value
    • smf21pw

      public int smf21pw()
      SMF21PW value.
      Returns:
      int SMF21PW value
    • smf21nb

      public int smf21nb()
      SMF21NB value.
      Returns:
      int SMF21NB value
    • smf21erg

      public int smf21erg()
      SMF21ERG value.
      Returns:
      int SMF21ERG value
    • smf21cln

      public int smf21cln()
      SMF21CLN value.
      Returns:
      int SMF21CLN value
    • smf21den

      public int smf21den()
      SMF21DEN value.
      Returns:
      int SMF21DEN value
    • smf21625

      public boolean smf21625()
      Return true if smf21den() equals SMF21625.
      Returns:
      boolean smf21den() equals SMF21625

      SMF21625 = 0xD3

    • smf21f62

      public boolean smf21f62()
      Return true if smf21den() equals SMF21F62.
      Returns:
      boolean smf21den() equals SMF21F62

      SMF21F62 = 0xC2

    • smf21160

      public boolean smf21160()
      Return true if smf21den() equals SMF21160.
      Returns:
      boolean smf21den() equals SMF21160

      SMF21160 = 0xC3

    • smf21f16

      public boolean smf21f16()
      Return true if smf21den() equals SMF21F16.
      Returns:
      boolean smf21den() equals SMF21F16

      SMF21F16 = 0x42

    • smf21800

      public boolean smf21800()
      Return true if smf21den() equals SMF21800.
      Returns:
      boolean smf21den() equals SMF21800

      SMF21800 = 0xCB

    • smf21780

      public boolean smf21780()
      Return true if smf21den() equals SMF21780.
      Returns:
      boolean smf21den() equals SMF21780

      SMF21780 = 0x83

    • smf21556

      public boolean smf21556()
      Return true if smf21den() equals SMF21556.
      Returns:
      boolean smf21den() equals SMF21556

      SMF21556 = 0x43

    • smf21200

      public boolean smf21200()
      Return true if smf21den() equals SMF21200.
      Returns:
      boolean smf21den() equals SMF21200

      SMF21200 = 0x03

    • smf21bls

      public int smf21bls()
      SMF21BLS value.
      Returns:
      int SMF21BLS value
    • smf21ofl

      public int smf21ofl()
      SMF21OFL value.
      Returns:
      int SMF21OFL value
    • smf21out

      public boolean smf21out()
      Return true if SMF21OUT bit in smf21ofl() is set.
      Returns:
      boolean SMF21OUT bit is set in smf21ofl()

      SMF21OUT = 0x80

    • smf21rdb

      public boolean smf21rdb()
      Return true if SMF21RDB bit in smf21ofl() is set.
      Returns:
      boolean SMF21RDB bit is set in smf21ofl()

      SMF21RDB = 0x40

    • smf21tus

      public int smf21tus()
      SMF21TUS value.
      Returns:
      int SMF21TUS value
    • smf21trf

      public int smf21trf()
      SMF21TRF value.
      Returns:
      int SMF21TRF value
    • smf21trb

      public int smf21trb()
      SMF21TRB value.
      Returns:
      int SMF21TRB value
    • smf21twf

      public int smf21twf()
      SMF21TWF value.
      Returns:
      int SMF21TWF value
    • smf21br

      public int smf21br()
      3 byte SMF21BR value.
      Returns:
      int SMF21BR value
    • smf21bw

      public int smf21bw()
      3 byte SMF21BW value.
      Returns:
      int SMF21BW value
    • smf21fl1

      public int smf21fl1()
      SMF21FL1 value.
      Returns:
      int SMF21FL1 value
    • smf21nct

      public boolean smf21nct()
      Return true if SMF21NCT bit in smf21fl1() is set.
      Returns:
      boolean SMF21NCT bit is set in smf21fl1()

      SMF21NCT = 0x80

    • smf21ls

      public boolean smf21ls()
      Return true if SMF21LS bit in smf21fl1() is set.
      Returns:
      boolean SMF21LS bit is set in smf21fl1()

      SMF21LS = 0x40

    • smf21lb

      public boolean smf21lb()
      Return true if SMF21LB bit in smf21fl1() is set.
      Returns:
      boolean SMF21LB bit is set in smf21fl1()

      SMF21LB = 0x20

    • smf21dbv

      public boolean smf21dbv()
      Return true if SMF21DBV bit in smf21fl1() is set.
      Returns:
      boolean SMF21DBV bit is set in smf21fl1()

      SMF21DBV = 0x10

    • smf21mfv

      public boolean smf21mfv()
      Return true if SMF21MFV bit in smf21fl1() is set.
      Returns:
      boolean SMF21MFV bit is set in smf21fl1()

      SMF21MFV = 0x08

    • smf21cbc

      public boolean smf21cbc()
      Return true if SMF21CBC bit in smf21fl1() is set.
      Returns:
      boolean SMF21CBC bit is set in smf21fl1()

      SMF21CBC = 0x04

    • smf21fl2

      public int smf21fl2()
      SMF21FL2 value.
      Returns:
      int SMF21FL2 value
    • smf21brn

      public long smf21brn()
      SMF21BRN value.
      Returns:
      long SMF21BRN value
    • smf21bwn

      public long smf21bwn()
      SMF21BWN value.
      Returns:
      long SMF21BWN value
    • smf21lst

      public long smf21lst()
      SMF21LST value.
      Returns:
      long SMF21LST value
    • smf21lbs

      public long smf21lbs()
      SMF21LBS value.
      Returns:
      long SMF21LBS value
    • smf21dbr

      public long smf21dbr()
      SMF21DBR value.
      Returns:
      long SMF21DBR value
    • smf21dbw

      public long smf21dbw()
      SMF21DBW value.
      Returns:
      long SMF21DBW value
    • smf21mcr

      public long smf21mcr()
      SMF21MCR value.
      Returns:
      long SMF21MCR value
    • smf21mcw

      public long smf21mcw()
      SMF21MCW value.
      Returns:
      long SMF21MCW value
    • smf21mdr

      public long smf21mdr()
      SMF21MDR value.
      Returns:
      long SMF21MDR value
    • smf21mdw

      public long smf21mdw()
      SMF21MDW value.
      Returns:
      long SMF21MDW value