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 Link icon

    • Smf42Record Link icon

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

      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 Link icon

    • from Link icon

      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 Link icon

      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 Link icon

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

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

      public Subtype1Header subtype1Header()
    • subtype2Header Link icon

      public Subtype2Header subtype2Header()
    • subtype3Header Link icon

      public Subtype3Header subtype3Header()
    • subtype4Header Link icon

      public Subtype4Header subtype4Header()
    • subtype5Header Link icon

      public Subtype5Header subtype5Header()
    • subtype6Header Link icon

      public Subtype6Header subtype6Header()
    • subtype9Header Link icon

      public Subtype9Header subtype9Header()
    • subtype10Header Link icon

      public Subtype10Header subtype10Header()
    • subtype11Header Link icon

      public Subtype11Header subtype11Header()
    • subtype15Header Link icon

      public Subtype15Header subtype15Header()
    • subtype16Header Link icon

      public Subtype16Header subtype16Header()
    • subtype17Header Link icon

      public Subtype17Header subtype17Header()
    • subtype18Header Link icon

      public Subtype18Header subtype18Header()
    • subtype19Header Link icon

      public Subtype19Header subtype19Header()
    • subtype20Header Link icon

      public Subtype20Header subtype20Header()
    • subtype21Header Link icon

      public Subtype21Header subtype21Header()
    • subtype22Header Link icon

      public Subtype22Header subtype22Header()
    • subtype23Header Link icon

      public Subtype23Header subtype23Header()
    • subtype24Header Link icon

      public Subtype24Header subtype24Header()
    • subtype25Header Link icon

      public Subtype25Header subtype25Header()
    • subtype27Header Link icon

      public Subtype27Header subtype27Header()