Record Class ItemViewSupport.ItemEditTarget

java.lang.Object
java.lang.Record
com.easydesk.web.support.ItemViewSupport.ItemEditTarget
Record Components:
updateUrl - ItemController 의 component 단위 저장 URL (context-path 제외)
activitySetTypeId - 저장할 때 같이 보내는 ActivitySetType (TODO : Screen Item 의 값)
Enclosing class:
ItemViewSupport

public static record ItemViewSupport.ItemEditTarget(Long moduleId, String uniqueId, String updateUrl, Integer activitySetTypeId) extends Record
편집한 값을 저장할 대상.
  • Constructor Details

    • ItemEditTarget

      public ItemEditTarget(Long moduleId, String uniqueId, String updateUrl, Integer activitySetTypeId)
      Creates an instance of a ItemEditTarget record class.
      Parameters:
      moduleId - the value for the moduleId record component
      uniqueId - the value for the uniqueId record component
      updateUrl - the value for the updateUrl record component
      activitySetTypeId - the value for the activitySetTypeId 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.
    • moduleId

      public Long moduleId()
      Returns the value of the moduleId record component.
      Returns:
      the value of the moduleId record component
    • uniqueId

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

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

      public Integer activitySetTypeId()
      Returns the value of the activitySetTypeId record component.
      Returns:
      the value of the activitySetTypeId record component