com.ibm.dbb.build.report.records

Class VersionRecord



  • public class VersionRecord
    extends Record
    • Constructor Summary

      Constructors 
      Constructor and Description
      VersionRecord()
      Construct a record with a default ID
      VersionRecord(java.lang.String id)
      Construct a default record with the specific ID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getBuild()
      Return the build version number of DBB
      java.lang.String getDate()
      Return the date of the DBB build
      java.lang.String getVersion()
      Return the version of DBB
      VersionRecord parse(com.ibm.json.java.JSONObject jsonObj)
      Create the record from JSON.
      void setBuild(java.lang.String build)
      Set the build version number of DBB
      void setDate(java.lang.String date)
      Set the date of DBB build
      void setVersion(java.lang.String version)
      Set the version of DBB
      com.ibm.json.java.JSONObject toJSON()
      Returns the record in JSON format.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VersionRecord

        public VersionRecord()
        Construct a record with a default ID
      • VersionRecord

        public VersionRecord(java.lang.String id)
        Construct a default record with the specific ID
        Parameters:
        id - the record ID
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
        Return the version of DBB
        Returns:
        the version of DBB
      • setVersion

        public void setVersion(java.lang.String version)
        Set the version of DBB
        Parameters:
        version - the version of DBB
      • getBuild

        public java.lang.String getBuild()
        Return the build version number of DBB
        Returns:
        the build version number of DBB
      • setBuild

        public void setBuild(java.lang.String build)
        Set the build version number of DBB
        Parameters:
        build - the build version number
      • getDate

        public java.lang.String getDate()
        Return the date of the DBB build
        Returns:
        the date of the DBB build
      • setDate

        public void setDate(java.lang.String date)
        Set the date of DBB build
        Parameters:
        date - the date of DBB build
      • toJSON

        public com.ibm.json.java.JSONObject toJSON()
        Returns the record in JSON format.
        Overrides:
        toJSON in class Record
        Returns:
        the JSON format of this record.
      • parse

        public VersionRecord parse(com.ibm.json.java.JSONObject jsonObj)
        Create the record from JSON.
        Overrides:
        parse in class Record
        Parameters:
        jsonObj - The object in JSON to be parsed.
        Returns:
        the record representing by the supplied JSON contents.

<IBM Copyright © 2018 IBM Corp. All Rights Reserved.