Record Class TypeMetadataService.SaveResult
java.lang.Object
java.lang.Record
ai.pipestream.registration.metadata.TypeMetadataService.SaveResult
- Record Components:
fieldCount- the number of field entries persisted (0 when the overlay was deleted)updatedAt- the timestamp the save was applied
- Enclosing class:
TypeMetadataService
-
Constructor Summary
ConstructorsConstructorDescriptionSaveResult(int fieldCount, Instant updatedAt) Creates an instance of aSaveResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.intReturns the value of thefieldCountrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of theupdatedAtrecord component.
-
Constructor Details
-
SaveResult
Creates an instance of aSaveResultrecord class.- Parameters:
fieldCount- the value for thefieldCountrecord componentupdatedAt- the value for theupdatedAtrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
fieldCount
public int fieldCount()Returns the value of thefieldCountrecord component.- Returns:
- the value of the
fieldCountrecord component
-
updatedAt
-