public class PointsAverageInput extends PointsInput
AbstractInputType is mostly used for old client, but since points averages are only supported in new client we overwrite as little as possible here
  • Constructor Details

    • PointsAverageInput

      public PointsAverageInput()
  • Method Details

    • getDataStoreRecord

      public DataStoreRecord getDataStoreRecord(InputData inputData)
      Description copied from class: AbstractInputType
      Returns a DataStoreRecord as simplified representation of a given Input_data to be used in the client UI.
      Overrides:
      getDataStoreRecord in class PointsInput
      Parameters:
      inputData - the Input_data to build the representation for
      Returns:
      the simple representation of the given Input_data
    • isEmpty

      public boolean isEmpty(InputData inputData)
      Description copied from class: AbstractInputType
      Determine whether a InputData entity is empty, i.e. no inputs have been made or all relevant inputs have been deleted
      Overrides:
      isEmpty in class PointsInput
      Parameters:
      inputData - the InputData to analyze
      Returns:
      true if the InputData is empty
    • getSingleRelevantRating

      public Object getSingleRelevantRating(InputData inputData)
      Overrides:
      getSingleRelevantRating in class PointsInput