Package io.jmix.dynmodel.impl
Record Class DynamicCalculatedAttributeSupport.EvaluationKey
java.lang.Object
java.lang.Record
io.jmix.dynmodel.impl.DynamicCalculatedAttributeSupport.EvaluationKey
- Enclosing class:
DynamicCalculatedAttributeSupport
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEvaluationKey(int identityHash, String entityName, String propertyName) Creates an instance of aEvaluationKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentityNamerecord component.booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of theidentityHashrecord component.Returns the value of thepropertyNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EvaluationKey
Creates an instance of aEvaluationKeyrecord class.- Parameters:
identityHash- the value for theidentityHashrecord componententityName- the value for theentityNamerecord componentpropertyName- the value for thepropertyNamerecord component
-
-
Method Details
-
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 '=='. -
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. -
identityHash
public int identityHash()Returns the value of theidentityHashrecord component.- Returns:
- the value of the
identityHashrecord component
-
entityName
Returns the value of theentityNamerecord component.- Returns:
- the value of the
entityNamerecord component
-
propertyName
Returns the value of thepropertyNamerecord component.- Returns:
- the value of the
propertyNamerecord component
-