public final class Smf4227Record extends Smf42Record
Mapping for SMF type 42 subtype 27 record. Typically you would obtain Smf4227Records by reading SmfRecords and using

Smf4227Record.from(SmfRecord)

to create the specialized record after determining the record type and subtype.

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

    • Smf4227Record

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

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

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

      public List<VtocUpdateSection> vtocUpdateSections()
      Get a List containing VTOC Update sections from the record
      Returns:
      a list of VtocUpdateSection (possibly empty)
    • dscbChangeSections

      @Deprecated public List<DscbChangeSection> dscbChangeSections()
      Deprecated.
      SMF 42 records now refer to this data as Old DSCB Sections - use oldDscbSections() instead for the same data.
      Get a List containing DSCB Change sections from the record
      Returns:
      a list of DscbChangeSection (possibly empty)
    • oldDscbSections

      public List<DscbChangeSection> oldDscbSections()
      Get a List of old DSCB sections from the record
      Returns:
      a list of DscbChangeSection (possibly empty)
    • newDscbSections

      public List<DscbChangeSection> newDscbSections()
      Get a List of new DSCB sections from the record
      Returns:
      a list of DscbChangeSection (possibly empty)