Record Class CATMEStudentUpdate
java.lang.Object
java.lang.Record
edu.ucsb.cs156.frontiers.models.CATMEStudentUpdate
- Record Components:
studentId- the student's idname- the student's name (as recorded in Frontiers)field- the name of the field that differs (e.g. "Name" or "Section")oldValue- the value currently in CATMEnewValue- the value that should be in CATME (i.e. the value in Frontiers)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.field()Returns the value of thefieldrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.newValue()Returns the value of thenewValuerecord component.oldValue()Returns the value of theoldValuerecord component.Returns the value of thestudentIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CATMEStudentUpdate
-
-
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). -
studentId
-
name
-
field
-
oldValue
-
newValue
-