Package com.easydesk.modules.om.record
Record Class AttributeOptionRow
java.lang.Object
java.lang.Record
com.easydesk.modules.om.record.AttributeOptionRow
public record AttributeOptionRow(Integer optionId, Integer attributeId, String name, boolean removed)
extends Record
Auto Generated Code from EasyDesk System. You should modify this code in order to work property
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeOptionRow(Integer optionId, Integer attributeId, String name, boolean removed) Creates an instance of aAttributeOptionRowrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theattributeIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.optionId()Returns the value of theoptionIdrecord component.booleanremoved()Returns the value of theremovedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AttributeOptionRow
Creates an instance of aAttributeOptionRowrecord class.- Parameters:
optionId- the value for theoptionIdrecord componentattributeId- the value for theattributeIdrecord componentname- the value for thenamerecord 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 '=='. -
optionId
Returns the value of theoptionIdrecord component.- Returns:
- the value of the
optionIdrecord component
-
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
-
removed
public boolean removed()Returns the value of theremovedrecord component.- Returns:
- the value of the
removedrecord component
-