Package io.camunda.webapps.backup
Record Class Metadata
java.lang.Object
java.lang.Record
io.camunda.webapps.backup.Metadata
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackupId()Returns the value of thebackupIdrecord 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 thepartCountrecord component.partNo()Returns the value of thepartNorecord component.final StringtoString()Returns a string representation of this record class.version()Returns the value of theversionrecord component.
-
Constructor Details
-
Metadata
Creates an instance of aMetadatarecord class.- Parameters:
backupId- the value for thebackupIdrecord componentversion- the value for theversionrecord componentpartNo- the value for thepartNorecord componentpartCount- the value for thepartCountrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
backupId
Returns the value of thebackupIdrecord component.- Returns:
- the value of the
backupIdrecord component
-
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
partNo
Returns the value of thepartNorecord component.- Returns:
- the value of the
partNorecord component
-
partCount
Returns the value of thepartCountrecord component.- Returns:
- the value of the
partCountrecord component
-