Record Class SchemaDiff.FieldChange
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.model.metadata.tables.SchemaDiff.FieldChange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafter()Returns the value of theafterrecord component.before()Returns the value of thebeforerecord component.Returns the value of thechangedAttributesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldNamerecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FieldChange
public FieldChange(String fieldName, Map<String, Object> before, Map<String, Object> after, List<String> changedAttributes) Creates an instance of aFieldChangerecord class.- Parameters:
fieldName- the value for thefieldNamerecord componentbefore- the value for thebeforerecord componentafter- the value for theafterrecord componentchangedAttributes- the value for thechangedAttributesrecord 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). -
fieldName
Returns the value of thefieldNamerecord component.- Returns:
- the value of the
fieldNamerecord component
-
before
-
after
-
changedAttributes
-