Record Class SchemaDiff.PropertyChange
java.lang.Object
java.lang.Record
com.kingsrook.qqq.backend.core.model.metadata.tables.SchemaDiff.PropertyChange
- Enclosing class:
SchemaDiff
public static record SchemaDiff.PropertyChange(String property, Object before, Object after)
extends Record
One changed table-level property (e.g., primaryKeyField or uniqueKeys).
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyChange(String property, Object before, Object after) Creates an instance of aPropertyChangerecord class. -
Method Summary
Modifier and TypeMethodDescriptionafter()Returns the value of theafterrecord component.before()Returns the value of thebeforerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.property()Returns the value of thepropertyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PropertyChange
-
-
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). -
property
Returns the value of thepropertyrecord component.- Returns:
- the value of the
propertyrecord component
-
before
Returns the value of thebeforerecord component.- Returns:
- the value of the
beforerecord component
-
after
Returns the value of theafterrecord component.- Returns:
- the value of the
afterrecord component
-