Record Class CATMEStudentAdd
java.lang.Object
java.lang.Record
edu.ucsb.cs156.frontiers.models.CATMEStudentAdd
- Record Components:
studentId- the student's idname- the student's name in Frontiersemail- the student's email in Frontierssection- the section to use in CATME, translated when the course enables section labels
-
Constructor Summary
ConstructorsConstructorDescriptionCATMEStudentAdd(String studentId, String name, String email, String section) Creates an instance of aCATMEStudentAddrecord class. -
Method Summary
Modifier and TypeMethodDescriptionemail()Returns the value of theemailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.section()Returns the value of thesectionrecord component.Returns the value of thestudentIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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
-
email
-
section
-