Record Class ExtensionTableDataDto
java.lang.Object
java.lang.Record
com.djrapitops.plan.delivery.domain.datatransfer.extension.ExtensionTableDataDto
-
Constructor Summary
ConstructorsConstructorDescriptionExtensionTableDataDto(ExtensionTableData extensionTableData) ExtensionTableDataDto(String tableName, TableDto table, String tableColor, String tableColorClass, boolean wide) Creates an instance of aExtensionTableDataDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.table()Returns the value of thetablerecord component.Returns the value of thetableColorrecord component.Returns the value of thetableColorClassrecord component.Returns the value of thetableNamerecord component.final StringtoString()Returns a string representation of this record class.booleanwide()Returns the value of thewiderecord component.
-
Constructor Details
-
ExtensionTableDataDto
-
ExtensionTableDataDto
public ExtensionTableDataDto(String tableName, TableDto table, String tableColor, String tableColorClass, boolean wide) Creates an instance of aExtensionTableDataDtorecord class.- Parameters:
tableName- the value for thetableNamerecord componenttable- the value for thetablerecord componenttableColor- the value for thetableColorrecord componenttableColorClass- the value for thetableColorClassrecord componentwide- the value for thewiderecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
tableName
Returns the value of thetableNamerecord component.- Returns:
- the value of the
tableNamerecord component
-
table
Returns the value of thetablerecord component.- Returns:
- the value of the
tablerecord component
-
tableColor
Returns the value of thetableColorrecord component.- Returns:
- the value of the
tableColorrecord component
-
tableColorClass
Returns the value of thetableColorClassrecord component.- Returns:
- the value of the
tableColorClassrecord component
-
wide
public boolean wide()Returns the value of thewiderecord component.- Returns:
- the value of the
widerecord component
-