java.lang.Object
de.iip_ecosphere.platform.services.environment.OutData

class OutData extends Object
Represents wrapped output data from Python.
Author:
Holger Eichelberger, SSE
  • Field Details

    • type

      private String type
    • data

      private String data
    • time

      private long time
  • Constructor Details

    • OutData

      OutData()
  • Method Details

    • getType

      String getType()
      Returns the symbolic data type name.
      Returns:
      the type name
    • getData

      String getData()
      The payload data in JSON format.
      Returns:
      the payload data
    • getTime

      long getTime()
      Returns the time taken for processing in Python.
      Returns:
      the elapsed time in ns
    • setType

      public void setType(String type)
      Changes the type. [public for JSON]
      Parameters:
      type - the type to set
    • setData

      public void setData(String data)
      Changes the data. [public for JSON]
      Parameters:
      data - the data to set
    • setTime

      public void setTime(long time)
      Changes the processing time. [public for JSON]
      Parameters:
      time - the time to set