Record Class ProjectParticipantKafkaDTO
java.lang.Object
java.lang.Record
callofproject.dev.community.config.kafka.dto.ProjectParticipantKafkaDTO
public record ProjectParticipantKafkaDTO(UUID projectParticipantId, UUID projectId, UUID userId, LocalDateTime joinDate, boolean isDeleted)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionProjectParticipantKafkaDTO(UUID projectParticipantId, UUID projectId, UUID userId, LocalDateTime joinDate, boolean isDeleted) Creates an instance of aProjectParticipantKafkaDTOrecord 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.booleanReturns the value of theisDeletedrecord component.joinDate()Returns the value of thejoinDaterecord component.Returns the value of theprojectIdrecord component.Returns the value of theprojectParticipantIdrecord component.toString()Returns a string representation of this record class.userId()Returns the value of theuserIdrecord component.
-
Constructor Details
-
ProjectParticipantKafkaDTO
public ProjectParticipantKafkaDTO(UUID projectParticipantId, UUID projectId, UUID userId, LocalDateTime joinDate, boolean isDeleted) Creates an instance of aProjectParticipantKafkaDTOrecord class.- Parameters:
projectParticipantId- the value for theprojectParticipantIdrecord componentprojectId- the value for theprojectIdrecord componentuserId- the value for theuserIdrecord componentjoinDate- the value for thejoinDaterecord componentisDeleted- the value for theisDeletedrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
projectParticipantId
Returns the value of theprojectParticipantIdrecord component.- Returns:
- the value of the
projectParticipantIdrecord component
-
projectId
Returns the value of theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-
joinDate
Returns the value of thejoinDaterecord component.- Returns:
- the value of the
joinDaterecord component
-
isDeleted
public boolean isDeleted()Returns the value of theisDeletedrecord component.- Returns:
- the value of the
isDeletedrecord component
-