Package com.blackhillsoftware.smf.smf88
Class StructureAlterSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf88.StructureAlterSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Constant: 0x7FFFFFFF = 2147483647static final int
Constant: 0x00 = 0static final int
Constant: 0x80 = 128static final int
Constant: 0x40 = 64 -
Method Summary
Modifier and TypeMethodDescriptionstatic StructureAlterSection
create
(byte[] Data, int offset, int length) create is intended for internal use only.boolean
smf88abc()
Return true ifSMF88ABC
bit insmf88afg()
is set.long
smf88acb()
SMF88ACB value.boolean
smf88adc()
Return true ifSMF88ADC
bit insmf88afg()
is set.int
smf88afg()
SMF88AFG value.smf88ait()
SMF88AIT value.long
smf88als()
SMF88ALS value.smf88anm()
SMF88ANM value.long
smf88ao()
SMF88AO value.long
smf88asz()
SMF88ASZ value.long
smf88atb()
SMF88ATB value.smf88atk()
SMF88ATK STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF88ATK STCK value.long
smf88atw()
SMF88ATW value.long
smf88awb()
SMF88AWB value, throws exception if SMF88AWB overflows 64 bit signed integer.SMF88AWB value as a BigInteger.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF88ABC
public static final int SMF88ABCConstant: 0x80 = 128- See Also:
-
SMF88ADC
public static final int SMF88ADCConstant: 0x40 = 64- See Also:
-
SMF88_BLOCKLEN_HIGH
public static final int SMF88_BLOCKLEN_HIGHConstant: 0x7FFFFFFF = 2147483647- See Also:
-
SMF88_BLOCKLEN_ZERO
public static final int SMF88_BLOCKLEN_ZEROConstant: 0x00 = 0- See Also:
-
-
Method Details
-
smf88anm
SMF88ANM value.- Returns:
- String SMF88ANM value
-
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
SMF88ATK STCK value.- Returns:
- BigInteger SMF88ATK STCK value
-
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). Usesmf88awbAsBigInteger()
if this is possible.
-
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 ifSMF88ABC
bit insmf88afg()
is set.- Returns:
- boolean SMF88ABC bit is set in smf88afg()
SMF88ABC = 0x80
-
smf88adc
public boolean smf88adc()Return true ifSMF88ADC
bit insmf88afg()
is set.- Returns:
- boolean SMF88ADC bit is set in smf88afg()
SMF88ADC = 0x40
-
create
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 sectionoffset
- Offset of this section in the datalength
- length of the section
-