Class ModeRecord


  • public class ModeRecord
    extends Record
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBuildMode()
      Return the build mode of DBB
      ModeRecord parse​(com.google.gson.JsonObject jsonObj)
      Create the record from JSON.
      void setBuildMode​(java.lang.String buildMode)
      Set the build mode of DBB
      com.google.gson.JsonObject toJSON()
      Returns the record in JSON format.
      • Methods inherited from class java.lang.Object

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

    • Constructor Detail

      • ModeRecord

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

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

      • getBuildMode

        public java.lang.String getBuildMode()
        Return the build mode of DBB
        Returns:
        the build mode of DBB
      • setBuildMode

        public void setBuildMode​(java.lang.String buildMode)
        Set the build mode of DBB
        Parameters:
        buildMode - the build mode of DBB
      • toJSON

        public com.google.gson.JsonObject toJSON()
        Returns the record in JSON format.
        Overrides:
        toJSON in class Record
        Returns:
        the JSON format of this record.
      • parse

        public ModeRecord parse​(com.google.gson.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.