Package com.blackhillsoftware.smf.smf76
Class ProductSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf76.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 SMF76AltVM bit insmf76fla()
is set.boolean
smf76bip()
Return true ifsmf76fla()
masked by SMF76BOO equalsSMF76BIP
.boolean
smf76brp()
Return true ifsmf76fla()
masked by SMF76BOO equalsSMF76BRP
.boolean
smf76bsh()
Return true ifsmf76fla()
masked by SMF76BOO equalsSMF76BSH
.boolean
smf76cne()
Return true ifSMF76CNE
bit insmf76prf()
is set.boolean
smf76cnv()
Return true if SMF76CNV bit insmf76fla()
is set.smf76cyc()
SMF76CYC as a Duration.int
SMF76CYC raw value.double
SMF76CYC in seconds.smf76dat()
SMF76DAT as a LocalDate.int
SMF76DAT raw value.boolean
smf76drc()
Return true ifSMF76DRC
bit insmf76prf()
is set.boolean
smf76eed()
Return true if SMF76EED bit insmf76fla()
is set.boolean
smf76eme()
Return true ifSMF76EME
bit insmf76prf()
is set.int
smf76fla()
SMF76FLA value.smf76gie()
SMF76GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF76GIE STCK value.smf76iet()
SMF76IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF76IET STCK value.boolean
smf76iip()
Return true if SMF76IIP bit insmf76fla()
is set.int
smf76iml()
SMF76IML value.smf76int()
SMF76INT as a Duration.int
SMF76INT raw value.double
SMF76INT in seconds.boolean
smf76ism()
Return true if SMF76ISM bit insmf76fla()
is set.boolean
smf76iss()
Return true if SMF76ISS bit insmf76fla()
is set.smf76ist()
SMF76IST as LocalTime.int
SMF76IST raw value.smf76lgo()
SMF76LGO as ZoneOffset.long
SMF76LGO raw value.boolean
smf76m3r()
Return true if SMF76M3R bit insmf76fla()
is set.int
smf76mfl()
SMF76MFL value.int
smf76mfv()
SMF76MFV value.smf76mvs()
SMF76MVS value.smf76oil()
SMF76OIL as a Duration.int
SMF76OIL raw value.double
SMF76OIL in seconds.boolean
smf76pe2()
Return true ifSMF76PE2
bit insmf76prf()
is set.boolean
smf76ped()
Return true ifSMF76PED
bit insmf76prf()
is set.smf76prd()
SMF76PRD value.int
smf76prf()
SMF76PRF value.boolean
smf76pri()
Return true ifSMF76PRI
bit insmf76prf()
is set.boolean
smf76prp()
Return true ifSMF76PRP
bit insmf76prf()
is set.int
smf76ptn()
SMF76PTN value.boolean
smf76qes()
Return true ifSMF76QES
bit insmf76prf()
is set.int
smf76ral()
SMF76RAL value.int
smf76ran()
SMF76RAN value.int
smf76rao()
SMF76RAO value.boolean
smf76rch()
Return true if SMF76RCH bit insmf76fla()
is set.boolean
smf76rcl()
Return true if SMF76RCL bit insmf76fla()
is set.smf76rls()
SMF76RLS value.int
smf76rv2()
SMF76RV2 value.long
smf76sam()
SMF76SAM value.smf76snm()
SMF76SNM value.int
smf76srl()
SMF76SRL value.smf76syn()
SMF76SYN as a Duration.int
SMF76SYN raw value.double
SMF76SYN in seconds.smf76xnm()
SMF76XNM value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF76CNV
public static final int SMF76CNVConstant: 0x80 = 128- See Also:
-
SMF76ISS
public static final int SMF76ISSConstant: 0x40 = 64- See Also:
-
SMF76M3R
public static final int SMF76M3RConstant: 0x20 = 32- See Also:
-
SMF76ISM
public static final int SMF76ISMConstant: 0x10 = 16- See Also:
-
SMF76RCL
public static final int SMF76RCLConstant: 0x08 = 8- See Also:
-
SMF76RCH
public static final int SMF76RCHConstant: 0x04 = 4- See Also:
-
SMF76AltVM
public static final int SMF76AltVMConstant: 0x02 = 2- See Also:
-
SMF76IIP
public static final int SMF76IIPConstant: 0x40 = 64- See Also:
-
SMF76EED
public static final int SMF76EEDConstant: 0x20 = 32- See Also:
-
SMF76BOO
public static final int SMF76BOOConstant: 0x07 = 7- See Also:
-
SMF76BRP
public static final int SMF76BRPConstant: 0x03 = 3- See Also:
-
SMF76BSH
public static final int SMF76BSHConstant: 0x02 = 2- See Also:
-
SMF76BIP
public static final int SMF76BIPConstant: 0x01 = 1- See Also:
-
SMF76QES
public static final int SMF76QESConstant: 0x80 = 128- See Also:
-
SMF76CNE
public static final int SMF76CNEConstant: 0x40 = 64- See Also:
-
SMF76DRC
public static final int SMF76DRCConstant: 0x20 = 32- See Also:
-
SMF76EME
public static final int SMF76EMEConstant: 0x10 = 16- See Also:
-
SMF76PRI
public static final int SMF76PRIConstant: 0x08 = 8- See Also:
-
SMF76PRP
public static final int SMF76PRPConstant: 0x04 = 4- See Also:
-
SMF76PED
public static final int SMF76PEDConstant: 0x02 = 2- See Also:
-
SMF76PE2
public static final int SMF76PE2Constant: 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 76 ReassemblyArea or null
-
smf76mfv
public int smf76mfv()SMF76MFV value.- Returns:
- int SMF76MFV value
-
smf76prd
SMF76PRD value.- Returns:
- String SMF76PRD value
-
smf76ist
SMF76IST as LocalTime.- Returns:
- LocalTime SMF76IST
- See Also:
-
smf76istRawValue
public int smf76istRawValue()SMF76IST raw value.- Returns:
- int SMF76IST value
-
smf76dat
SMF76DAT as a LocalDate.- Returns:
- LocalDate SMF76DAT Date
- See Also:
-
smf76datRawValue
public int smf76datRawValue()SMF76DAT raw value.- Returns:
- int SMF76DAT value
-
smf76int
SMF76INT as a Duration.- Returns:
- Duration SMF76INT seconds
- See Also:
-
smf76intSeconds
public double smf76intSeconds()SMF76INT in seconds.- Returns:
- double SMF76INT converted to seconds
-
smf76intRawValue
public int smf76intRawValue()SMF76INT raw value.- Returns:
- int SMF76INT value
-
smf76mfl
public int smf76mfl()SMF76MFL value.- Returns:
- int SMF76MFL value
-
smf76sam
public long smf76sam()SMF76SAM value.- Returns:
- long SMF76SAM value
-
smf76rv2
public int smf76rv2()SMF76RV2 value.- Returns:
- int SMF76RV2 value
-
smf76fla
public int smf76fla()SMF76FLA value.- Returns:
- int SMF76FLA value
-
smf76cnv
public boolean smf76cnv()Return true if SMF76CNV bit insmf76fla()
is set.- Returns:
- boolean SMF76CNV bit is set in smf76fla()
SMF76CNV = 0x80
-
smf76iss
public boolean smf76iss()Return true if SMF76ISS bit insmf76fla()
is set.- Returns:
- boolean SMF76ISS bit is set in smf76fla()
SMF76ISS = 0x40
-
smf76m3r
public boolean smf76m3r()Return true if SMF76M3R bit insmf76fla()
is set.- Returns:
- boolean SMF76M3R bit is set in smf76fla()
SMF76M3R = 0x20
-
smf76ism
public boolean smf76ism()Return true if SMF76ISM bit insmf76fla()
is set.- Returns:
- boolean SMF76ISM bit is set in smf76fla()
SMF76ISM = 0x10
-
smf76rcl
public boolean smf76rcl()Return true if SMF76RCL bit insmf76fla()
is set.- Returns:
- boolean SMF76RCL bit is set in smf76fla()
SMF76RCL = 0x08
-
smf76rch
public boolean smf76rch()Return true if SMF76RCH bit insmf76fla()
is set.- Returns:
- boolean SMF76RCH bit is set in smf76fla()
SMF76RCH = 0x04
-
smf76altVm
public boolean smf76altVm()Return true if SMF76AltVM bit insmf76fla()
is set.- Returns:
- boolean SMF76AltVM bit is set in smf76fla()
SMF76AltVM = 0x02
-
smf76iip
public boolean smf76iip()Return true if SMF76IIP bit insmf76fla()
is set.- Returns:
- boolean SMF76IIP bit is set in smf76fla()
SMF76IIP = 0x40
-
smf76eed
public boolean smf76eed()Return true if SMF76EED bit insmf76fla()
is set.- Returns:
- boolean SMF76EED bit is set in smf76fla()
SMF76EED = 0x20
-
smf76brp
public boolean smf76brp()Return true ifsmf76fla()
masked by SMF76BOO equalsSMF76BRP
.- Returns:
- boolean
smf76fla()
& SMF76BOO equals SMF76BRPSMF76BRP = 0x03
-
smf76bsh
public boolean smf76bsh()Return true ifsmf76fla()
masked by SMF76BOO equalsSMF76BSH
.- Returns:
- boolean
smf76fla()
& SMF76BOO equals SMF76BSHSMF76BSH = 0x02
-
smf76bip
public boolean smf76bip()Return true ifsmf76fla()
masked by SMF76BOO equalsSMF76BIP
.- Returns:
- boolean
smf76fla()
& SMF76BOO equals SMF76BIPSMF76BIP = 0x01
-
smf76rls
SMF76RLS value.- Returns:
- String SMF76RLS value
-
smf76cyc
SMF76CYC as a Duration.- Returns:
- Duration SMF76CYC seconds
- See Also:
-
smf76cycSeconds
public double smf76cycSeconds()SMF76CYC in seconds.- Returns:
- double SMF76CYC converted to seconds
-
smf76cycRawValue
public int smf76cycRawValue()SMF76CYC raw value.- Returns:
- int SMF76CYC value
-
smf76mvs
SMF76MVS value.- Returns:
- String SMF76MVS value
-
smf76iml
public int smf76iml()SMF76IML value.- Returns:
- int SMF76IML value
-
smf76prf
public int smf76prf()SMF76PRF value.- Returns:
- int SMF76PRF value
-
smf76qes
public boolean smf76qes()Return true ifSMF76QES
bit insmf76prf()
is set.- Returns:
- boolean SMF76QES bit is set in smf76prf()
SMF76QES = 0x80
-
smf76cne
public boolean smf76cne()Return true ifSMF76CNE
bit insmf76prf()
is set.- Returns:
- boolean SMF76CNE bit is set in smf76prf()
SMF76CNE = 0x40
-
smf76drc
public boolean smf76drc()Return true ifSMF76DRC
bit insmf76prf()
is set.- Returns:
- boolean SMF76DRC bit is set in smf76prf()
SMF76DRC = 0x20
-
smf76eme
public boolean smf76eme()Return true ifSMF76EME
bit insmf76prf()
is set.- Returns:
- boolean SMF76EME bit is set in smf76prf()
SMF76EME = 0x10
-
smf76pri
public boolean smf76pri()Return true ifSMF76PRI
bit insmf76prf()
is set.- Returns:
- boolean SMF76PRI bit is set in smf76prf()
SMF76PRI = 0x08
-
smf76prp
public boolean smf76prp()Return true ifSMF76PRP
bit insmf76prf()
is set.- Returns:
- boolean SMF76PRP bit is set in smf76prf()
SMF76PRP = 0x04
-
smf76ped
public boolean smf76ped()Return true ifSMF76PED
bit insmf76prf()
is set.- Returns:
- boolean SMF76PED bit is set in smf76prf()
SMF76PED = 0x02
-
smf76pe2
public boolean smf76pe2()Return true ifSMF76PE2
bit insmf76prf()
is set.- Returns:
- boolean SMF76PE2 bit is set in smf76prf()
SMF76PE2 = 0x01
-
smf76ptn
public int smf76ptn()SMF76PTN value.- Returns:
- int SMF76PTN value
-
smf76srl
public int smf76srl()SMF76SRL value.- Returns:
- int SMF76SRL value
-
smf76iet
SMF76IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf76ietRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF76IET STCK converted to ZonedDateTime
- See Also:
-
smf76ietRawValue
SMF76IET STCK value.- Returns:
- BigInteger SMF76IET STCK value
-
smf76lgo
SMF76LGO as ZoneOffset.- Returns:
- ZoneOffset SMF76LGO
-
smf76lgoRawValue
public long smf76lgoRawValue()SMF76LGO raw value.- Returns:
- long SMF76LGO value
-
smf76rao
public int smf76rao()SMF76RAO value.- Returns:
- int SMF76RAO value
-
smf76ral
public int smf76ral()SMF76RAL value.- Returns:
- int SMF76RAL value
-
smf76ran
public int smf76ran()SMF76RAN value.- Returns:
- int SMF76RAN value
-
smf76oil
SMF76OIL as a Duration.- Returns:
- Duration SMF76OIL
- See Also:
-
smf76oilSeconds
public double smf76oilSeconds()SMF76OIL in seconds.- Returns:
- double SMF76OIL converted to seconds
-
smf76oilRawValue
public int smf76oilRawValue()SMF76OIL raw value.- Returns:
- int SMF76OIL raw value
-
smf76syn
SMF76SYN as a Duration.- Returns:
- Duration SMF76SYN
- See Also:
-
smf76synSeconds
public double smf76synSeconds()SMF76SYN in seconds.- Returns:
- double SMF76SYN converted to seconds
-
smf76synRawValue
public int smf76synRawValue()SMF76SYN raw value.- Returns:
- int SMF76SYN raw value
-
smf76gie
SMF76GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf76gieRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF76GIE STCK converted to ZonedDateTime
- See Also:
-
smf76gieRawValue
SMF76GIE STCK value.- Returns:
- BigInteger SMF76GIE STCK value
-
smf76xnm
SMF76XNM value.- Returns:
- String SMF76XNM value
-
smf76snm
SMF76SNM value.- Returns:
- String SMF76SNM 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
-