Record Class WarningRelation
java.lang.Object
java.lang.Record
ch.tocco.nice2.actions.api.merge.WarningRelation
-
Constructor Summary
ConstructorsConstructorDescriptionWarningRelation(String entityModel, String relation, String textResourceKey) Creates an instance of aWarningRelationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentityModelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.relation()Returns the value of therelationrecord component.Returns the value of thetextResourceKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WarningRelation
Creates an instance of aWarningRelationrecord class.- Parameters:
entityModel- the value for theentityModelrecord componentrelation- the value for therelationrecord componenttextResourceKey- the value for thetextResourceKeyrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
entityModel
Returns the value of theentityModelrecord component.- Returns:
- the value of the
entityModelrecord component
-
relation
Returns the value of therelationrecord component.- Returns:
- the value of the
relationrecord component
-
textResourceKey
Returns the value of thetextResourceKeyrecord component.- Returns:
- the value of the
textResourceKeyrecord component
-