Record Class RequestAttributeValue

java.lang.Object
java.lang.Record
com.easydesk.modules.records.RequestAttributeValue
Record Components:
id - attributeValueid
itemId - : Mapper 안에서 item 정보를 가지고 오기 위해 추가.
attributeId -
dependId -
optionId -
optionIds -
userId -
userIds -
value -
values -

public record RequestAttributeValue(Long id, Long itemId, @Nonnull Integer attributeId, Long dependId, Integer optionId, Integer[] optionIds, Long userId, Long[] userIds, String value, String[] values) extends Record
RequestAttributeValue
  • Constructor Details

    • RequestAttributeValue

      public RequestAttributeValue(Long id, Long itemId, @Nonnull Integer attributeId, Long dependId, Integer optionId, Integer[] optionIds, Long userId, Long[] userIds, String value, String[] values)
      Creates an instance of a RequestAttributeValue record class.
      Parameters:
      id - the value for the id record component
      itemId - the value for the itemId record component
      attributeId - the value for the attributeId record component
      dependId - the value for the dependId record component
      optionId - the value for the optionId record component
      optionIds - the value for the optionIds record component
      userId - the value for the userId record component
      userIds - the value for the userIds record component
      value - the value for the value record component
      values - the value for the values 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. All components in this record class are compared with Objects::equals(Object,Object).
      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.
    • id

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

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

      @Nonnull public Integer attributeId()
      Returns the value of the attributeId record component.
      Returns:
      the value of the attributeId record component
    • dependId

      public Long dependId()
      Returns the value of the dependId record component.
      Returns:
      the value of the dependId record component
    • optionId

      public Integer optionId()
      Returns the value of the optionId record component.
      Returns:
      the value of the optionId record component
    • optionIds

      public Integer[] optionIds()
      Returns the value of the optionIds record component.
      Returns:
      the value of the optionIds record component
    • userId

      public Long userId()
      Returns the value of the userId record component.
      Returns:
      the value of the userId record component
    • userIds

      public Long[] userIds()
      Returns the value of the userIds record component.
      Returns:
      the value of the userIds record component
    • value

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

      public String[] values()
      Returns the value of the values record component.
      Returns:
      the value of the values record component