Record Class IStarterTableData
java.lang.Object
java.lang.Record
com.idmedia.translationstudio.api.database.IStarterTableData
-
Constructor Summary
ConstructorsConstructorDescriptionIStarterTableData(long countLast365Days, String sourceLanguage, String targetLanguage, String projectId) Creates an instance of aIStarterTableDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecountLast365Daysrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theprojectIdrecord component.Returns the value of thesourceLanguagerecord component.Returns the value of thetargetLanguagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IStarterTableData
public IStarterTableData(long countLast365Days, String sourceLanguage, String targetLanguage, String projectId) Creates an instance of aIStarterTableDatarecord class.- Parameters:
countLast365Days- the value for thecountLast365Daysrecord componentsourceLanguage- the value for thesourceLanguagerecord componenttargetLanguage- the value for thetargetLanguagerecord componentprojectId- the value for theprojectIdrecord component
-
-
Method Details
-
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. -
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. -
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 '=='. -
countLast365Days
public long countLast365Days()Returns the value of thecountLast365Daysrecord component.- Returns:
- the value of the
countLast365Daysrecord component
-
sourceLanguage
Returns the value of thesourceLanguagerecord component.- Returns:
- the value of the
sourceLanguagerecord component
-
targetLanguage
Returns the value of thetargetLanguagerecord component.- Returns:
- the value of the
targetLanguagerecord component
-
projectId
Returns the value of theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-