Record Class InitCommand
java.lang.Object
java.lang.Record
org.hibernate.boot.model.relational.InitCommand
-
Constructor Summary
ConstructorsConstructorDescriptionInitCommand(String... initCommands) Creates an instance of aInitCommandrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.String[]Deprecated.inthashCode()Returns a hash code value for this object.String[]Returns the value of theinitCommandsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InitCommand
Creates an instance of aInitCommandrecord class.- Parameters:
initCommands- the value for theinitCommandsrecord component
-
-
Method Details
-
getInitCommands
Deprecated. -
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). -
hashCode
-
toString
-
initCommands
Returns the value of theinitCommandsrecord component.- Returns:
- the value of the
initCommandsrecord component
-