Package com.easydesk.modules.om.record
Record Class OptionOptionRow
java.lang.Object
java.lang.Record
com.easydesk.modules.om.record.OptionOptionRow
public record OptionOptionRow(Integer relationshipId, Integer option1Id, Integer option2Id, Integer itemTypeId, Long moduleId, int weight, int order)
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 TypeMethodDescriptionfinal 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.Returns the value of theoption1Idrecord component.Returns the value of theoption2Idrecord component.intorder()Returns the value of theorderrecord component.Returns the value of therelationshipIdrecord component.final StringtoString()Returns a string representation of this record class.intweight()Returns the value of theweightrecord component.
-
Constructor Details
-
OptionOptionRow
public OptionOptionRow(Integer relationshipId, Integer option1Id, Integer option2Id, Integer itemTypeId, Long moduleId, int weight, int order) Creates an instance of aOptionOptionRowrecord class.- Parameters:
relationshipId- the value for therelationshipIdrecord componentoption1Id- the value for theoption1Idrecord componentoption2Id- the value for theoption2Idrecord componentitemTypeId- the value for theitemTypeIdrecord componentmoduleId- the value for themoduleIdrecord componentweight- the value for theweightrecord componentorder- the value for theorderrecord 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 '=='. -
relationshipId
Returns the value of therelationshipIdrecord component.- Returns:
- the value of the
relationshipIdrecord component
-
option1Id
Returns the value of theoption1Idrecord component.- Returns:
- the value of the
option1Idrecord component
-
option2Id
Returns the value of theoption2Idrecord component.- Returns:
- the value of the
option2Idrecord component
-
itemTypeId
Returns the value of theitemTypeIdrecord component.- Returns:
- the value of the
itemTypeIdrecord component
-
moduleId
Returns the value of themoduleIdrecord component.- Returns:
- the value of the
moduleIdrecord component
-
weight
public int weight()Returns the value of theweightrecord component.- Returns:
- the value of the
weightrecord component
-
order
public int order()Returns the value of theorderrecord component.- Returns:
- the value of the
orderrecord component
-