public class DBBSmfRecord extends SmfRecord
Constructor and Description |
---|
DBBSmfRecord()
Create a Dependency Based Build SMF record that will be used for write
SMF records.
|
DBBSmfRecord(byte[] data)
Create a Dependency Based Build SMF record object to map data read using
the SMF record dump program.
|
Modifier and Type | Method and Description |
---|---|
short |
getBuild()
Returns the DBB build number stored in the DBB SMF record
|
byte |
getMod()
Returns the Mod number stored in the DBB SMF record
|
java.lang.String |
getProductFeature()
Returns the Product Feature stored in the DBB SMF record
|
java.lang.String |
getProductId()
Returns the Product Id stored in the DBB SMF record
|
java.lang.String |
getProductName()
Returns the Product Name stored in the DBB SMF record
|
byte |
getRelease()
Returns the release number stored in the DBB SMF record
|
java.util.Date |
getTimestamp()
Returns the timestamp stored in the DBB SMF record
|
java.lang.String |
getUserid()
Returns the userid stored in the DBB SMF record.
|
byte |
getVersion()
Returns the Version number stored in the DBB SMF record
|
void |
setProductFeature(java.lang.String productFeature)
Override the default Product Feature name
|
void |
setProductId(java.lang.String productId)
Override the default Product Id
|
void |
setProductName(java.lang.String productName)
Override the default product name
|
java.lang.String |
toString() |
void |
write()
Move DBB SMF record information into buffer and write the SMF record.
|
getDate, getFlag, getHeader, getHeaderLength, getLength, getRecord, getSegment, getSID, getSubType, getTime, getType, getWID, setWID
public DBBSmfRecord()
public DBBSmfRecord(byte[] data)
data
- buffer of data from SMF record dump programjava.lang.IllegalArgumentException
- if type and subtype in buffer are not consistent with the DBB
SMF record type and subtype.public void write() throws BuildException
BuildException
- an exception occurredpublic java.lang.String getProductName()
public void setProductName(java.lang.String productName)
productName
- product namepublic java.lang.String getProductFeature()
public void setProductFeature(java.lang.String productFeature)
productFeature
- product featurepublic java.lang.String getProductId()
public void setProductId(java.lang.String productId)
productId
- product Idpublic byte getVersion()
public byte getRelease()
public byte getMod()
public java.util.Date getTimestamp()
public java.lang.String getUserid()
public short getBuild()
<IBM Copyright © 2018 IBM Corp. All Rights Reserved.