Record Class SyllabificationAlignmentEditorView.ScEditData
java.lang.Object
java.lang.Record
ca.phon.app.session.editor.view.syllabificationAlignment.SyllabificationAlignmentEditorView.ScEditData
- Enclosing class:
SyllabificationAlignmentEditorView
public static record SyllabificationAlignmentEditorView.ScEditData(int transcriptElementIdx, String tier, IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionScEditData
(int transcriptElementIdx, String tier, IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType) Creates an instance of aScEditData
record class. -
Method Summary
Modifier and TypeMethodDescriptionint
eleIdx()
Returns the value of theeleIdx
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.ipa()
Returns the value of theipa
record component.newType()
Returns the value of thenewType
record component.oldType()
Returns the value of theoldType
record component.tier()
Returns the value of thetier
record component.final String
toString()
Returns a string representation of this record class.int
Returns the value of thetranscriptElementIdx
record component.
-
Constructor Details
-
ScEditData
public ScEditData(int transcriptElementIdx, String tier, IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType) Creates an instance of aScEditData
record class.- Parameters:
transcriptElementIdx
- the value for thetranscriptElementIdx
record componenttier
- the value for thetier
record componentipa
- the value for theipa
record componenteleIdx
- the value for theeleIdx
record componentoldType
- the value for theoldType
record componentnewType
- the value for thenewType
record 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 thecompare
method from their corresponding wrapper classes. -
transcriptElementIdx
public int transcriptElementIdx()Returns the value of thetranscriptElementIdx
record component.- Returns:
- the value of the
transcriptElementIdx
record component
-
tier
Returns the value of thetier
record component.- Returns:
- the value of the
tier
record component
-
ipa
Returns the value of theipa
record component.- Returns:
- the value of the
ipa
record component
-
eleIdx
public int eleIdx()Returns the value of theeleIdx
record component.- Returns:
- the value of the
eleIdx
record component
-
oldType
Returns the value of theoldType
record component.- Returns:
- the value of the
oldType
record component
-
newType
Returns the value of thenewType
record component.- Returns:
- the value of the
newType
record component
-