Package com.easydesk.modules.om.record
Record Class ModuleOptionRow
java.lang.Object
java.lang.Record
com.easydesk.modules.om.record.ModuleOptionRow
public record ModuleOptionRow(Long moduleId, Integer itemTypeId, Integer optionId, boolean active, int order, int weight)
extends Record
Auto Generated Code from EasyDesk System. You should modify this code in order to work property
-
Constructor Summary
ConstructorsConstructorDescriptionModuleOptionRow(Long moduleId, Integer itemTypeId, Integer optionId, boolean active, int order, int weight) Creates an instance of aModuleOptionRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()Returns the value of theactiverecord 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 theitemTypeIdrecord component.moduleId()Returns the value of themoduleIdrecord component.optionId()Returns the value of theoptionIdrecord component.intorder()Returns the value of theorderrecord component.final StringtoString()Returns a string representation of this record class.intweight()Returns the value of theweightrecord component.
-
Constructor Details
-
ModuleOptionRow
public ModuleOptionRow(Long moduleId, Integer itemTypeId, Integer optionId, boolean active, int order, int weight) Creates an instance of aModuleOptionRowrecord class.- Parameters:
moduleId- the value for themoduleIdrecord componentitemTypeId- the value for theitemTypeIdrecord componentoptionId- the value for theoptionIdrecord componentactive- the value for theactiverecord componentorder- the value for theorderrecord componentweight- the value for theweightrecord 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 '=='. -
moduleId
Returns the value of themoduleIdrecord component.- Returns:
- the value of the
moduleIdrecord component
-
itemTypeId
Returns the value of theitemTypeIdrecord component.- Returns:
- the value of the
itemTypeIdrecord component
-
optionId
Returns the value of theoptionIdrecord component.- Returns:
- the value of the
optionIdrecord component
-
active
public boolean active()Returns the value of theactiverecord component.- Returns:
- the value of the
activerecord component
-
order
public int order()Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-
weight
public int weight()Returns the value of theweightrecord component.- Returns:
- the value of the
weightrecord component
-