Record Class ItemViewSupport.ItemViewAttribute

java.lang.Object
java.lang.Record
com.easydesk.web.support.ItemViewSupport.ItemViewAttribute
Record Components:
value - 표시용 값
componentName - Viewable.getComponentName()
widget - 화면 component (WIDGET_*)
queryKey - input name (AttributeValue.getQueryKey())
editable - 편집 가능 여부
options - option component 의 선택 목록
inputValue - text component 의 현재 입력값
Enclosing class:
ItemViewSupport

public static record ItemViewSupport.ItemViewAttribute(Integer attributeId, String name, String value, String componentName, String widget, String queryKey, boolean editable, List<ItemViewSupport.ItemViewOption> options, String inputValue) extends Record
ItemView 화면에 표시할 한 Attribute(list row) 의 view 데이터.
  • Constructor Details

    • ItemViewAttribute

      public ItemViewAttribute(Integer attributeId, String name, String value, String componentName, String widget, String queryKey, boolean editable, List<ItemViewSupport.ItemViewOption> options, String inputValue)
      Creates an instance of a ItemViewAttribute record class.
      Parameters:
      attributeId - the value for the attributeId record component
      name - the value for the name record component
      value - the value for the value record component
      componentName - the value for the componentName record component
      widget - the value for the widget record component
      queryKey - the value for the queryKey record component
      editable - the value for the editable record component
      options - the value for the options record component
      inputValue - the value for the inputValue 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.
    • attributeId

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

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

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

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

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

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

      public boolean editable()
      Returns the value of the editable record component.
      Returns:
      the value of the editable record component
    • options

      Returns the value of the options record component.
      Returns:
      the value of the options record component
    • inputValue

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