Record Class ProjectInfoKafkaDTO
java.lang.Object
java.lang.Record
callofproject.dev.community.config.kafka.dto.ProjectInfoKafkaDTO
public record ProjectInfoKafkaDTO(UUID projectId, String projectName, UserKafkaDTO projectOwner, List<ProjectParticipantKafkaDTO> projectParticipants, callofproject.dev.data.community.entity.enumeration.EProjectStatus projectStatus, callofproject.dev.data.common.enums.AdminOperationStatus adminOperationStatus, callofproject.dev.data.common.enums.EOperation operation)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionProjectInfoKafkaDTO(UUID projectId, String projectName, UserKafkaDTO projectOwner, List<ProjectParticipantKafkaDTO> projectParticipants, callofproject.dev.data.community.entity.enumeration.EProjectStatus projectStatus, callofproject.dev.data.common.enums.AdminOperationStatus adminOperationStatus, callofproject.dev.data.common.enums.EOperation operation) Creates an instance of aProjectInfoKafkaDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncallofproject.dev.data.common.enums.AdminOperationStatusReturns the value of theadminOperationStatusrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.callofproject.dev.data.common.enums.EOperationReturns the value of theoperationrecord component.Returns the value of theprojectIdrecord component.Returns the value of theprojectNamerecord component.Returns the value of theprojectOwnerrecord component.Returns the value of theprojectParticipantsrecord component.callofproject.dev.data.community.entity.enumeration.EProjectStatusReturns the value of theprojectStatusrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
ProjectInfoKafkaDTO
public ProjectInfoKafkaDTO(UUID projectId, String projectName, UserKafkaDTO projectOwner, List<ProjectParticipantKafkaDTO> projectParticipants, callofproject.dev.data.community.entity.enumeration.EProjectStatus projectStatus, callofproject.dev.data.common.enums.AdminOperationStatus adminOperationStatus, callofproject.dev.data.common.enums.EOperation operation) Creates an instance of aProjectInfoKafkaDTOrecord class.- Parameters:
projectId- the value for theprojectIdrecord componentprojectName- the value for theprojectNamerecord componentprojectOwner- the value for theprojectOwnerrecord componentprojectParticipants- the value for theprojectParticipantsrecord componentprojectStatus- the value for theprojectStatusrecord componentadminOperationStatus- the value for theadminOperationStatusrecord componentoperation- the value for theoperationrecord 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). -
projectId
Returns the value of theprojectIdrecord component.- Returns:
- the value of the
projectIdrecord component
-
projectName
Returns the value of theprojectNamerecord component.- Returns:
- the value of the
projectNamerecord component
-
projectOwner
Returns the value of theprojectOwnerrecord component.- Returns:
- the value of the
projectOwnerrecord component
-
projectParticipants
Returns the value of theprojectParticipantsrecord component.- Returns:
- the value of the
projectParticipantsrecord component
-
projectStatus
public callofproject.dev.data.community.entity.enumeration.EProjectStatus projectStatus()Returns the value of theprojectStatusrecord component.- Returns:
- the value of the
projectStatusrecord component
-
adminOperationStatus
public callofproject.dev.data.common.enums.AdminOperationStatus adminOperationStatus()Returns the value of theadminOperationStatusrecord component.- Returns:
- the value of the
adminOperationStatusrecord component
-
operation
public callofproject.dev.data.common.enums.EOperation operation()Returns the value of theoperationrecord component.- Returns:
- the value of the
operationrecord component
-