Class StructureAlterSection

java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf88.StructureAlterSection

public final class StructureAlterSection extends SmfData
  • Field Details

    • SMF88ABC

      public static final int SMF88ABC
      Constant: 0x80 = 128
      See Also:
    • SMF88ADC

      public static final int SMF88ADC
      Constant: 0x40 = 64
      See Also:
    • SMF88_BLOCKLEN_HIGH

      public static final int SMF88_BLOCKLEN_HIGH
      Constant: 0x7FFFFFFF = 2147483647
      See Also:
    • SMF88_BLOCKLEN_ZERO

      public static final int SMF88_BLOCKLEN_ZERO
      Constant: 0x00 = 0
      See Also:
  • Method Details

    • smf88anm

      public String smf88anm()
      SMF88ANM value.
      Returns:
      String SMF88ANM value
    • smf88atk

      public ZonedDateTime smf88atk()
      SMF88ATK STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).

      Use smf88atkRawValue() for a BigInteger containing the complete STCK value.

      Returns:
      DateTime SMF88ATK STCK converted to ZonedDateTime
      See Also:
    • smf88atkRawValue

      public BigInteger smf88atkRawValue()
      SMF88ATK STCK value.
      Returns:
      BigInteger SMF88ATK STCK value
    • smf88ait

      public BigInteger smf88ait()
      SMF88AIT value.
      Returns:
      BigInteger SMF88AIT value
    • smf88awb

      public long smf88awb()
      SMF88AWB value, throws exception if SMF88AWB overflows 64 bit signed integer.
      Returns:
      long SMF88AWB
      Throws:
      IllegalArgumentException - If the value of SMF88AWB exceeds the maximum value of a signed 64 bit integer (i.e. the high order bit is set in SMF88AWB). Use smf88awbAsBigInteger() if this is possible.
    • smf88awbAsBigInteger

      public BigInteger smf88awbAsBigInteger()
      SMF88AWB value as a BigInteger.

      smf88awb() may provide better performance if the value will not exceed the maximum value for a signed long.

      Returns:
      BigInteger SMF88AWB
    • smf88ao

      public long smf88ao()
      SMF88AO value.
      Returns:
      long SMF88AO value
    • smf88acb

      public long smf88acb()
      SMF88ACB value.
      Returns:
      long SMF88ACB value
    • smf88atb

      public long smf88atb()
      SMF88ATB value.
      Returns:
      long SMF88ATB value
    • smf88asz

      public long smf88asz()
      SMF88ASZ value.
      Returns:
      long SMF88ASZ value
    • smf88atw

      public long smf88atw()
      SMF88ATW value.
      Returns:
      long SMF88ATW value
    • smf88als

      public long smf88als()
      SMF88ALS value.
      Returns:
      long SMF88ALS value
    • smf88afg

      public int smf88afg()
      SMF88AFG value.
      Returns:
      int SMF88AFG value
    • smf88abc

      public boolean smf88abc()
      Return true if SMF88ABC bit in smf88afg() is set.
      Returns:
      boolean SMF88ABC bit is set in smf88afg()

      SMF88ABC = 0x80

    • smf88adc

      public boolean smf88adc()
      Return true if SMF88ADC bit in smf88afg() is set.
      Returns:
      boolean SMF88ADC bit is set in smf88afg()

      SMF88ADC = 0x40

    • create

      public static StructureAlterSection create(byte[] Data, int offset, int length)
      create is intended for internal use only. Instances of this section are created by the parent record or section.
      Parameters:
      Data - Array of bytes containing data for this section
      offset - Offset of this section in the data
      length - length of the section