Interface JobTypeData


public interface JobTypeData
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.gson.JsonObject
    Retrieves the data of the job type in JSON format.
    setDataFromJson​(com.google.gson.JsonObject json)
    Sets the data of the job type from JSON format.
  • Method Details

    • getDataInJson

      com.google.gson.JsonObject getDataInJson()
      Retrieves the data of the job type in JSON format.

      I highly suggest using GSON to convert the data to JSON.

      Returns:
      The data of the job type in JSON format.
    • setDataFromJson

      JobTypeData setDataFromJson(com.google.gson.JsonObject json)
      Sets the data of the job type from JSON format.
      Parameters:
      json - The data of the job type in JSON format.
      Returns:
      The data of the job type in Object format that you can use.