Package com.blackhillsoftware.smf.smf72
Class ProductSection
java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.smf72.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 SMF72AltVM bit insmf72fla()
is set.boolean
smf72bip()
Return true ifsmf72fla()
masked by SMF72BOO equalsSMF72BIP
.boolean
smf72brp()
Return true ifsmf72fla()
masked by SMF72BOO equalsSMF72BRP
.boolean
smf72bsh()
Return true ifsmf72fla()
masked by SMF72BOO equalsSMF72BSH
.boolean
smf72cne()
Return true ifSMF72CNE
bit insmf72prf()
is set.boolean
smf72cnv()
Return true if SMF72CNV bit insmf72fla()
is set.smf72cyc()
SMF72CYC as a Duration.int
SMF72CYC raw value.double
SMF72CYC in seconds.smf72dat()
SMF72DAT as a LocalDate.int
SMF72DAT raw value.boolean
smf72drc()
Return true ifSMF72DRC
bit insmf72prf()
is set.boolean
smf72eed()
Return true if SMF72EED bit insmf72fla()
is set.boolean
smf72eme()
Return true ifSMF72EME
bit insmf72prf()
is set.int
smf72fla()
SMF72FLA value.smf72gie()
SMF72GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF72GIE STCK value.smf72iet()
SMF72IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).SMF72IET STCK value.boolean
smf72iip()
Return true if SMF72IIP bit insmf72fla()
is set.int
smf72iml()
SMF72IML value.smf72int()
SMF72INT as a Duration.int
SMF72INT raw value.double
SMF72INT in seconds.boolean
smf72ism()
Return true if SMF72ISM bit insmf72fla()
is set.boolean
smf72iss()
Return true if SMF72ISS bit insmf72fla()
is set.smf72ist()
SMF72IST as LocalTime.int
SMF72IST raw value.smf72lgo()
SMF72LGO as ZoneOffset.long
SMF72LGO raw value.boolean
smf72m3r()
Return true if SMF72M3R bit insmf72fla()
is set.int
smf72mfl()
SMF72MFL value.int
smf72mfv()
SMF72MFV value.smf72mvs()
SMF72MVS value.smf72oil()
SMF72OIL as a Duration.int
SMF72OIL raw value.double
SMF72OIL in seconds.boolean
smf72pe2()
Return true ifSMF72PE2
bit insmf72prf()
is set.boolean
smf72ped()
Return true ifSMF72PED
bit insmf72prf()
is set.smf72prd()
SMF72PRD value.int
smf72prf()
SMF72PRF value.boolean
smf72pri()
Return true ifSMF72PRI
bit insmf72prf()
is set.boolean
smf72prp()
Return true ifSMF72PRP
bit insmf72prf()
is set.int
smf72ptn()
SMF72PTN value.boolean
smf72qes()
Return true ifSMF72QES
bit insmf72prf()
is set.int
smf72ral()
SMF72RAL value.int
smf72ran()
SMF72RAN value.int
smf72rao()
SMF72RAO value.boolean
smf72rch()
Return true if SMF72RCH bit insmf72fla()
is set.boolean
smf72rcl()
Return true if SMF72RCL bit insmf72fla()
is set.smf72rls()
SMF72RLS value.int
smf72rv2()
SMF72RV2 value.long
smf72sam()
SMF72SAM value.smf72snm()
SMF72SNM value.int
smf72srl()
SMF72SRL value.smf72syn()
SMF72SYN as a Duration.int
SMF72SYN raw value.double
SMF72SYN in seconds.smf72xnm()
SMF72XNM value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
SMF72CNV
public static final int SMF72CNVConstant: 0x80 = 128- See Also:
-
SMF72ISS
public static final int SMF72ISSConstant: 0x40 = 64- See Also:
-
SMF72M3R
public static final int SMF72M3RConstant: 0x20 = 32- See Also:
-
SMF72ISM
public static final int SMF72ISMConstant: 0x10 = 16- See Also:
-
SMF72RCL
public static final int SMF72RCLConstant: 0x08 = 8- See Also:
-
SMF72RCH
public static final int SMF72RCHConstant: 0x04 = 4- See Also:
-
SMF72AltVM
public static final int SMF72AltVMConstant: 0x02 = 2- See Also:
-
SMF72IIP
public static final int SMF72IIPConstant: 0x40 = 64- See Also:
-
SMF72EED
public static final int SMF72EEDConstant: 0x20 = 32- See Also:
-
SMF72BOO
public static final int SMF72BOOConstant: 0x07 = 7- See Also:
-
SMF72BRP
public static final int SMF72BRPConstant: 0x03 = 3- See Also:
-
SMF72BSH
public static final int SMF72BSHConstant: 0x02 = 2- See Also:
-
SMF72BIP
public static final int SMF72BIPConstant: 0x01 = 1- See Also:
-
SMF72QES
public static final int SMF72QESConstant: 0x80 = 128- See Also:
-
SMF72CNE
public static final int SMF72CNEConstant: 0x40 = 64- See Also:
-
SMF72DRC
public static final int SMF72DRCConstant: 0x20 = 32- See Also:
-
SMF72EME
public static final int SMF72EMEConstant: 0x10 = 16- See Also:
-
SMF72PRI
public static final int SMF72PRIConstant: 0x08 = 8- See Also:
-
SMF72PRP
public static final int SMF72PRPConstant: 0x04 = 4- See Also:
-
SMF72PED
public static final int SMF72PEDConstant: 0x02 = 2- See Also:
-
SMF72PE2
public static final int SMF72PE2Constant: 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 72 ReassemblyArea or null
-
smf72mfv
public int smf72mfv()SMF72MFV value.- Returns:
- int SMF72MFV value
-
smf72prd
SMF72PRD value.- Returns:
- String SMF72PRD value
-
smf72ist
SMF72IST as LocalTime.- Returns:
- LocalTime SMF72IST
- See Also:
-
smf72istRawValue
public int smf72istRawValue()SMF72IST raw value.- Returns:
- int SMF72IST value
-
smf72dat
SMF72DAT as a LocalDate.- Returns:
- LocalDate SMF72DAT Date
- See Also:
-
smf72datRawValue
public int smf72datRawValue()SMF72DAT raw value.- Returns:
- int SMF72DAT value
-
smf72int
SMF72INT as a Duration.- Returns:
- Duration SMF72INT seconds
- See Also:
-
smf72intSeconds
public double smf72intSeconds()SMF72INT in seconds.- Returns:
- double SMF72INT converted to seconds
-
smf72intRawValue
public int smf72intRawValue()SMF72INT raw value.- Returns:
- int SMF72INT value
-
smf72mfl
public int smf72mfl()SMF72MFL value.- Returns:
- int SMF72MFL value
-
smf72sam
public long smf72sam()SMF72SAM value.- Returns:
- long SMF72SAM value
-
smf72rv2
public int smf72rv2()SMF72RV2 value.- Returns:
- int SMF72RV2 value
-
smf72fla
public int smf72fla()SMF72FLA value.- Returns:
- int SMF72FLA value
-
smf72cnv
public boolean smf72cnv()Return true if SMF72CNV bit insmf72fla()
is set.- Returns:
- boolean SMF72CNV bit is set in smf72fla()
SMF72CNV = 0x80
-
smf72iss
public boolean smf72iss()Return true if SMF72ISS bit insmf72fla()
is set.- Returns:
- boolean SMF72ISS bit is set in smf72fla()
SMF72ISS = 0x40
-
smf72m3r
public boolean smf72m3r()Return true if SMF72M3R bit insmf72fla()
is set.- Returns:
- boolean SMF72M3R bit is set in smf72fla()
SMF72M3R = 0x20
-
smf72ism
public boolean smf72ism()Return true if SMF72ISM bit insmf72fla()
is set.- Returns:
- boolean SMF72ISM bit is set in smf72fla()
SMF72ISM = 0x10
-
smf72rcl
public boolean smf72rcl()Return true if SMF72RCL bit insmf72fla()
is set.- Returns:
- boolean SMF72RCL bit is set in smf72fla()
SMF72RCL = 0x08
-
smf72rch
public boolean smf72rch()Return true if SMF72RCH bit insmf72fla()
is set.- Returns:
- boolean SMF72RCH bit is set in smf72fla()
SMF72RCH = 0x04
-
smf72altVm
public boolean smf72altVm()Return true if SMF72AltVM bit insmf72fla()
is set.- Returns:
- boolean SMF72AltVM bit is set in smf72fla()
SMF72AltVM = 0x02
-
smf72iip
public boolean smf72iip()Return true if SMF72IIP bit insmf72fla()
is set.- Returns:
- boolean SMF72IIP bit is set in smf72fla()
SMF72IIP = 0x40
-
smf72eed
public boolean smf72eed()Return true if SMF72EED bit insmf72fla()
is set.- Returns:
- boolean SMF72EED bit is set in smf72fla()
SMF72EED = 0x20
-
smf72brp
public boolean smf72brp()Return true ifsmf72fla()
masked by SMF72BOO equalsSMF72BRP
.- Returns:
- boolean
smf72fla()
& SMF72BOO equals SMF72BRPSMF72BRP = 0x03
-
smf72bsh
public boolean smf72bsh()Return true ifsmf72fla()
masked by SMF72BOO equalsSMF72BSH
.- Returns:
- boolean
smf72fla()
& SMF72BOO equals SMF72BSHSMF72BSH = 0x02
-
smf72bip
public boolean smf72bip()Return true ifsmf72fla()
masked by SMF72BOO equalsSMF72BIP
.- Returns:
- boolean
smf72fla()
& SMF72BOO equals SMF72BIPSMF72BIP = 0x01
-
smf72rls
SMF72RLS value.- Returns:
- String SMF72RLS value
-
smf72cyc
SMF72CYC as a Duration.- Returns:
- Duration SMF72CYC seconds
- See Also:
-
smf72cycSeconds
public double smf72cycSeconds()SMF72CYC in seconds.- Returns:
- double SMF72CYC converted to seconds
-
smf72cycRawValue
public int smf72cycRawValue()SMF72CYC raw value.- Returns:
- int SMF72CYC value
-
smf72mvs
SMF72MVS value.- Returns:
- String SMF72MVS value
-
smf72iml
public int smf72iml()SMF72IML value.- Returns:
- int SMF72IML value
-
smf72prf
public int smf72prf()SMF72PRF value.- Returns:
- int SMF72PRF value
-
smf72qes
public boolean smf72qes()Return true ifSMF72QES
bit insmf72prf()
is set.- Returns:
- boolean SMF72QES bit is set in smf72prf()
SMF72QES = 0x80
-
smf72cne
public boolean smf72cne()Return true ifSMF72CNE
bit insmf72prf()
is set.- Returns:
- boolean SMF72CNE bit is set in smf72prf()
SMF72CNE = 0x40
-
smf72drc
public boolean smf72drc()Return true ifSMF72DRC
bit insmf72prf()
is set.- Returns:
- boolean SMF72DRC bit is set in smf72prf()
SMF72DRC = 0x20
-
smf72eme
public boolean smf72eme()Return true ifSMF72EME
bit insmf72prf()
is set.- Returns:
- boolean SMF72EME bit is set in smf72prf()
SMF72EME = 0x10
-
smf72pri
public boolean smf72pri()Return true ifSMF72PRI
bit insmf72prf()
is set.- Returns:
- boolean SMF72PRI bit is set in smf72prf()
SMF72PRI = 0x08
-
smf72prp
public boolean smf72prp()Return true ifSMF72PRP
bit insmf72prf()
is set.- Returns:
- boolean SMF72PRP bit is set in smf72prf()
SMF72PRP = 0x04
-
smf72ped
public boolean smf72ped()Return true ifSMF72PED
bit insmf72prf()
is set.- Returns:
- boolean SMF72PED bit is set in smf72prf()
SMF72PED = 0x02
-
smf72pe2
public boolean smf72pe2()Return true ifSMF72PE2
bit insmf72prf()
is set.- Returns:
- boolean SMF72PE2 bit is set in smf72prf()
SMF72PE2 = 0x01
-
smf72ptn
public int smf72ptn()SMF72PTN value.- Returns:
- int SMF72PTN value
-
smf72srl
public int smf72srl()SMF72SRL value.- Returns:
- int SMF72SRL value
-
smf72iet
SMF72IET STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf72ietRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF72IET STCK converted to ZonedDateTime
- See Also:
-
smf72ietRawValue
SMF72IET STCK value.- Returns:
- BigInteger SMF72IET STCK value
-
smf72lgo
SMF72LGO as ZoneOffset.- Returns:
- ZoneOffset SMF72LGO
-
smf72lgoRawValue
public long smf72lgoRawValue()SMF72LGO raw value.- Returns:
- long SMF72LGO value
-
smf72rao
public int smf72rao()SMF72RAO value.- Returns:
- int SMF72RAO value
-
smf72ral
public int smf72ral()SMF72RAL value.- Returns:
- int SMF72RAL value
-
smf72ran
public int smf72ran()SMF72RAN value.- Returns:
- int SMF72RAN value
-
smf72oil
SMF72OIL as a Duration.- Returns:
- Duration SMF72OIL
- See Also:
-
smf72oilSeconds
public double smf72oilSeconds()SMF72OIL in seconds.- Returns:
- double SMF72OIL converted to seconds
-
smf72oilRawValue
public int smf72oilRawValue()SMF72OIL raw value.- Returns:
- int SMF72OIL raw value
-
smf72syn
SMF72SYN as a Duration.- Returns:
- Duration SMF72SYN
- See Also:
-
smf72synSeconds
public double smf72synSeconds()SMF72SYN in seconds.- Returns:
- double SMF72SYN converted to seconds
-
smf72synRawValue
public int smf72synRawValue()SMF72SYN raw value.- Returns:
- int SMF72SYN raw value
-
smf72gie
SMF72GIE STCK value converted to ZonedDateTime (nanosecond precision, ZoneOffset.UTC).Use
smf72gieRawValue()
for a BigInteger containing the complete STCK value.- Returns:
- DateTime SMF72GIE STCK converted to ZonedDateTime
- See Also:
-
smf72gieRawValue
SMF72GIE STCK value.- Returns:
- BigInteger SMF72GIE STCK value
-
smf72xnm
SMF72XNM value.- Returns:
- String SMF72XNM value
-
smf72snm
SMF72SNM value.- Returns:
- String SMF72SNM 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
-