Record Class RhythmInfo.RpInfo
java.lang.Object
java.lang.Record
org.jjazz.rhythmdatabase.api.RhythmInfo.RpInfo
- All Implemented Interfaces:
Serializable
- Enclosing class:
RhythmInfo
public static record RhythmInfo.RpInfo(String displayName, String description, String className)
extends Record
implements Serializable
A RhyhtmParameter descriptor.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclassNamerecord component.Returns the value of thedescriptionrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RpInfo
-
RpInfo
Creates an instance of aRpInforecord class.- Parameters:
displayName- the value for thedisplayNamerecord componentdescription- the value for thedescriptionrecord componentclassName- the value for theclassNamerecord 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). -
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
className
Returns the value of theclassNamerecord component.- Returns:
- the value of the
classNamerecord component
-