Package edu.ucsb.cs.scaffold.controller
Record Class ConceptsController.ScaffoldResetResponseDTO
java.lang.Object
java.lang.Record
edu.ucsb.cs.scaffold.controller.ConceptsController.ScaffoldResetResponseDTO
- Enclosing class:
ConceptsController
public static record ConceptsController.ScaffoldResetResponseDTO(ConceptsController.ScaffoldResetReportDTO report, List<ConceptsController.MajorConceptDTO> graph, List<ConceptsController.EdgeDTO> edges)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionScaffoldResetResponseDTO(ConceptsController.ScaffoldResetReportDTO report, List<ConceptsController.MajorConceptDTO> graph, List<ConceptsController.EdgeDTO> edges) Creates an instance of aScaffoldResetResponseDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionedges()Returns the value of theedgesrecord component.final booleanIndicates whether some other object is "equal to" this one.graph()Returns the value of thegraphrecord component.final inthashCode()Returns a hash code value for this object.report()Returns the value of thereportrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScaffoldResetResponseDTO
public ScaffoldResetResponseDTO(ConceptsController.ScaffoldResetReportDTO report, List<ConceptsController.MajorConceptDTO> graph, List<ConceptsController.EdgeDTO> edges) Creates an instance of aScaffoldResetResponseDTOrecord class.- Parameters:
report- the value for thereportrecord componentgraph- the value for thegraphrecord componentedges- the value for theedgesrecord 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). -
report
Returns the value of thereportrecord component.- Returns:
- the value of the
reportrecord component
-
graph
Returns the value of thegraphrecord component.- Returns:
- the value of the
graphrecord component
-
edges
Returns the value of theedgesrecord component.- Returns:
- the value of the
edgesrecord component
-