Record Class Metadata.MigrationRun
java.lang.Object
java.lang.Record
cloud.quinimbus.persistence.api.schema.Metadata.MigrationRun
- Enclosing class:
Metadata
-
Constructor Summary
ConstructorsConstructorDescriptionMigrationRun(String identifier, String entityType, Long schemaVersion, Instant runAt) Creates an instance of aMigrationRunrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentityTyperecord 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 theidentifierrecord component.runAt()Returns the value of therunAtrecord component.Returns the value of theschemaVersionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MigrationRun
Creates an instance of aMigrationRunrecord class.- Parameters:
identifier- the value for theidentifierrecord componententityType- the value for theentityTyperecord componentschemaVersion- the value for theschemaVersionrecord componentrunAt- the value for therunAtrecord 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). -
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
entityType
Returns the value of theentityTyperecord component.- Returns:
- the value of the
entityTyperecord component
-
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
runAt
Returns the value of therunAtrecord component.- Returns:
- the value of the
runAtrecord component
-