Record Class SyllabificationAlignmentEditorView.ScEditData

java.lang.Object
java.lang.Record
ca.phon.app.session.editor.view.syllabification_and_alignment.SyllabificationAlignmentEditorView.ScEditData
Enclosing class:
SyllabificationAlignmentEditorView

public static record SyllabificationAlignmentEditorView.ScEditData(IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType) extends Record
  • Constructor Details

    • ScEditData

      public ScEditData(IPATranscript ipa, int eleIdx, SyllableConstituentType oldType, SyllableConstituentType newType)
      Creates an instance of a ScEditData record class.
      Parameters:
      ipa - the value for the ipa record component
      eleIdx - the value for the eleIdx record component
      oldType - the value for the oldType record component
      newType - the value for the newType record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • ipa

      public IPATranscript ipa()
      Returns the value of the ipa record component.
      Returns:
      the value of the ipa record component
    • eleIdx

      public int eleIdx()
      Returns the value of the eleIdx record component.
      Returns:
      the value of the eleIdx record component
    • oldType

      public SyllableConstituentType oldType()
      Returns the value of the oldType record component.
      Returns:
      the value of the oldType record component
    • newType

      public SyllableConstituentType newType()
      Returns the value of the newType record component.
      Returns:
      the value of the newType record component