Direct Known Subclasses:
Smf4201Record, Smf4202Record, Smf4203Record, Smf4204Record, Smf4205Record, Smf4206Record, Smf4209Record, Smf4210Record, Smf4211Record, Smf4215Record, Smf4216Record, Smf4217Record, Smf4218Record, Smf4219Record, Smf4220Record, Smf4221Record, Smf4222Record, Smf4223Record, Smf4224Record, Smf4225Record, Smf4227Record

public class Smf42Record extends SmfRecord
Mapping for SMF type 42 record. Typically you would obtain Smf42Records by reading SmfRecords and using

Smf42Record.from(SmfRecord)

to create the specialized record after determining the record type.

Sections
Most section types are returned in a List containing 0 or more of the section type, depending on the values in the header triplet. If the record is documented as always having exactly 1 of a section e.g. Product Section, the single section is returned.
  • Constructor Details

    • Smf42Record

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

      public Smf42Record(SmfRecord record)
      Constructs a new Smf42Record 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 Smf42Record from(SmfRecord record)
      Constructs a new Smf42Record from an existing SMF record. The 2 records share the same data byte array.
      Parameters:
      record - an existing SMF record
    • from

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

      public Header header()
      Get the header for this record
      Returns:
      SMF type 42 record header
    • productSection

      public ProductSection productSection()
      Get the Product section for this record
      Returns:
      SMF type 42 Product Section
    • subtype1Header

      public Subtype1Header subtype1Header()
    • subtype2Header

      public Subtype2Header subtype2Header()
    • subtype3Header

      public Subtype3Header subtype3Header()
    • subtype4Header

      public Subtype4Header subtype4Header()
    • subtype5Header

      public Subtype5Header subtype5Header()
    • subtype6Header

      public Subtype6Header subtype6Header()
    • subtype9Header

      public Subtype9Header subtype9Header()
    • subtype10Header

      public Subtype10Header subtype10Header()
    • subtype11Header

      public Subtype11Header subtype11Header()
    • subtype15Header

      public Subtype15Header subtype15Header()
    • subtype16Header

      public Subtype16Header subtype16Header()
    • subtype17Header

      public Subtype17Header subtype17Header()
    • subtype18Header

      public Subtype18Header subtype18Header()
    • subtype19Header

      public Subtype19Header subtype19Header()
    • subtype20Header

      public Subtype20Header subtype20Header()
    • subtype21Header

      public Subtype21Header subtype21Header()
    • subtype22Header

      public Subtype22Header subtype22Header()
    • subtype23Header

      public Subtype23Header subtype23Header()
    • subtype24Header

      public Subtype24Header subtype24Header()
    • subtype25Header

      public Subtype25Header subtype25Header()
    • subtype27Header

      public Subtype27Header subtype27Header()