Package com.easydesk.web.support
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 Summary
ConstructorsConstructorDescriptionItemViewAttribute(Integer attributeId, String name, String value, String componentName, String widget, String queryKey, boolean editable, List<ItemViewSupport.ItemViewOption> options, String inputValue) Creates an instance of aItemViewAttributerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributeIdrecord component.Returns the value of thecomponentNamerecord component.booleaneditable()Returns the value of theeditablerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinputValuerecord component.name()Returns the value of thenamerecord component.options()Returns the value of theoptionsrecord component.queryKey()Returns the value of thequeryKeyrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.widget()Returns the value of thewidgetrecord component.
-
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 aItemViewAttributerecord class.- Parameters:
attributeId- the value for theattributeIdrecord componentname- the value for thenamerecord componentvalue- the value for thevaluerecord componentcomponentName- the value for thecomponentNamerecord componentwidget- the value for thewidgetrecord componentqueryKey- the value for thequeryKeyrecord componenteditable- the value for theeditablerecord componentoptions- the value for theoptionsrecord componentinputValue- the value for theinputValuerecord 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 '=='. -
attributeId
Returns the value of theattributeIdrecord component.- Returns:
- the value of the
attributeIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
componentName
Returns the value of thecomponentNamerecord component.- Returns:
- the value of the
componentNamerecord component
-
widget
Returns the value of thewidgetrecord component.- Returns:
- the value of the
widgetrecord component
-
queryKey
Returns the value of thequeryKeyrecord component.- Returns:
- the value of the
queryKeyrecord component
-
editable
public boolean editable()Returns the value of theeditablerecord component.- Returns:
- the value of the
editablerecord component
-
options
Returns the value of theoptionsrecord component.- Returns:
- the value of the
optionsrecord component
-
inputValue
Returns the value of theinputValuerecord component.- Returns:
- the value of the
inputValuerecord component
-