Record Class SptRhythmParentSectionChangedEvent.OldData
java.lang.Object
java.lang.Record
org.jjazz.songstructure.api.event.SptRhythmParentSectionChangedEvent.OldData
- Enclosing class:
SptRhythmParentSectionChangedEvent
public static record SptRhythmParentSectionChangedEvent.OldData(Rhythm rhythm, CLI_Section parentSection)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionOldData(Rhythm rhythm, CLI_Section parentSection) Creates an instance of aOldDatarecord 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.Returns the value of theparentSectionrecord component.rhythm()Returns the value of therhythmrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OldData
Creates an instance of aOldDatarecord class.- Parameters:
rhythm- the value for therhythmrecord componentparentSection- the value for theparentSectionrecord 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). -
rhythm
Returns the value of therhythmrecord component.- Returns:
- the value of the
rhythmrecord component
-
parentSection
Returns the value of theparentSectionrecord component.- Returns:
- the value of the
parentSectionrecord component
-