Package com.blackhillsoftware.smf.smf79
Class ProductSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf79.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 SMF79AltVM bit insmf79fla()
is set.boolean
smf79bip()
Return true ifsmf79fla()
masked by SMF79BOO equalsSMF79BIP
.boolean
smf79brp()
Return true ifsmf79fla()
masked by SMF79BOO equalsSMF79BRP
.boolean
smf79bsh()
Return true ifsmf79fla()
masked by SMF79BOO equalsSMF79BSH
.boolean
smf79cne()
Return true ifSMF79CNE
bit insmf79prf()
is set.boolean
smf79cnv()
Return true if SMF79CNV bit insmf79fla()
is set.smf79cyc()
SMF79CYC as a Duration.int
SMF79CYC raw value.double
SMF79CYC in seconds.smf79dat()
SMF79DAT as a LocalDate.int
SMF79DAT raw value.boolean
smf79drc()
Return true ifSMF79DRC
bit insmf79prf()
is set.boolean
smf79eed()
Return true if SMF79EED bit insmf79fla()
is set.boolean
smf79eme()
Return true ifSMF79EME
bit insmf79prf()
is set.int
smf79fla()
SMF79FLA value.smf79gie()
SMF79GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF79GIE STCK value.smf79iet()
SMF79IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF79IET STCK value.boolean
smf79iip()
Return true if SMF79IIP bit insmf79fla()
is set.int
smf79iml()
SMF79IML value.smf79int()
SMF79INT as a Duration.int
SMF79INT raw value.double
SMF79INT in seconds.boolean
smf79ism()
Return true if SMF79ISM bit insmf79fla()
is set.boolean
smf79iss()
Return true if SMF79ISS bit insmf79fla()
is set.smf79ist()
SMF79IST as LocalTime.int
SMF79IST raw value.smf79lgo()
SMF79LGO as ZoneOffset.long
SMF79LGO raw value.boolean
smf79m3r()
Return true if SMF79M3R bit insmf79fla()
is set.int
smf79mfl()
SMF79MFL value.int
smf79mfv()
SMF79MFV value.smf79mvs()
SMF79MVS value.smf79oil()
SMF79OIL as a Duration.int
SMF79OIL raw value.double
SMF79OIL in seconds.boolean
smf79pe2()
Return true ifSMF79PE2
bit insmf79prf()
is set.boolean
smf79ped()
Return true ifSMF79PED
bit insmf79prf()
is set.smf79prd()
SMF79PRD value.int
smf79prf()
SMF79PRF value.boolean
smf79pri()
Return true ifSMF79PRI
bit insmf79prf()
is set.boolean
smf79prp()
Return true ifSMF79PRP
bit insmf79prf()
is set.int
smf79ptn()
SMF79PTN value.boolean
smf79qes()
Return true ifSMF79QES
bit insmf79prf()
is set.int
smf79ral()
SMF79RAL value.int
smf79ran()
SMF79RAN value.int
smf79rao()
SMF79RAO value.boolean
smf79rch()
Return true if SMF79RCH bit insmf79fla()
is set.boolean
smf79rcl()
Return true if SMF79RCL bit insmf79fla()
is set.smf79rls()
SMF79RLS value.int
smf79rv2()
SMF79RV2 value.long
smf79sam()
SMF79SAM value.smf79snm()
SMF79SNM value.int
smf79srl()
SMF79SRL value.smf79syn()
SMF79SYN as a Duration.int
SMF79SYN raw value.double
SMF79SYN in seconds.smf79xnm()
SMF79XNM value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF79CNV
public static final int SMF79CNVConstant: 0x80 = 128- See Also:
-
SMF79ISS
public static final int SMF79ISSConstant: 0x40 = 64- See Also:
-
SMF79M3R
public static final int SMF79M3RConstant: 0x20 = 32- See Also:
-
SMF79ISM
public static final int SMF79ISMConstant: 0x10 = 16- See Also:
-
SMF79RCL
public static final int SMF79RCLConstant: 0x08 = 8- See Also:
-
SMF79RCH
public static final int SMF79RCHConstant: 0x04 = 4- See Also:
-
SMF79AltVM
public static final int SMF79AltVMConstant: 0x02 = 2- See Also:
-
SMF79IIP
public static final int SMF79IIPConstant: 0x40 = 64- See Also:
-
SMF79EED
public static final int SMF79EEDConstant: 0x20 = 32- See Also:
-
SMF79BOO
public static final int SMF79BOOConstant: 0x07 = 7- See Also:
-
SMF79BRP
public static final int SMF79BRPConstant: 0x03 = 3- See Also:
-
SMF79BSH
public static final int SMF79BSHConstant: 0x02 = 2- See Also:
-
SMF79BIP
public static final int SMF79BIPConstant: 0x01 = 1- See Also:
-
SMF79QES
public static final int SMF79QESConstant: 0x80 = 128- See Also:
-
SMF79CNE
public static final int SMF79CNEConstant: 0x40 = 64- See Also:
-
SMF79DRC
public static final int SMF79DRCConstant: 0x20 = 32- See Also:
-
SMF79EME
public static final int SMF79EMEConstant: 0x10 = 16- See Also:
-
SMF79PRI
public static final int SMF79PRIConstant: 0x08 = 8- See Also:
-
SMF79PRP
public static final int SMF79PRPConstant: 0x04 = 4- See Also:
-
SMF79PED
public static final int SMF79PEDConstant: 0x02 = 2- See Also:
-
SMF79PE2
public static final int SMF79PE2Constant: 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 79 ReassemblyArea or null
-
smf79mfv
public int smf79mfv()SMF79MFV value.- Returns:
- int SMF79MFV value
-
smf79prd
SMF79PRD value.- Returns:
- String SMF79PRD value
-
smf79ist
SMF79IST as LocalTime.- Returns:
- LocalTime SMF79IST
- See Also:
-
smf79istRawValue
public int smf79istRawValue()SMF79IST raw value.- Returns:
- int SMF79IST value
-
smf79dat
SMF79DAT as a LocalDate.- Returns:
- LocalDate SMF79DAT Date
- See Also:
-
smf79datRawValue
public int smf79datRawValue()SMF79DAT raw value.- Returns:
- int SMF79DAT value
-
smf79int
SMF79INT as a Duration.- Returns:
- Duration SMF79INT seconds
- See Also:
-
smf79intSeconds
public double smf79intSeconds()SMF79INT in seconds.- Returns:
- double SMF79INT converted to seconds
-
smf79intRawValue
public int smf79intRawValue()SMF79INT raw value.- Returns:
- int SMF79INT value
-
smf79mfl
public int smf79mfl()SMF79MFL value.- Returns:
- int SMF79MFL value
-
smf79sam
public long smf79sam()SMF79SAM value.- Returns:
- long SMF79SAM value
-
smf79rv2
public int smf79rv2()SMF79RV2 value.- Returns:
- int SMF79RV2 value
-
smf79fla
public int smf79fla()SMF79FLA value.- Returns:
- int SMF79FLA value
-
smf79cnv
public boolean smf79cnv()Return true if SMF79CNV bit insmf79fla()
is set.- Returns:
- boolean SMF79CNV bit is set in smf79fla()
SMF79CNV = 0x80
-
smf79iss
public boolean smf79iss()Return true if SMF79ISS bit insmf79fla()
is set.- Returns:
- boolean SMF79ISS bit is set in smf79fla()
SMF79ISS = 0x40
-
smf79m3r
public boolean smf79m3r()Return true if SMF79M3R bit insmf79fla()
is set.- Returns:
- boolean SMF79M3R bit is set in smf79fla()
SMF79M3R = 0x20
-
smf79ism
public boolean smf79ism()Return true if SMF79ISM bit insmf79fla()
is set.- Returns:
- boolean SMF79ISM bit is set in smf79fla()
SMF79ISM = 0x10
-
smf79rcl
public boolean smf79rcl()Return true if SMF79RCL bit insmf79fla()
is set.- Returns:
- boolean SMF79RCL bit is set in smf79fla()
SMF79RCL = 0x08
-
smf79rch
public boolean smf79rch()Return true if SMF79RCH bit insmf79fla()
is set.- Returns:
- boolean SMF79RCH bit is set in smf79fla()
SMF79RCH = 0x04
-
smf79altVm
public boolean smf79altVm()Return true if SMF79AltVM bit insmf79fla()
is set.- Returns:
- boolean SMF79AltVM bit is set in smf79fla()
SMF79AltVM = 0x02
-
smf79iip
public boolean smf79iip()Return true if SMF79IIP bit insmf79fla()
is set.- Returns:
- boolean SMF79IIP bit is set in smf79fla()
SMF79IIP = 0x40
-
smf79eed
public boolean smf79eed()Return true if SMF79EED bit insmf79fla()
is set.- Returns:
- boolean SMF79EED bit is set in smf79fla()
SMF79EED = 0x20
-
smf79brp
public boolean smf79brp()Return true ifsmf79fla()
masked by SMF79BOO equalsSMF79BRP
.- Returns:
- boolean
smf79fla()
& SMF79BOO equals SMF79BRPSMF79BRP = 0x03
-
smf79bsh
public boolean smf79bsh()Return true ifsmf79fla()
masked by SMF79BOO equalsSMF79BSH
.- Returns:
- boolean
smf79fla()
& SMF79BOO equals SMF79BSHSMF79BSH = 0x02
-
smf79bip
public boolean smf79bip()Return true ifsmf79fla()
masked by SMF79BOO equalsSMF79BIP
.- Returns:
- boolean
smf79fla()
& SMF79BOO equals SMF79BIPSMF79BIP = 0x01
-
smf79rls
SMF79RLS value.- Returns:
- String SMF79RLS value
-
smf79cyc
SMF79CYC as a Duration.- Returns:
- Duration SMF79CYC seconds
- See Also:
-
smf79cycSeconds
public double smf79cycSeconds()SMF79CYC in seconds.- Returns:
- double SMF79CYC converted to seconds
-
smf79cycRawValue
public int smf79cycRawValue()SMF79CYC raw value.- Returns:
- int SMF79CYC value
-
smf79mvs
SMF79MVS value.- Returns:
- String SMF79MVS value
-
smf79iml
public int smf79iml()SMF79IML value.- Returns:
- int SMF79IML value
-
smf79prf
public int smf79prf()SMF79PRF value.- Returns:
- int SMF79PRF value
-
smf79qes
public boolean smf79qes()Return true ifSMF79QES
bit insmf79prf()
is set.- Returns:
- boolean SMF79QES bit is set in smf79prf()
SMF79QES = 0x80
-
smf79cne
public boolean smf79cne()Return true ifSMF79CNE
bit insmf79prf()
is set.- Returns:
- boolean SMF79CNE bit is set in smf79prf()
SMF79CNE = 0x40
-
smf79drc
public boolean smf79drc()Return true ifSMF79DRC
bit insmf79prf()
is set.- Returns:
- boolean SMF79DRC bit is set in smf79prf()
SMF79DRC = 0x20
-
smf79eme
public boolean smf79eme()Return true ifSMF79EME
bit insmf79prf()
is set.- Returns:
- boolean SMF79EME bit is set in smf79prf()
SMF79EME = 0x10
-
smf79pri
public boolean smf79pri()Return true ifSMF79PRI
bit insmf79prf()
is set.- Returns:
- boolean SMF79PRI bit is set in smf79prf()
SMF79PRI = 0x08
-
smf79prp
public boolean smf79prp()Return true ifSMF79PRP
bit insmf79prf()
is set.- Returns:
- boolean SMF79PRP bit is set in smf79prf()
SMF79PRP = 0x04
-
smf79ped
public boolean smf79ped()Return true ifSMF79PED
bit insmf79prf()
is set.- Returns:
- boolean SMF79PED bit is set in smf79prf()
SMF79PED = 0x02
-
smf79pe2
public boolean smf79pe2()Return true ifSMF79PE2
bit insmf79prf()
is set.- Returns:
- boolean SMF79PE2 bit is set in smf79prf()
SMF79PE2 = 0x01
-
smf79ptn
public int smf79ptn()SMF79PTN value.- Returns:
- int SMF79PTN value
-
smf79srl
public int smf79srl()SMF79SRL value.- Returns:
- int SMF79SRL value
-
smf79iet
SMF79IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf79ietRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF79IET STCK converted to ZonedDateTime
- See Also:
-
smf79ietRawValue
SMF79IET STCK value.- Returns:
- BigInteger SMF79IET STCK value
-
smf79lgo
SMF79LGO as ZoneOffset.- Returns:
- ZoneOffset SMF79LGO
-
smf79lgoRawValue
public long smf79lgoRawValue()SMF79LGO raw value.- Returns:
- long SMF79LGO value
-
smf79rao
public int smf79rao()SMF79RAO value.- Returns:
- int SMF79RAO value
-
smf79ral
public int smf79ral()SMF79RAL value.- Returns:
- int SMF79RAL value
-
smf79ran
public int smf79ran()SMF79RAN value.- Returns:
- int SMF79RAN value
-
smf79oil
SMF79OIL as a Duration.- Returns:
- Duration SMF79OIL
- See Also:
-
smf79oilSeconds
public double smf79oilSeconds()SMF79OIL in seconds.- Returns:
- double SMF79OIL converted to seconds
-
smf79oilRawValue
public int smf79oilRawValue()SMF79OIL raw value.- Returns:
- int SMF79OIL raw value
-
smf79syn
SMF79SYN as a Duration.- Returns:
- Duration SMF79SYN
- See Also:
-
smf79synSeconds
public double smf79synSeconds()SMF79SYN in seconds.- Returns:
- double SMF79SYN converted to seconds
-
smf79synRawValue
public int smf79synRawValue()SMF79SYN raw value.- Returns:
- int SMF79SYN raw value
-
smf79gie
SMF79GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf79gieRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF79GIE STCK converted to ZonedDateTime
- See Also:
-
smf79gieRawValue
SMF79GIE STCK value.- Returns:
- BigInteger SMF79GIE STCK value
-
smf79xnm
SMF79XNM value.- Returns:
- String SMF79XNM value
-
smf79snm
SMF79SNM value.- Returns:
- String SMF79SNM 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
-