Class Report
java.lang.Object
edu.uky.cs.nil.tt.io.Message
edu.uky.cs.nil.tt.io.Report
- All Implemented Interfaces:
Timestamped
-
Nested Class Summary
Nested classes/interfaces inherited from interface Timestamped
Timestamped.Adapter -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringA comment provided by the agent explaining their answer, or null if the question does not allow comments or the agent does not provide onefinal StringThe name or ID of the survey questionfinal StringThe answer the agent gives to the survey questionFields inherited from interface Timestamped
FORMAT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Message
configure, getAgent, getTimestamp, setAgent
-
Field Details
-
item
The name or ID of the survey question -
value
The answer the agent gives to the survey question -
comment
A comment provided by the agent explaining their answer, or null if the question does not allow comments or the agent does not provide one
-
-
Constructor Details
-
Report
-
-
Method Details
-
toString
-
verify
public void verify()Description copied from class:MessageChecks that this message is correctly configured and throws an exception if not. This method should be called soon after the message has been parsed. It should check that all the necessary fields are set and that their values are legal values.
-