Package com.easydesk.modules.om.record
Record Class AttachmentRow
java.lang.Object
java.lang.Record
com.easydesk.modules.om.record.AttachmentRow
public record AttachmentRow(Long attachmentId, Long itemId, Integer typeId, String name, String data, String fileName, String mimeType, Long modifiedBy, Long createdBy, Date modifiedDate, Date createdDate, boolean removed, long size, Long counterId)
extends Record
Auto Generated Code from EasyDesk System. You should modify this code in order to work property
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentRow(Long attachmentId, Long itemId, Integer typeId, String name, String data, String fileName, String mimeType, Long modifiedBy, Long createdBy, Date modifiedDate, Date createdDate, boolean removed, long size, Long counterId) Creates an instance of aAttachmentRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattachmentIdrecord component.Returns the value of thecounterIdrecord component.Returns the value of thecreatedByrecord component.Returns the value of thecreatedDaterecord component.data()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.fileName()Returns the value of thefileNamerecord component.final inthashCode()Returns a hash code value for this object.itemId()Returns the value of theitemIdrecord component.mimeType()Returns the value of themimeTyperecord component.Returns the value of themodifiedByrecord component.Returns the value of themodifiedDaterecord component.name()Returns the value of thenamerecord component.booleanremoved()Returns the value of theremovedrecord component.longsize()Returns the value of thesizerecord component.final StringtoString()Returns a string representation of this record class.typeId()Returns the value of thetypeIdrecord component.
-
Constructor Details
-
AttachmentRow
public AttachmentRow(Long attachmentId, Long itemId, Integer typeId, String name, String data, String fileName, String mimeType, Long modifiedBy, Long createdBy, Date modifiedDate, Date createdDate, boolean removed, long size, Long counterId) Creates an instance of aAttachmentRowrecord class.- Parameters:
attachmentId- the value for theattachmentIdrecord componentitemId- the value for theitemIdrecord componenttypeId- the value for thetypeIdrecord componentname- the value for thenamerecord componentdata- the value for thedatarecord componentfileName- the value for thefileNamerecord componentmimeType- the value for themimeTyperecord componentmodifiedBy- the value for themodifiedByrecord componentcreatedBy- the value for thecreatedByrecord componentmodifiedDate- the value for themodifiedDaterecord componentcreatedDate- the value for thecreatedDaterecord componentremoved- the value for theremovedrecord componentsize- the value for thesizerecord componentcounterId- the value for thecounterIdrecord 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 '=='. -
attachmentId
Returns the value of theattachmentIdrecord component.- Returns:
- the value of the
attachmentIdrecord component
-
itemId
Returns the value of theitemIdrecord component.- Returns:
- the value of the
itemIdrecord component
-
typeId
Returns the value of thetypeIdrecord component.- Returns:
- the value of the
typeIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
data
Returns the value of thedatarecord component.- Returns:
- the value of the
datarecord component
-
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
mimeType
Returns the value of themimeTyperecord component.- Returns:
- the value of the
mimeTyperecord component
-
modifiedBy
Returns the value of themodifiedByrecord component.- Returns:
- the value of the
modifiedByrecord component
-
createdBy
Returns the value of thecreatedByrecord component.- Returns:
- the value of the
createdByrecord component
-
modifiedDate
Returns the value of themodifiedDaterecord component.- Returns:
- the value of the
modifiedDaterecord component
-
createdDate
Returns the value of thecreatedDaterecord component.- Returns:
- the value of the
createdDaterecord component
-
removed
public boolean removed()Returns the value of theremovedrecord component.- Returns:
- the value of the
removedrecord component
-
size
public long size()Returns the value of thesizerecord component.- Returns:
- the value of the
sizerecord component
-
counterId
Returns the value of thecounterIdrecord component.- Returns:
- the value of the
counterIdrecord component
-