Package com.easydesk.modules.records
Record Class RequestAttributeAdmin
java.lang.Object
java.lang.Record
com.easydesk.modules.records.RequestAttributeAdmin
- Record Components:
attributeId-name-typeId- AttributeTypeIdlocalized-global-common-removed-
public record RequestAttributeAdmin(Integer attributeId, String name, Integer typeId, boolean localized, boolean global, boolean common, boolean removed)
extends Record
Global Attribute 관리 화면(Attribute/UserAttribute 관리)에서 사용하는 record.
name/typeId 는 화면에서 읽기 전용으로만 표시되고 (RequestAttributeAdminMapper#updateBeanFromRecord
에서 명시적으로 ignore 처리), localized/global/common/removed 4개 필드만 수정 가능하다.
-
Constructor Summary
ConstructorsConstructorDescriptionRequestAttributeAdmin(Integer attributeId, String name, Integer typeId, boolean localized, boolean global, boolean common, boolean removed) Creates an instance of aRequestAttributeAdminrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributeIdrecord component.booleancommon()Returns the value of thecommonrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanglobal()Returns the value of theglobalrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thelocalizedrecord component.name()Returns the value of thenamerecord component.booleanremoved()Returns the value of theremovedrecord component.final StringtoString()Returns a string representation of this record class.typeId()Returns the value of thetypeIdrecord component.
-
Constructor Details
-
RequestAttributeAdmin
public RequestAttributeAdmin(Integer attributeId, String name, Integer typeId, boolean localized, boolean global, boolean common, boolean removed) Creates an instance of aRequestAttributeAdminrecord class.- Parameters:
attributeId- the value for theattributeIdrecord componentname- the value for thenamerecord componenttypeId- the value for thetypeIdrecord componentlocalized- the value for thelocalizedrecord componentglobal- the value for theglobalrecord componentcommon- the value for thecommonrecord componentremoved- the value for theremovedrecord 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
-
typeId
Returns the value of thetypeIdrecord component.- Returns:
- the value of the
typeIdrecord component
-
localized
public boolean localized()Returns the value of thelocalizedrecord component.- Returns:
- the value of the
localizedrecord component
-
global
public boolean global()Returns the value of theglobalrecord component.- Returns:
- the value of the
globalrecord component
-
common
public boolean common()Returns the value of thecommonrecord component.- Returns:
- the value of the
commonrecord component
-
removed
public boolean removed()Returns the value of theremovedrecord component.- Returns:
- the value of the
removedrecord component
-