Class PointsInput
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.util.entities.inputtypes.AbstractInputType
ch.tocco.nice2.optional.qualification.impl.util.entities.inputtypes.AbstractPointsInput
ch.tocco.nice2.optional.qualification.impl.util.entities.inputtypes.PointsInput
- Direct Known Subclasses:
PointsAverageInput
handles data and logic for points input
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class ch.tocco.nice2.optional.qualification.impl.util.entities.inputtypes.AbstractPointsInput
AbstractPointsInput.AbstractPointsDataRecord, AbstractPointsInput.PointsStatistics
Nested classes/interfaces inherited from class ch.tocco.nice2.optional.qualification.impl.util.entities.inputtypes.AbstractInputType
AbstractInputType.AbstractDataStoreRecord, AbstractInputType.AbstractStatistics, AbstractInputType.ExamRecord, AbstractInputType.InboundInputDataRecord, AbstractInputType.InboundRatingRecord, AbstractInputType.RatingRecord
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataStoreRecord
(InputData inputData) Returns aDataStoreRecord
as simplified representation of a givenInput_data
to be used in the client UI.getServerFeedback
(InputData inputData) getSingleRelevantRating
(InputData inputData) getUserData
(InputData inputData) boolean
Determine whether a InputData entity is empty, i.e.boolean
writeRow
(ImportHelper helper, org.apache.poi.ss.usermodel.Row row, InputData inputData) Methods inherited from class ch.tocco.nice2.optional.qualification.impl.util.entities.inputtypes.AbstractPointsInput
aggregateInputData, getAndValidateDispensed, getAndValidateRatings, getDatabaseValue, getDatabaseValue, getDataType, getEvaluationObject, getNumNonEmptyRatings, getStatistics, getStatistics, getUserGradesDetailData, writeDataStoreRecord, writeDataStoreRecord
Methods inherited from class ch.tocco.nice2.optional.qualification.impl.util.entities.inputtypes.AbstractInputType
getEventsAsString, validateImportStructure
-
Constructor Details
-
PointsInput
public PointsInput()
-
-
Method Details
-
getDataStoreRecord
Description copied from class:AbstractInputType
Returns aDataStoreRecord
as simplified representation of a givenInput_data
to be used in the client UI.- Specified by:
getDataStoreRecord
in classAbstractInputType
- Parameters:
inputData
- theInput_data
to build the representation for- Returns:
- the simple representation of the given
Input_data
-
getServerFeedback
- Specified by:
getServerFeedback
in classAbstractInputType
-
isEmpty
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- Specified by:
isEmpty
in classAbstractInputType
- Parameters:
inputData
- the InputData to analyze- Returns:
- true if the InputData is empty
-
getSingleRelevantRating
- Specified by:
getSingleRelevantRating
in classAbstractInputType
-
writeRow
public boolean writeRow(ImportHelper helper, org.apache.poi.ss.usermodel.Row row, InputData inputData) - Specified by:
writeRow
in classAbstractInputType
-
getUserData
- Specified by:
getUserData
in classAbstractPointsInput
-