Package com.blackhillsoftware.smf.smf78
Class ProductSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf78.ProductSection
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x02 = 2static final int
Constant: 0x01 = 1static final int
Constant: 0x07 = 7static final int
Constant: 0x03 = 3static final int
Constant: 0x02 = 2static final int
Constant: 0x40 = 64static final int
Constant: 0x80 = 128static final int
Constant: 0x20 = 32static final int
Constant: 0x20 = 32static final int
Constant: 0x10 = 16static final int
Constant: 0x40 = 64static final int
Constant: 0x10 = 16static final int
Constant: 0x40 = 64static final int
Constant: 0x20 = 32static final int
Constant: 0x01 = 1static final int
Constant: 0x02 = 2static final int
Constant: 0x08 = 8static final int
Constant: 0x04 = 4static final int
Constant: 0x80 = 128static final int
Constant: 0x04 = 4static final int
Constant: 0x08 = 8 -
Method Summary
Modifier and TypeMethodDescriptionstatic ProductSection
create
(byte[] Data, int offset, int length) create is intended for internal use only.Get the Reassembly Area for this record or null if there is no Reassembly Areaboolean
Return true if SMF78AltVM bit insmf78fla()
is set.boolean
smf78bip()
Return true ifsmf78fla()
masked by SMF78BOO equalsSMF78BIP
.boolean
smf78brp()
Return true ifsmf78fla()
masked by SMF78BOO equalsSMF78BRP
.boolean
smf78bsh()
Return true ifsmf78fla()
masked by SMF78BOO equalsSMF78BSH
.boolean
smf78cne()
Return true ifSMF78CNE
bit insmf78prf()
is set.boolean
smf78cnv()
Return true if SMF78CNV bit insmf78fla()
is set.smf78cyc()
SMF78CYC as a Duration.int
SMF78CYC raw value.double
SMF78CYC in seconds.smf78dat()
SMF78DAT as a LocalDate.int
SMF78DAT raw value.boolean
smf78drc()
Return true ifSMF78DRC
bit insmf78prf()
is set.boolean
smf78eed()
Return true if SMF78EED bit insmf78fla()
is set.boolean
smf78eme()
Return true ifSMF78EME
bit insmf78prf()
is set.int
smf78fla()
SMF78FLA value.smf78gie()
SMF78GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF78GIE STCK value.smf78iet()
SMF78IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF78IET STCK value.boolean
smf78iip()
Return true if SMF78IIP bit insmf78fla()
is set.int
smf78iml()
SMF78IML value.smf78int()
SMF78INT as a Duration.int
SMF78INT raw value.double
SMF78INT in seconds.boolean
smf78ism()
Return true if SMF78ISM bit insmf78fla()
is set.boolean
smf78iss()
Return true if SMF78ISS bit insmf78fla()
is set.smf78ist()
SMF78IST as LocalTime.int
SMF78IST raw value.smf78lgo()
SMF78LGO as ZoneOffset.long
SMF78LGO raw value.boolean
smf78m3r()
Return true if SMF78M3R bit insmf78fla()
is set.int
smf78mfl()
SMF78MFL value.int
smf78mfv()
SMF78MFV value.smf78mvs()
SMF78MVS value.smf78oil()
SMF78OIL as a Duration.int
SMF78OIL raw value.double
SMF78OIL in seconds.boolean
smf78pe2()
Return true ifSMF78PE2
bit insmf78prf()
is set.boolean
smf78ped()
Return true ifSMF78PED
bit insmf78prf()
is set.smf78prd()
SMF78PRD value.int
smf78prf()
SMF78PRF value.boolean
smf78pri()
Return true ifSMF78PRI
bit insmf78prf()
is set.boolean
smf78prp()
Return true ifSMF78PRP
bit insmf78prf()
is set.int
smf78ptn()
SMF78PTN value.boolean
smf78qes()
Return true ifSMF78QES
bit insmf78prf()
is set.int
smf78ral()
SMF78RAL value.int
smf78ran()
SMF78RAN value.int
smf78rao()
SMF78RAO value.boolean
smf78rch()
Return true if SMF78RCH bit insmf78fla()
is set.boolean
smf78rcl()
Return true if SMF78RCL bit insmf78fla()
is set.smf78rls()
SMF78RLS value.int
smf78rv2()
SMF78RV2 value.long
smf78sam()
SMF78SAM value.smf78snm()
SMF78SNM value.int
smf78srl()
SMF78SRL value.smf78syn()
SMF78SYN as a Duration.int
SMF78SYN raw value.double
SMF78SYN in seconds.smf78xnm()
SMF78XNM value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF78CNV
public static final int SMF78CNVConstant: 0x80 = 128- See Also:
-
SMF78ISS
public static final int SMF78ISSConstant: 0x40 = 64- See Also:
-
SMF78M3R
public static final int SMF78M3RConstant: 0x20 = 32- See Also:
-
SMF78ISM
public static final int SMF78ISMConstant: 0x10 = 16- See Also:
-
SMF78RCL
public static final int SMF78RCLConstant: 0x08 = 8- See Also:
-
SMF78RCH
public static final int SMF78RCHConstant: 0x04 = 4- See Also:
-
SMF78AltVM
public static final int SMF78AltVMConstant: 0x02 = 2- See Also:
-
SMF78IIP
public static final int SMF78IIPConstant: 0x40 = 64- See Also:
-
SMF78EED
public static final int SMF78EEDConstant: 0x20 = 32- See Also:
-
SMF78BOO
public static final int SMF78BOOConstant: 0x07 = 7- See Also:
-
SMF78BRP
public static final int SMF78BRPConstant: 0x03 = 3- See Also:
-
SMF78BSH
public static final int SMF78BSHConstant: 0x02 = 2- See Also:
-
SMF78BIP
public static final int SMF78BIPConstant: 0x01 = 1- See Also:
-
SMF78QES
public static final int SMF78QESConstant: 0x80 = 128- See Also:
-
SMF78CNE
public static final int SMF78CNEConstant: 0x40 = 64- See Also:
-
SMF78DRC
public static final int SMF78DRCConstant: 0x20 = 32- See Also:
-
SMF78EME
public static final int SMF78EMEConstant: 0x10 = 16- See Also:
-
SMF78PRI
public static final int SMF78PRIConstant: 0x08 = 8- See Also:
-
SMF78PRP
public static final int SMF78PRPConstant: 0x04 = 4- See Also:
-
SMF78PED
public static final int SMF78PEDConstant: 0x02 = 2- See Also:
-
SMF78PE2
public static final int SMF78PE2Constant: 0x01 = 1- See Also:
-
-
Method Details
-
reassemblyArea
Get the Reassembly Area for this record or null if there is no Reassembly Area- Returns:
- SMF type 78 ReassemblyArea or null
-
smf78mfv
public int smf78mfv()SMF78MFV value.- Returns:
- int SMF78MFV value
-
smf78prd
SMF78PRD value.- Returns:
- String SMF78PRD value
-
smf78ist
SMF78IST as LocalTime.- Returns:
- LocalTime SMF78IST
- See Also:
-
smf78istRawValue
public int smf78istRawValue()SMF78IST raw value.- Returns:
- int SMF78IST value
-
smf78dat
SMF78DAT as a LocalDate.- Returns:
- LocalDate SMF78DAT Date
- See Also:
-
smf78datRawValue
public int smf78datRawValue()SMF78DAT raw value.- Returns:
- int SMF78DAT value
-
smf78int
SMF78INT as a Duration.- Returns:
- Duration SMF78INT seconds
- See Also:
-
smf78intSeconds
public double smf78intSeconds()SMF78INT in seconds.- Returns:
- double SMF78INT converted to seconds
-
smf78intRawValue
public int smf78intRawValue()SMF78INT raw value.- Returns:
- int SMF78INT value
-
smf78mfl
public int smf78mfl()SMF78MFL value.- Returns:
- int SMF78MFL value
-
smf78sam
public long smf78sam()SMF78SAM value.- Returns:
- long SMF78SAM value
-
smf78rv2
public int smf78rv2()SMF78RV2 value.- Returns:
- int SMF78RV2 value
-
smf78fla
public int smf78fla()SMF78FLA value.- Returns:
- int SMF78FLA value
-
smf78cnv
public boolean smf78cnv()Return true if SMF78CNV bit insmf78fla()
is set.- Returns:
- boolean SMF78CNV bit is set in smf78fla()
SMF78CNV = 0x80
-
smf78iss
public boolean smf78iss()Return true if SMF78ISS bit insmf78fla()
is set.- Returns:
- boolean SMF78ISS bit is set in smf78fla()
SMF78ISS = 0x40
-
smf78m3r
public boolean smf78m3r()Return true if SMF78M3R bit insmf78fla()
is set.- Returns:
- boolean SMF78M3R bit is set in smf78fla()
SMF78M3R = 0x20
-
smf78ism
public boolean smf78ism()Return true if SMF78ISM bit insmf78fla()
is set.- Returns:
- boolean SMF78ISM bit is set in smf78fla()
SMF78ISM = 0x10
-
smf78rcl
public boolean smf78rcl()Return true if SMF78RCL bit insmf78fla()
is set.- Returns:
- boolean SMF78RCL bit is set in smf78fla()
SMF78RCL = 0x08
-
smf78rch
public boolean smf78rch()Return true if SMF78RCH bit insmf78fla()
is set.- Returns:
- boolean SMF78RCH bit is set in smf78fla()
SMF78RCH = 0x04
-
smf78altVm
public boolean smf78altVm()Return true if SMF78AltVM bit insmf78fla()
is set.- Returns:
- boolean SMF78AltVM bit is set in smf78fla()
SMF78AltVM = 0x02
-
smf78iip
public boolean smf78iip()Return true if SMF78IIP bit insmf78fla()
is set.- Returns:
- boolean SMF78IIP bit is set in smf78fla()
SMF78IIP = 0x40
-
smf78eed
public boolean smf78eed()Return true if SMF78EED bit insmf78fla()
is set.- Returns:
- boolean SMF78EED bit is set in smf78fla()
SMF78EED = 0x20
-
smf78brp
public boolean smf78brp()Return true ifsmf78fla()
masked by SMF78BOO equalsSMF78BRP
.- Returns:
- boolean
smf78fla()
& SMF78BOO equals SMF78BRPSMF78BRP = 0x03
-
smf78bsh
public boolean smf78bsh()Return true ifsmf78fla()
masked by SMF78BOO equalsSMF78BSH
.- Returns:
- boolean
smf78fla()
& SMF78BOO equals SMF78BSHSMF78BSH = 0x02
-
smf78bip
public boolean smf78bip()Return true ifsmf78fla()
masked by SMF78BOO equalsSMF78BIP
.- Returns:
- boolean
smf78fla()
& SMF78BOO equals SMF78BIPSMF78BIP = 0x01
-
smf78rls
SMF78RLS value.- Returns:
- String SMF78RLS value
-
smf78cyc
SMF78CYC as a Duration.- Returns:
- Duration SMF78CYC seconds
- See Also:
-
smf78cycSeconds
public double smf78cycSeconds()SMF78CYC in seconds.- Returns:
- double SMF78CYC converted to seconds
-
smf78cycRawValue
public int smf78cycRawValue()SMF78CYC raw value.- Returns:
- int SMF78CYC value
-
smf78mvs
SMF78MVS value.- Returns:
- String SMF78MVS value
-
smf78iml
public int smf78iml()SMF78IML value.- Returns:
- int SMF78IML value
-
smf78prf
public int smf78prf()SMF78PRF value.- Returns:
- int SMF78PRF value
-
smf78qes
public boolean smf78qes()Return true ifSMF78QES
bit insmf78prf()
is set.- Returns:
- boolean SMF78QES bit is set in smf78prf()
SMF78QES = 0x80
-
smf78cne
public boolean smf78cne()Return true ifSMF78CNE
bit insmf78prf()
is set.- Returns:
- boolean SMF78CNE bit is set in smf78prf()
SMF78CNE = 0x40
-
smf78drc
public boolean smf78drc()Return true ifSMF78DRC
bit insmf78prf()
is set.- Returns:
- boolean SMF78DRC bit is set in smf78prf()
SMF78DRC = 0x20
-
smf78eme
public boolean smf78eme()Return true ifSMF78EME
bit insmf78prf()
is set.- Returns:
- boolean SMF78EME bit is set in smf78prf()
SMF78EME = 0x10
-
smf78pri
public boolean smf78pri()Return true ifSMF78PRI
bit insmf78prf()
is set.- Returns:
- boolean SMF78PRI bit is set in smf78prf()
SMF78PRI = 0x08
-
smf78prp
public boolean smf78prp()Return true ifSMF78PRP
bit insmf78prf()
is set.- Returns:
- boolean SMF78PRP bit is set in smf78prf()
SMF78PRP = 0x04
-
smf78ped
public boolean smf78ped()Return true ifSMF78PED
bit insmf78prf()
is set.- Returns:
- boolean SMF78PED bit is set in smf78prf()
SMF78PED = 0x02
-
smf78pe2
public boolean smf78pe2()Return true ifSMF78PE2
bit insmf78prf()
is set.- Returns:
- boolean SMF78PE2 bit is set in smf78prf()
SMF78PE2 = 0x01
-
smf78ptn
public int smf78ptn()SMF78PTN value.- Returns:
- int SMF78PTN value
-
smf78srl
public int smf78srl()SMF78SRL value.- Returns:
- int SMF78SRL value
-
smf78iet
SMF78IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf78ietRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF78IET STCK converted to ZonedDateTime
- See Also:
-
smf78ietRawValue
SMF78IET STCK value.- Returns:
- BigInteger SMF78IET STCK value
-
smf78lgo
SMF78LGO as ZoneOffset.- Returns:
- ZoneOffset SMF78LGO
-
smf78lgoRawValue
public long smf78lgoRawValue()SMF78LGO raw value.- Returns:
- long SMF78LGO value
-
smf78rao
public int smf78rao()SMF78RAO value.- Returns:
- int SMF78RAO value
-
smf78ral
public int smf78ral()SMF78RAL value.- Returns:
- int SMF78RAL value
-
smf78ran
public int smf78ran()SMF78RAN value.- Returns:
- int SMF78RAN value
-
smf78oil
SMF78OIL as a Duration.- Returns:
- Duration SMF78OIL
- See Also:
-
smf78oilSeconds
public double smf78oilSeconds()SMF78OIL in seconds.- Returns:
- double SMF78OIL converted to seconds
-
smf78oilRawValue
public int smf78oilRawValue()SMF78OIL raw value.- Returns:
- int SMF78OIL raw value
-
smf78syn
SMF78SYN as a Duration.- Returns:
- Duration SMF78SYN
- See Also:
-
smf78synSeconds
public double smf78synSeconds()SMF78SYN in seconds.- Returns:
- double SMF78SYN converted to seconds
-
smf78synRawValue
public int smf78synRawValue()SMF78SYN raw value.- Returns:
- int SMF78SYN raw value
-
smf78gie
SMF78GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf78gieRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF78GIE STCK converted to ZonedDateTime
- See Also:
-
smf78gieRawValue
SMF78GIE STCK value.- Returns:
- BigInteger SMF78GIE STCK value
-
smf78xnm
SMF78XNM value.- Returns:
- String SMF78XNM value
-
smf78snm
SMF78SNM value.- Returns:
- String SMF78SNM value
-
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
-