Record Class Body
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.datasource.model.Body
- Record Components:
dataSourceInfo- The DataSource informationtables- The list of tablesmermaidEr- The Mermaid ER diagram code generated from the datasource
public record Body(DataSourceInfo dataSourceInfo, List<Table> tables, String mermaidEr)
extends Record
Body of the control panel containing DataSource info and tables.
-
Constructor Summary
ConstructorsConstructorDescriptionBody(DataSourceInfo dataSourceInfo, List<Table> tables, String mermaidEr) Creates an instance of aBodyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataSourceInforecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themermaidErrecord component.tables()Returns the value of thetablesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Body
Creates an instance of aBodyrecord class.- Parameters:
dataSourceInfo- the value for thedataSourceInforecord componenttables- the value for thetablesrecord componentmermaidEr- the value for themermaidErrecord 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). -
dataSourceInfo
Returns the value of thedataSourceInforecord component.- Returns:
- the value of the
dataSourceInforecord component
-
tables
-
mermaidEr
-