Package com.easydesk.modules.om.record
Record Class ItemCounterRow
java.lang.Object
java.lang.Record
com.easydesk.modules.om.record.ItemCounterRow
public record ItemCounterRow(Long itemId, Date createdDate, Integer attributeId, Date touchTime, int accessCount)
extends Record
Auto Generated Code from EasyDesk System. You should modify this code in order to work property
-
Constructor Summary
ConstructorsConstructorDescriptionItemCounterRow(Long itemId, Date createdDate, Integer attributeId, Date touchTime, int accessCount) Creates an instance of aItemCounterRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theaccessCountrecord component.Returns the value of theattributeIdrecord component.Returns the value of thecreatedDaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.itemId()Returns the value of theitemIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetouchTimerecord component.
-
Constructor Details
-
ItemCounterRow
public ItemCounterRow(Long itemId, Date createdDate, Integer attributeId, Date touchTime, int accessCount) Creates an instance of aItemCounterRowrecord class.- Parameters:
itemId- the value for theitemIdrecord componentcreatedDate- the value for thecreatedDaterecord componentattributeId- the value for theattributeIdrecord componenttouchTime- the value for thetouchTimerecord componentaccessCount- the value for theaccessCountrecord 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 '=='. -
itemId
Returns the value of theitemIdrecord component.- Returns:
- the value of the
itemIdrecord component
-
createdDate
Returns the value of thecreatedDaterecord component.- Returns:
- the value of the
createdDaterecord component
-
attributeId
Returns the value of theattributeIdrecord component.- Returns:
- the value of the
attributeIdrecord component
-
touchTime
Returns the value of thetouchTimerecord component.- Returns:
- the value of the
touchTimerecord component
-
accessCount
public int accessCount()Returns the value of theaccessCountrecord component.- Returns:
- the value of the
accessCountrecord component
-