Record Class CATMEAuditResult
java.lang.Object
java.lang.Record
edu.ucsb.cs156.frontiers.models.CATMEAuditResult
- Record Components:
studentsToUpdate- students who are in CATME, but whose name and/or section do not match FrontiersstudentsToDrop- students who are in the uploaded CATME CSV file, but are not currently enrolled (MANUAL or ROSTER status) in Frontiers
public record CATMEAuditResult(List<CATMEStudentUpdate> studentsToUpdate, List<CATMEStudentDrop> studentsToDrop)
extends Record
The result of auditing a course's roster against an uploaded CATME CSV file.
-
Constructor Summary
ConstructorsConstructorDescriptionCATMEAuditResult(List<CATMEStudentUpdate> studentsToUpdate, List<CATMEStudentDrop> studentsToDrop) Creates an instance of aCATMEAuditResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thestudentsToDroprecord component.Returns the value of thestudentsToUpdaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CATMEAuditResult
public CATMEAuditResult(List<CATMEStudentUpdate> studentsToUpdate, List<CATMEStudentDrop> studentsToDrop) Creates an instance of aCATMEAuditResultrecord class.- Parameters:
studentsToUpdate- the value for thestudentsToUpdaterecord componentstudentsToDrop- the value for thestudentsToDroprecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
studentsToUpdate
Returns the value of thestudentsToUpdaterecord component.- Returns:
- the value of the
studentsToUpdaterecord component
-
studentsToDrop
Returns the value of thestudentsToDroprecord component.- Returns:
- the value of the
studentsToDroprecord component
-