Record Class ColumnConstraintDto
java.lang.Object
java.lang.Record
ch.nolix.systemapi.sqlschema.model.ColumnConstraintDto
public record ColumnConstraintDto(ColumnConstraint constraint, IContainer<String> parameters)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionColumnConstraintDto(ColumnConstraint constraint, IContainer<String> parameters) Creates an instance of aColumnConstraintDtorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstraintrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparametersrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ColumnConstraintDto
Creates an instance of aColumnConstraintDtorecord class.- Parameters:
constraint- the value for theconstraintrecord componentparameters- the value for theparametersrecord 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). -
constraint
Returns the value of theconstraintrecord component.- Returns:
- the value of the
constraintrecord component
-
parameters
Returns the value of theparametersrecord component.- Returns:
- the value of the
parametersrecord component
-