Package ch.rswk.meta.engine
Record Class UserService.UserWriteValidationResult
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.UserService.UserWriteValidationResult
- Enclosing class:
UserService
private static record UserService.UserWriteValidationResult(@Nullable MetaUser user, @Nullable UserWriteReply secondRequestReply)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable UserWriteReplyThe field for thesecondRequestReplyrecord component.private final @Nullable MetaUserThe field for theuserrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateUserWriteValidationResult(@Nullable MetaUser user, @Nullable UserWriteReply secondRequestReply) Creates an instance of aUserWriteValidationResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable UserWriteReplyReturns the value of thesecondRequestReplyrecord component.final StringtoString()Returns a string representation of this record class.@Nullable MetaUseruser()Returns the value of theuserrecord component.
-
Field Details
-
user
The field for theuserrecord component. -
secondRequestReply
The field for thesecondRequestReplyrecord component.
-
-
Constructor Details
-
UserWriteValidationResult
private UserWriteValidationResult(@Nullable MetaUser user, @Nullable UserWriteReply secondRequestReply) Creates an instance of aUserWriteValidationResultrecord class.- Parameters:
user- the value for theuserrecord componentsecondRequestReply- the value for thesecondRequestReplyrecord 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). -
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-
secondRequestReply
Returns the value of thesecondRequestReplyrecord component.- Returns:
- the value of the
secondRequestReplyrecord component
-