Package edu.ucsb.cs.scaffold.controller
Record Class ConceptsController.ScaffoldResetReportDTO
java.lang.Object
java.lang.Record
edu.ucsb.cs.scaffold.controller.ConceptsController.ScaffoldResetReportDTO
- Enclosing class:
ConceptsController
public static record ConceptsController.ScaffoldResetReportDTO(List<ConceptsController.CycleEdgeDTO> cycleEdges, List<ConceptsController.RemovedEdgeDTO> removedEdges, List<ConceptsController.LevelAssignmentDTO> levels)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionScaffoldResetReportDTO(List<ConceptsController.CycleEdgeDTO> cycleEdges, List<ConceptsController.RemovedEdgeDTO> removedEdges, List<ConceptsController.LevelAssignmentDTO> levels) Creates an instance of aScaffoldResetReportDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecycleEdgesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.levels()Returns the value of thelevelsrecord component.Returns the value of theremovedEdgesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScaffoldResetReportDTO
public ScaffoldResetReportDTO(List<ConceptsController.CycleEdgeDTO> cycleEdges, List<ConceptsController.RemovedEdgeDTO> removedEdges, List<ConceptsController.LevelAssignmentDTO> levels) Creates an instance of aScaffoldResetReportDTOrecord class.- Parameters:
cycleEdges- the value for thecycleEdgesrecord componentremovedEdges- the value for theremovedEdgesrecord componentlevels- the value for thelevelsrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
cycleEdges
Returns the value of thecycleEdgesrecord component.- Returns:
- the value of the
cycleEdgesrecord component
-
removedEdges
Returns the value of theremovedEdgesrecord component.- Returns:
- the value of the
removedEdgesrecord component
-
levels
Returns the value of thelevelsrecord component.- Returns:
- the value of the
levelsrecord component
-