Record Class SchemaHelper.NeedChangeColumn
java.lang.Object
java.lang.Record
cool.scx.jdbc.SchemaHelper.NeedChangeColumn
- Enclosing class:
SchemaHelper
public static record SchemaHelper.NeedChangeColumn(Column oldColumn, Column newColumn, SchemaHelper.ColumnVerifyResult verifyResult)
extends Record
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
ConstructorsConstructorDescriptionNeedChangeColumn(Column oldColumn, Column newColumn, SchemaHelper.ColumnVerifyResult verifyResult) Creates an instance of aNeedChangeColumnrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenewColumnrecord component.Returns the value of theoldColumnrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theverifyResultrecord component.
-
Constructor Details
-
NeedChangeColumn
public NeedChangeColumn(Column oldColumn, Column newColumn, SchemaHelper.ColumnVerifyResult verifyResult) Creates an instance of aNeedChangeColumnrecord class.- Parameters:
oldColumn- the value for theoldColumnrecord componentnewColumn- the value for thenewColumnrecord componentverifyResult- the value for theverifyResultrecord 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). -
oldColumn
Returns the value of theoldColumnrecord component.- Returns:
- the value of the
oldColumnrecord component
-
newColumn
Returns the value of thenewColumnrecord component.- Returns:
- the value of the
newColumnrecord component
-
verifyResult
Returns the value of theverifyResultrecord component.- Returns:
- the value of the
verifyResultrecord component
-