Record Class ScTypeEdit.ScEditData
java.lang.Object
java.lang.Record
ca.phon.app.session.editor.view.syllabificationAlignment.ScTypeEdit.ScEditData
- Enclosing class:
ScTypeEdit
public static record ScTypeEdit.ScEditData(Record record, Tier<IPATranscript> tier, IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionScEditData(Record record, Tier<IPATranscript> tier, IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType) Creates an instance of aScEditDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptioninteleIdx()Returns the value of theeleIdxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ipa()Returns the value of theiparecord component.newType()Returns the value of thenewTyperecord component.oldType()Returns the value of theoldTyperecord component.record()Returns the value of therecordrecord component.tier()Returns the value of thetierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ScEditData
public ScEditData(Record record, Tier<IPATranscript> tier, IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType) Creates an instance of aScEditDatarecord class.- Parameters:
record- the value for therecordrecord componenttier- the value for thetierrecord componentipa- the value for theiparecord componenteleIdx- the value for theeleIdxrecord componentoldType- the value for theoldTyperecord componentnewType- the value for thenewTyperecord 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. -
record
Returns the value of therecordrecord component.- Returns:
- the value of the
recordrecord component
-
tier
Returns the value of thetierrecord component.- Returns:
- the value of the
tierrecord component
-
ipa
Returns the value of theiparecord component.- Returns:
- the value of the
iparecord component
-
eleIdx
public int eleIdx()Returns the value of theeleIdxrecord component.- Returns:
- the value of the
eleIdxrecord component
-
oldType
Returns the value of theoldTyperecord component.- Returns:
- the value of the
oldTyperecord component
-
newType
Returns the value of thenewTyperecord component.- Returns:
- the value of the
newTyperecord component
-