Record Class IconDto
java.lang.Object
java.lang.Record
com.djrapitops.plan.delivery.domain.datatransfer.extension.IconDto
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolor()Returns the value of thecolorrecord component.Returns the value of thecolorClassrecord component.final booleanIndicates whether some other object is "equal to" this one.family()Returns the value of thefamilyrecord component.Returns the value of thefamilyClassrecord component.final inthashCode()Returns a hash code value for this object.iconName()Returns the value of theiconNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IconDto
-
IconDto
Creates an instance of aIconDtorecord class.- Parameters:
family- the value for thefamilyrecord componentfamilyClass- the value for thefamilyClassrecord componentcolor- the value for thecolorrecord componentcolorClass- the value for thecolorClassrecord componenticonName- the value for theiconNamerecord 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). -
family
Returns the value of thefamilyrecord component.- Returns:
- the value of the
familyrecord component
-
familyClass
Returns the value of thefamilyClassrecord component.- Returns:
- the value of the
familyClassrecord component
-
color
Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
colorClass
Returns the value of thecolorClassrecord component.- Returns:
- the value of the
colorClassrecord component
-
iconName
Returns the value of theiconNamerecord component.- Returns:
- the value of the
iconNamerecord component
-