Package com.easydesk.modules.om.record
Record Class ItemTemplateInfoRow
java.lang.Object
java.lang.Record
com.easydesk.modules.om.record.ItemTemplateInfoRow
public record ItemTemplateInfoRow(Long itemId, String name, String description, boolean approved, boolean defaultValue, Integer scopeId, String path)
extends Record
Auto Generated Code from EasyDesk System. You should modify this code in order to work property
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapproved()Returns the value of theapprovedrecord component.booleanReturns the value of thedefaultValuerecord component.Returns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.itemId()Returns the value of theitemIdrecord component.name()Returns the value of thenamerecord component.path()Returns the value of thepathrecord component.scopeId()Returns the value of thescopeIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ItemTemplateInfoRow
public ItemTemplateInfoRow(Long itemId, String name, String description, boolean approved, boolean defaultValue, Integer scopeId, String path) Creates an instance of aItemTemplateInfoRowrecord class.- Parameters:
itemId- the value for theitemIdrecord componentname- the value for thenamerecord componentdescription- the value for thedescriptionrecord componentapproved- the value for theapprovedrecord componentdefaultValue- the value for thedefaultValuerecord componentscopeId- the value for thescopeIdrecord componentpath- the value for thepathrecord 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 '=='. -
itemId
Returns the value of theitemIdrecord component.- Returns:
- the value of the
itemIdrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
approved
public boolean approved()Returns the value of theapprovedrecord component.- Returns:
- the value of the
approvedrecord component
-
defaultValue
public boolean defaultValue()Returns the value of thedefaultValuerecord component.- Returns:
- the value of the
defaultValuerecord component
-
scopeId
Returns the value of thescopeIdrecord component.- Returns:
- the value of the
scopeIdrecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-