Package com.blackhillsoftware.smf.smf74
Class ProductSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf74.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 SMF74AltVM bit insmf74fla()
is set.boolean
smf74bip()
Return true ifsmf74fla()
masked by SMF74BOO equalsSMF74BIP
.boolean
smf74brp()
Return true ifsmf74fla()
masked by SMF74BOO equalsSMF74BRP
.boolean
smf74bsh()
Return true ifsmf74fla()
masked by SMF74BOO equalsSMF74BSH
.boolean
smf74cne()
Return true ifSMF74CNE
bit insmf74prf()
is set.boolean
smf74cnv()
Return true if SMF74CNV bit insmf74fla()
is set.smf74cyc()
SMF74CYC as a Duration.int
SMF74CYC raw value.double
SMF74CYC in seconds.smf74dat()
SMF74DAT as a LocalDate.int
SMF74DAT raw value.boolean
smf74drc()
Return true ifSMF74DRC
bit insmf74prf()
is set.boolean
smf74eed()
Return true if SMF74EED bit insmf74fla()
is set.boolean
smf74eme()
Return true ifSMF74EME
bit insmf74prf()
is set.int
smf74fla()
SMF74FLA value.smf74gie()
SMF74GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF74GIE STCK value.smf74iet()
SMF74IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF74IET STCK value.boolean
smf74iip()
Return true if SMF74IIP bit insmf74fla()
is set.int
smf74iml()
SMF74IML value.smf74int()
SMF74INT as a Duration.int
SMF74INT raw value.double
SMF74INT in seconds.boolean
smf74ism()
Return true if SMF74ISM bit insmf74fla()
is set.boolean
smf74iss()
Return true if SMF74ISS bit insmf74fla()
is set.smf74ist()
SMF74IST as LocalTime.int
SMF74IST raw value.smf74lgo()
SMF74LGO as ZoneOffset.long
SMF74LGO raw value.boolean
smf74m3r()
Return true if SMF74M3R bit insmf74fla()
is set.int
smf74mfl()
SMF74MFL value.int
smf74mfv()
SMF74MFV value.smf74mvs()
SMF74MVS value.smf74oil()
SMF74OIL as a Duration.int
SMF74OIL raw value.double
SMF74OIL in seconds.boolean
smf74pe2()
Return true ifSMF74PE2
bit insmf74prf()
is set.boolean
smf74ped()
Return true ifSMF74PED
bit insmf74prf()
is set.smf74prd()
SMF74PRD value.int
smf74prf()
SMF74PRF value.boolean
smf74pri()
Return true ifSMF74PRI
bit insmf74prf()
is set.boolean
smf74prp()
Return true ifSMF74PRP
bit insmf74prf()
is set.int
smf74ptn()
SMF74PTN value.boolean
smf74qes()
Return true ifSMF74QES
bit insmf74prf()
is set.int
smf74ral()
SMF74RAL value.int
smf74ran()
SMF74RAN value.int
smf74rao()
SMF74RAO value.boolean
smf74rch()
Return true if SMF74RCH bit insmf74fla()
is set.boolean
smf74rcl()
Return true if SMF74RCL bit insmf74fla()
is set.smf74rls()
SMF74RLS value.int
smf74rv2()
SMF74RV2 value.long
smf74sam()
SMF74SAM value.smf74snm()
SMF74SNM value.int
smf74srl()
SMF74SRL value.smf74syn()
SMF74SYN as a Duration.int
SMF74SYN raw value.double
SMF74SYN in seconds.smf74xnm()
SMF74XNM value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF74CNV
public static final int SMF74CNVConstant: 0x80 = 128- See Also:
-
SMF74ISS
public static final int SMF74ISSConstant: 0x40 = 64- See Also:
-
SMF74M3R
public static final int SMF74M3RConstant: 0x20 = 32- See Also:
-
SMF74ISM
public static final int SMF74ISMConstant: 0x10 = 16- See Also:
-
SMF74RCL
public static final int SMF74RCLConstant: 0x08 = 8- See Also:
-
SMF74RCH
public static final int SMF74RCHConstant: 0x04 = 4- See Also:
-
SMF74AltVM
public static final int SMF74AltVMConstant: 0x02 = 2- See Also:
-
SMF74IIP
public static final int SMF74IIPConstant: 0x40 = 64- See Also:
-
SMF74EED
public static final int SMF74EEDConstant: 0x20 = 32- See Also:
-
SMF74BOO
public static final int SMF74BOOConstant: 0x07 = 7- See Also:
-
SMF74BRP
public static final int SMF74BRPConstant: 0x03 = 3- See Also:
-
SMF74BSH
public static final int SMF74BSHConstant: 0x02 = 2- See Also:
-
SMF74BIP
public static final int SMF74BIPConstant: 0x01 = 1- See Also:
-
SMF74QES
public static final int SMF74QESConstant: 0x80 = 128- See Also:
-
SMF74CNE
public static final int SMF74CNEConstant: 0x40 = 64- See Also:
-
SMF74DRC
public static final int SMF74DRCConstant: 0x20 = 32- See Also:
-
SMF74EME
public static final int SMF74EMEConstant: 0x10 = 16- See Also:
-
SMF74PRI
public static final int SMF74PRIConstant: 0x08 = 8- See Also:
-
SMF74PRP
public static final int SMF74PRPConstant: 0x04 = 4- See Also:
-
SMF74PED
public static final int SMF74PEDConstant: 0x02 = 2- See Also:
-
SMF74PE2
public static final int SMF74PE2Constant: 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 74 ReassemblyArea or null
-
smf74mfv
public int smf74mfv()SMF74MFV value.- Returns:
- int SMF74MFV value
-
smf74prd
SMF74PRD value.- Returns:
- String SMF74PRD value
-
smf74ist
SMF74IST as LocalTime.- Returns:
- LocalTime SMF74IST
- See Also:
-
smf74istRawValue
public int smf74istRawValue()SMF74IST raw value.- Returns:
- int SMF74IST value
-
smf74dat
SMF74DAT as a LocalDate.- Returns:
- LocalDate SMF74DAT Date
- See Also:
-
smf74datRawValue
public int smf74datRawValue()SMF74DAT raw value.- Returns:
- int SMF74DAT value
-
smf74int
SMF74INT as a Duration.- Returns:
- Duration SMF74INT seconds
- See Also:
-
smf74intSeconds
public double smf74intSeconds()SMF74INT in seconds.- Returns:
- double SMF74INT converted to seconds
-
smf74intRawValue
public int smf74intRawValue()SMF74INT raw value.- Returns:
- int SMF74INT value
-
smf74mfl
public int smf74mfl()SMF74MFL value.- Returns:
- int SMF74MFL value
-
smf74sam
public long smf74sam()SMF74SAM value.- Returns:
- long SMF74SAM value
-
smf74rv2
public int smf74rv2()SMF74RV2 value.- Returns:
- int SMF74RV2 value
-
smf74fla
public int smf74fla()SMF74FLA value.- Returns:
- int SMF74FLA value
-
smf74cnv
public boolean smf74cnv()Return true if SMF74CNV bit insmf74fla()
is set.- Returns:
- boolean SMF74CNV bit is set in smf74fla()
SMF74CNV = 0x80
-
smf74iss
public boolean smf74iss()Return true if SMF74ISS bit insmf74fla()
is set.- Returns:
- boolean SMF74ISS bit is set in smf74fla()
SMF74ISS = 0x40
-
smf74m3r
public boolean smf74m3r()Return true if SMF74M3R bit insmf74fla()
is set.- Returns:
- boolean SMF74M3R bit is set in smf74fla()
SMF74M3R = 0x20
-
smf74ism
public boolean smf74ism()Return true if SMF74ISM bit insmf74fla()
is set.- Returns:
- boolean SMF74ISM bit is set in smf74fla()
SMF74ISM = 0x10
-
smf74rcl
public boolean smf74rcl()Return true if SMF74RCL bit insmf74fla()
is set.- Returns:
- boolean SMF74RCL bit is set in smf74fla()
SMF74RCL = 0x08
-
smf74rch
public boolean smf74rch()Return true if SMF74RCH bit insmf74fla()
is set.- Returns:
- boolean SMF74RCH bit is set in smf74fla()
SMF74RCH = 0x04
-
smf74altVm
public boolean smf74altVm()Return true if SMF74AltVM bit insmf74fla()
is set.- Returns:
- boolean SMF74AltVM bit is set in smf74fla()
SMF74AltVM = 0x02
-
smf74iip
public boolean smf74iip()Return true if SMF74IIP bit insmf74fla()
is set.- Returns:
- boolean SMF74IIP bit is set in smf74fla()
SMF74IIP = 0x40
-
smf74eed
public boolean smf74eed()Return true if SMF74EED bit insmf74fla()
is set.- Returns:
- boolean SMF74EED bit is set in smf74fla()
SMF74EED = 0x20
-
smf74brp
public boolean smf74brp()Return true ifsmf74fla()
masked by SMF74BOO equalsSMF74BRP
.- Returns:
- boolean
smf74fla()
& SMF74BOO equals SMF74BRPSMF74BRP = 0x03
-
smf74bsh
public boolean smf74bsh()Return true ifsmf74fla()
masked by SMF74BOO equalsSMF74BSH
.- Returns:
- boolean
smf74fla()
& SMF74BOO equals SMF74BSHSMF74BSH = 0x02
-
smf74bip
public boolean smf74bip()Return true ifsmf74fla()
masked by SMF74BOO equalsSMF74BIP
.- Returns:
- boolean
smf74fla()
& SMF74BOO equals SMF74BIPSMF74BIP = 0x01
-
smf74rls
SMF74RLS value.- Returns:
- String SMF74RLS value
-
smf74cyc
SMF74CYC as a Duration.- Returns:
- Duration SMF74CYC seconds
- See Also:
-
smf74cycSeconds
public double smf74cycSeconds()SMF74CYC in seconds.- Returns:
- double SMF74CYC converted to seconds
-
smf74cycRawValue
public int smf74cycRawValue()SMF74CYC raw value.- Returns:
- int SMF74CYC value
-
smf74mvs
SMF74MVS value.- Returns:
- String SMF74MVS value
-
smf74iml
public int smf74iml()SMF74IML value.- Returns:
- int SMF74IML value
-
smf74prf
public int smf74prf()SMF74PRF value.- Returns:
- int SMF74PRF value
-
smf74qes
public boolean smf74qes()Return true ifSMF74QES
bit insmf74prf()
is set.- Returns:
- boolean SMF74QES bit is set in smf74prf()
SMF74QES = 0x80
-
smf74cne
public boolean smf74cne()Return true ifSMF74CNE
bit insmf74prf()
is set.- Returns:
- boolean SMF74CNE bit is set in smf74prf()
SMF74CNE = 0x40
-
smf74drc
public boolean smf74drc()Return true ifSMF74DRC
bit insmf74prf()
is set.- Returns:
- boolean SMF74DRC bit is set in smf74prf()
SMF74DRC = 0x20
-
smf74eme
public boolean smf74eme()Return true ifSMF74EME
bit insmf74prf()
is set.- Returns:
- boolean SMF74EME bit is set in smf74prf()
SMF74EME = 0x10
-
smf74pri
public boolean smf74pri()Return true ifSMF74PRI
bit insmf74prf()
is set.- Returns:
- boolean SMF74PRI bit is set in smf74prf()
SMF74PRI = 0x08
-
smf74prp
public boolean smf74prp()Return true ifSMF74PRP
bit insmf74prf()
is set.- Returns:
- boolean SMF74PRP bit is set in smf74prf()
SMF74PRP = 0x04
-
smf74ped
public boolean smf74ped()Return true ifSMF74PED
bit insmf74prf()
is set.- Returns:
- boolean SMF74PED bit is set in smf74prf()
SMF74PED = 0x02
-
smf74pe2
public boolean smf74pe2()Return true ifSMF74PE2
bit insmf74prf()
is set.- Returns:
- boolean SMF74PE2 bit is set in smf74prf()
SMF74PE2 = 0x01
-
smf74ptn
public int smf74ptn()SMF74PTN value.- Returns:
- int SMF74PTN value
-
smf74srl
public int smf74srl()SMF74SRL value.- Returns:
- int SMF74SRL value
-
smf74iet
SMF74IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf74ietRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF74IET STCK converted to ZonedDateTime
- See Also:
-
smf74ietRawValue
SMF74IET STCK value.- Returns:
- BigInteger SMF74IET STCK value
-
smf74lgo
SMF74LGO as ZoneOffset.- Returns:
- ZoneOffset SMF74LGO
-
smf74lgoRawValue
public long smf74lgoRawValue()SMF74LGO raw value.- Returns:
- long SMF74LGO value
-
smf74rao
public int smf74rao()SMF74RAO value.- Returns:
- int SMF74RAO value
-
smf74ral
public int smf74ral()SMF74RAL value.- Returns:
- int SMF74RAL value
-
smf74ran
public int smf74ran()SMF74RAN value.- Returns:
- int SMF74RAN value
-
smf74oil
SMF74OIL as a Duration.- Returns:
- Duration SMF74OIL
- See Also:
-
smf74oilSeconds
public double smf74oilSeconds()SMF74OIL in seconds.- Returns:
- double SMF74OIL converted to seconds
-
smf74oilRawValue
public int smf74oilRawValue()SMF74OIL raw value.- Returns:
- int SMF74OIL raw value
-
smf74syn
SMF74SYN as a Duration.- Returns:
- Duration SMF74SYN
- See Also:
-
smf74synSeconds
public double smf74synSeconds()SMF74SYN in seconds.- Returns:
- double SMF74SYN converted to seconds
-
smf74synRawValue
public int smf74synRawValue()SMF74SYN raw value.- Returns:
- int SMF74SYN raw value
-
smf74gie
SMF74GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf74gieRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF74GIE STCK converted to ZonedDateTime
- See Also:
-
smf74gieRawValue
SMF74GIE STCK value.- Returns:
- BigInteger SMF74GIE STCK value
-
smf74xnm
SMF74XNM value.- Returns:
- String SMF74XNM value
-
smf74snm
SMF74SNM value.- Returns:
- String SMF74SNM 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
-