Package com.blackhillsoftware.smf.smf70
Class ProductSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf70.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 SMF70AltVM bit insmf70fla()
is set.boolean
smf70bip()
Return true ifsmf70fla()
masked by SMF70BOO equalsSMF70BIP
.boolean
smf70brp()
Return true ifsmf70fla()
masked by SMF70BOO equalsSMF70BRP
.boolean
smf70bsh()
Return true ifsmf70fla()
masked by SMF70BOO equalsSMF70BSH
.boolean
smf70cne()
Return true ifSMF70CNE
bit insmf70prf()
is set.boolean
smf70cnv()
Return true if SMF70CNV bit insmf70fla()
is set.smf70cyc()
SMF70CYC as a Duration.int
SMF70CYC raw value.double
SMF70CYC in seconds.smf70dat()
SMF70DAT as a LocalDate.int
SMF70DAT raw value.boolean
smf70drc()
Return true ifSMF70DRC
bit insmf70prf()
is set.boolean
smf70eed()
Return true if SMF70EED bit insmf70fla()
is set.boolean
smf70eme()
Return true ifSMF70EME
bit insmf70prf()
is set.int
smf70fla()
SMF70FLA value.smf70gie()
SMF70GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF70GIE STCK value.smf70iet()
SMF70IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF70IET STCK value.boolean
smf70iip()
Return true if SMF70IIP bit insmf70fla()
is set.int
smf70iml()
SMF70IML value.smf70int()
SMF70INT as a Duration.int
SMF70INT raw value.double
SMF70INT in seconds.boolean
smf70ism()
Return true if SMF70ISM bit insmf70fla()
is set.boolean
smf70iss()
Return true if SMF70ISS bit insmf70fla()
is set.smf70ist()
SMF70IST as LocalTime.int
SMF70IST raw value.smf70lgo()
SMF70LGO as ZoneOffset.long
SMF70LGO raw value.boolean
smf70m3r()
Return true if SMF70M3R bit insmf70fla()
is set.int
smf70mfl()
SMF70MFL value.int
smf70mfv()
SMF70MFV value.smf70mvs()
SMF70MVS value.smf70oil()
SMF70OIL as a Duration.int
SMF70OIL raw value.double
SMF70OIL in seconds.boolean
smf70pe2()
Return true ifSMF70PE2
bit insmf70prf()
is set.boolean
smf70ped()
Return true ifSMF70PED
bit insmf70prf()
is set.smf70prd()
SMF70PRD value.int
smf70prf()
SMF70PRF value.boolean
smf70pri()
Return true ifSMF70PRI
bit insmf70prf()
is set.boolean
smf70prp()
Return true ifSMF70PRP
bit insmf70prf()
is set.int
smf70ptn()
SMF70PTN value.boolean
smf70qes()
Return true ifSMF70QES
bit insmf70prf()
is set.int
smf70ral()
SMF70RAL value.int
smf70ran()
SMF70RAN value.int
smf70rao()
SMF70RAO value.boolean
smf70rch()
Return true if SMF70RCH bit insmf70fla()
is set.boolean
smf70rcl()
Return true if SMF70RCL bit insmf70fla()
is set.smf70rls()
SMF70RLS value.int
smf70rv2()
SMF70RV2 value.long
smf70sam()
SMF70SAM value.smf70snm()
SMF70SNM value.int
smf70srl()
SMF70SRL value.smf70syn()
SMF70SYN as a Duration.int
SMF70SYN raw value.double
SMF70SYN in seconds.smf70xnm()
SMF70XNM value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF70CNV
public static final int SMF70CNVConstant: 0x80 = 128- See Also:
-
SMF70ISS
public static final int SMF70ISSConstant: 0x40 = 64- See Also:
-
SMF70M3R
public static final int SMF70M3RConstant: 0x20 = 32- See Also:
-
SMF70ISM
public static final int SMF70ISMConstant: 0x10 = 16- See Also:
-
SMF70RCL
public static final int SMF70RCLConstant: 0x08 = 8- See Also:
-
SMF70RCH
public static final int SMF70RCHConstant: 0x04 = 4- See Also:
-
SMF70AltVM
public static final int SMF70AltVMConstant: 0x02 = 2- See Also:
-
SMF70IIP
public static final int SMF70IIPConstant: 0x40 = 64- See Also:
-
SMF70EED
public static final int SMF70EEDConstant: 0x20 = 32- See Also:
-
SMF70BOO
public static final int SMF70BOOConstant: 0x07 = 7- See Also:
-
SMF70BRP
public static final int SMF70BRPConstant: 0x03 = 3- See Also:
-
SMF70BSH
public static final int SMF70BSHConstant: 0x02 = 2- See Also:
-
SMF70BIP
public static final int SMF70BIPConstant: 0x01 = 1- See Also:
-
SMF70QES
public static final int SMF70QESConstant: 0x80 = 128- See Also:
-
SMF70CNE
public static final int SMF70CNEConstant: 0x40 = 64- See Also:
-
SMF70DRC
public static final int SMF70DRCConstant: 0x20 = 32- See Also:
-
SMF70EME
public static final int SMF70EMEConstant: 0x10 = 16- See Also:
-
SMF70PRI
public static final int SMF70PRIConstant: 0x08 = 8- See Also:
-
SMF70PRP
public static final int SMF70PRPConstant: 0x04 = 4- See Also:
-
SMF70PED
public static final int SMF70PEDConstant: 0x02 = 2- See Also:
-
SMF70PE2
public static final int SMF70PE2Constant: 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 70 ReassemblyArea or null
-
smf70mfv
public int smf70mfv()SMF70MFV value.- Returns:
- int SMF70MFV value
-
smf70prd
SMF70PRD value.- Returns:
- String SMF70PRD value
-
smf70ist
SMF70IST as LocalTime.- Returns:
- LocalTime SMF70IST
- See Also:
-
smf70istRawValue
public int smf70istRawValue()SMF70IST raw value.- Returns:
- int SMF70IST value
-
smf70dat
SMF70DAT as a LocalDate.- Returns:
- LocalDate SMF70DAT Date
- See Also:
-
smf70datRawValue
public int smf70datRawValue()SMF70DAT raw value.- Returns:
- int SMF70DAT value
-
smf70int
SMF70INT as a Duration.- Returns:
- Duration SMF70INT seconds
- See Also:
-
smf70intSeconds
public double smf70intSeconds()SMF70INT in seconds.- Returns:
- double SMF70INT converted to seconds
-
smf70intRawValue
public int smf70intRawValue()SMF70INT raw value.- Returns:
- int SMF70INT value
-
smf70mfl
public int smf70mfl()SMF70MFL value.- Returns:
- int SMF70MFL value
-
smf70sam
public long smf70sam()SMF70SAM value.- Returns:
- long SMF70SAM value
-
smf70rv2
public int smf70rv2()SMF70RV2 value.- Returns:
- int SMF70RV2 value
-
smf70fla
public int smf70fla()SMF70FLA value.- Returns:
- int SMF70FLA value
-
smf70cnv
public boolean smf70cnv()Return true if SMF70CNV bit insmf70fla()
is set.- Returns:
- boolean SMF70CNV bit is set in smf70fla()
SMF70CNV = 0x80
-
smf70iss
public boolean smf70iss()Return true if SMF70ISS bit insmf70fla()
is set.- Returns:
- boolean SMF70ISS bit is set in smf70fla()
SMF70ISS = 0x40
-
smf70m3r
public boolean smf70m3r()Return true if SMF70M3R bit insmf70fla()
is set.- Returns:
- boolean SMF70M3R bit is set in smf70fla()
SMF70M3R = 0x20
-
smf70ism
public boolean smf70ism()Return true if SMF70ISM bit insmf70fla()
is set.- Returns:
- boolean SMF70ISM bit is set in smf70fla()
SMF70ISM = 0x10
-
smf70rcl
public boolean smf70rcl()Return true if SMF70RCL bit insmf70fla()
is set.- Returns:
- boolean SMF70RCL bit is set in smf70fla()
SMF70RCL = 0x08
-
smf70rch
public boolean smf70rch()Return true if SMF70RCH bit insmf70fla()
is set.- Returns:
- boolean SMF70RCH bit is set in smf70fla()
SMF70RCH = 0x04
-
smf70altVm
public boolean smf70altVm()Return true if SMF70AltVM bit insmf70fla()
is set.- Returns:
- boolean SMF70AltVM bit is set in smf70fla()
SMF70AltVM = 0x02
-
smf70iip
public boolean smf70iip()Return true if SMF70IIP bit insmf70fla()
is set.- Returns:
- boolean SMF70IIP bit is set in smf70fla()
SMF70IIP = 0x40
-
smf70eed
public boolean smf70eed()Return true if SMF70EED bit insmf70fla()
is set.- Returns:
- boolean SMF70EED bit is set in smf70fla()
SMF70EED = 0x20
-
smf70brp
public boolean smf70brp()Return true ifsmf70fla()
masked by SMF70BOO equalsSMF70BRP
.- Returns:
- boolean
smf70fla()
& SMF70BOO equals SMF70BRPSMF70BRP = 0x03
-
smf70bsh
public boolean smf70bsh()Return true ifsmf70fla()
masked by SMF70BOO equalsSMF70BSH
.- Returns:
- boolean
smf70fla()
& SMF70BOO equals SMF70BSHSMF70BSH = 0x02
-
smf70bip
public boolean smf70bip()Return true ifsmf70fla()
masked by SMF70BOO equalsSMF70BIP
.- Returns:
- boolean
smf70fla()
& SMF70BOO equals SMF70BIPSMF70BIP = 0x01
-
smf70rls
SMF70RLS value.- Returns:
- String SMF70RLS value
-
smf70cyc
SMF70CYC as a Duration.- Returns:
- Duration SMF70CYC seconds
- See Also:
-
smf70cycSeconds
public double smf70cycSeconds()SMF70CYC in seconds.- Returns:
- double SMF70CYC converted to seconds
-
smf70cycRawValue
public int smf70cycRawValue()SMF70CYC raw value.- Returns:
- int SMF70CYC value
-
smf70mvs
SMF70MVS value.- Returns:
- String SMF70MVS value
-
smf70iml
public int smf70iml()SMF70IML value.- Returns:
- int SMF70IML value
-
smf70prf
public int smf70prf()SMF70PRF value.- Returns:
- int SMF70PRF value
-
smf70qes
public boolean smf70qes()Return true ifSMF70QES
bit insmf70prf()
is set.- Returns:
- boolean SMF70QES bit is set in smf70prf()
SMF70QES = 0x80
-
smf70cne
public boolean smf70cne()Return true ifSMF70CNE
bit insmf70prf()
is set.- Returns:
- boolean SMF70CNE bit is set in smf70prf()
SMF70CNE = 0x40
-
smf70drc
public boolean smf70drc()Return true ifSMF70DRC
bit insmf70prf()
is set.- Returns:
- boolean SMF70DRC bit is set in smf70prf()
SMF70DRC = 0x20
-
smf70eme
public boolean smf70eme()Return true ifSMF70EME
bit insmf70prf()
is set.- Returns:
- boolean SMF70EME bit is set in smf70prf()
SMF70EME = 0x10
-
smf70pri
public boolean smf70pri()Return true ifSMF70PRI
bit insmf70prf()
is set.- Returns:
- boolean SMF70PRI bit is set in smf70prf()
SMF70PRI = 0x08
-
smf70prp
public boolean smf70prp()Return true ifSMF70PRP
bit insmf70prf()
is set.- Returns:
- boolean SMF70PRP bit is set in smf70prf()
SMF70PRP = 0x04
-
smf70ped
public boolean smf70ped()Return true ifSMF70PED
bit insmf70prf()
is set.- Returns:
- boolean SMF70PED bit is set in smf70prf()
SMF70PED = 0x02
-
smf70pe2
public boolean smf70pe2()Return true ifSMF70PE2
bit insmf70prf()
is set.- Returns:
- boolean SMF70PE2 bit is set in smf70prf()
SMF70PE2 = 0x01
-
smf70ptn
public int smf70ptn()SMF70PTN value.- Returns:
- int SMF70PTN value
-
smf70srl
public int smf70srl()SMF70SRL value.- Returns:
- int SMF70SRL value
-
smf70iet
SMF70IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf70ietRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF70IET STCK converted to ZonedDateTime
- See Also:
-
smf70ietRawValue
SMF70IET STCK value.- Returns:
- BigInteger SMF70IET STCK value
-
smf70lgo
SMF70LGO as ZoneOffset.- Returns:
- ZoneOffset SMF70LGO
-
smf70lgoRawValue
public long smf70lgoRawValue()SMF70LGO raw value.- Returns:
- long SMF70LGO value
-
smf70rao
public int smf70rao()SMF70RAO value.- Returns:
- int SMF70RAO value
-
smf70ral
public int smf70ral()SMF70RAL value.- Returns:
- int SMF70RAL value
-
smf70ran
public int smf70ran()SMF70RAN value.- Returns:
- int SMF70RAN value
-
smf70oil
SMF70OIL as a Duration.- Returns:
- Duration SMF70OIL
- See Also:
-
smf70oilSeconds
public double smf70oilSeconds()SMF70OIL in seconds.- Returns:
- double SMF70OIL converted to seconds
-
smf70oilRawValue
public int smf70oilRawValue()SMF70OIL raw value.- Returns:
- int SMF70OIL raw value
-
smf70syn
SMF70SYN as a Duration.- Returns:
- Duration SMF70SYN
- See Also:
-
smf70synSeconds
public double smf70synSeconds()SMF70SYN in seconds.- Returns:
- double SMF70SYN converted to seconds
-
smf70synRawValue
public int smf70synRawValue()SMF70SYN raw value.- Returns:
- int SMF70SYN raw value
-
smf70gie
SMF70GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf70gieRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF70GIE STCK converted to ZonedDateTime
- See Also:
-
smf70gieRawValue
SMF70GIE STCK value.- Returns:
- BigInteger SMF70GIE STCK value
-
smf70xnm
SMF70XNM value.- Returns:
- String SMF70XNM value
-
smf70snm
SMF70SNM value.- Returns:
- String SMF70SNM 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
-