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 UserWriteReply
The field for thesecondRequestReply
record component.private final @Nullable MetaUser
The field for theuser
record component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
UserWriteValidationResult
(@Nullable MetaUser user, @Nullable UserWriteReply secondRequestReply) Creates an instance of aUserWriteValidationResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@Nullable UserWriteReply
Returns the value of thesecondRequestReply
record component.final String
toString()
Returns a string representation of this record class.@Nullable MetaUser
user()
Returns the value of theuser
record component.
-
Field Details
-
user
The field for theuser
record component. -
secondRequestReply
The field for thesecondRequestReply
record component.
-
-
Constructor Details
-
UserWriteValidationResult
private UserWriteValidationResult(@Nullable MetaUser user, @Nullable UserWriteReply secondRequestReply) Creates an instance of aUserWriteValidationResult
record class.- Parameters:
user
- the value for theuser
record componentsecondRequestReply
- the value for thesecondRequestReply
record 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 theuser
record component.- Returns:
- the value of the
user
record component
-
secondRequestReply
Returns the value of thesecondRequestReply
record component.- Returns:
- the value of the
secondRequestReply
record component
-