Record Class IStarterTableData

java.lang.Object
java.lang.Record
com.idmedia.translationstudio.api.database.IStarterTableData

public record IStarterTableData(long countLast365Days, String sourceLanguage, String targetLanguage, String projectId) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    IStarterTableData(long countLast365Days, String sourceLanguage, String targetLanguage, String projectId)
    Creates an instance of a IStarterTableData record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the countLast365Days record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the projectId record component.
    Returns the value of the sourceLanguage record component.
    Returns the value of the targetLanguage record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • IStarterTableData

      public IStarterTableData(long countLast365Days, String sourceLanguage, String targetLanguage, String projectId)
      Creates an instance of a IStarterTableData record class.
      Parameters:
      countLast365Days - the value for the countLast365Days record component
      sourceLanguage - the value for the sourceLanguage record component
      targetLanguage - the value for the targetLanguage record component
      projectId - the value for the projectId 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.
    • countLast365Days

      public long countLast365Days()
      Returns the value of the countLast365Days record component.
      Returns:
      the value of the countLast365Days record component
    • sourceLanguage

      public String sourceLanguage()
      Returns the value of the sourceLanguage record component.
      Returns:
      the value of the sourceLanguage record component
    • targetLanguage

      public String targetLanguage()
      Returns the value of the targetLanguage record component.
      Returns:
      the value of the targetLanguage record component
    • projectId

      public String projectId()
      Returns the value of the projectId record component.
      Returns:
      the value of the projectId record component