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

    Constructors
    Constructor
    Description
    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 a AttachmentRow record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the attachmentId record component.
    Returns the value of the counterId record component.
    Returns the value of the createdBy record component.
    Returns the value of the createdDate record component.
    Returns the value of the data record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    Returns the value of the fileName record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the itemId record component.
    Returns the value of the mimeType record component.
    Returns the value of the modifiedBy record component.
    Returns the value of the modifiedDate record component.
    Returns the value of the name record component.
    boolean
    Returns the value of the removed record component.
    long
    Returns the value of the size record component.
    final String
    Returns a string representation of this record class.
    Returns the value of the typeId record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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 a AttachmentRow record class.
      Parameters:
      attachmentId - the value for the attachmentId record component
      itemId - the value for the itemId record component
      typeId - the value for the typeId record component
      name - the value for the name record component
      data - the value for the data record component
      fileName - the value for the fileName record component
      mimeType - the value for the mimeType record component
      modifiedBy - the value for the modifiedBy record component
      createdBy - the value for the createdBy record component
      modifiedDate - the value for the modifiedDate record component
      createdDate - the value for the createdDate record component
      removed - the value for the removed record component
      size - the value for the size record component
      counterId - the value for the counterId 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.
    • attachmentId

      public Long attachmentId()
      Returns the value of the attachmentId record component.
      Returns:
      the value of the attachmentId record component
    • itemId

      public Long itemId()
      Returns the value of the itemId record component.
      Returns:
      the value of the itemId record component
    • typeId

      public Integer typeId()
      Returns the value of the typeId record component.
      Returns:
      the value of the typeId record component
    • name

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • data

      public String data()
      Returns the value of the data record component.
      Returns:
      the value of the data record component
    • fileName

      public String fileName()
      Returns the value of the fileName record component.
      Returns:
      the value of the fileName record component
    • mimeType

      public String mimeType()
      Returns the value of the mimeType record component.
      Returns:
      the value of the mimeType record component
    • modifiedBy

      public Long modifiedBy()
      Returns the value of the modifiedBy record component.
      Returns:
      the value of the modifiedBy record component
    • createdBy

      public Long createdBy()
      Returns the value of the createdBy record component.
      Returns:
      the value of the createdBy record component
    • modifiedDate

      public Date modifiedDate()
      Returns the value of the modifiedDate record component.
      Returns:
      the value of the modifiedDate record component
    • createdDate

      public Date createdDate()
      Returns the value of the createdDate record component.
      Returns:
      the value of the createdDate record component
    • removed

      public boolean removed()
      Returns the value of the removed record component.
      Returns:
      the value of the removed record component
    • size

      public long size()
      Returns the value of the size record component.
      Returns:
      the value of the size record component
    • counterId

      public Long counterId()
      Returns the value of the counterId record component.
      Returns:
      the value of the counterId record component