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 aProjectInfoKafkaDTO
record class. -
Method Summary
Modifier and TypeMethodDescriptioncallofproject.dev.data.common.enums.AdminOperationStatus
Returns the value of theadminOperationStatus
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.callofproject.dev.data.common.enums.EOperation
Returns the value of theoperation
record component.Returns the value of theprojectId
record component.Returns the value of theprojectName
record component.Returns the value of theprojectOwner
record component.Returns the value of theprojectParticipants
record component.callofproject.dev.data.community.entity.enumeration.EProjectStatus
Returns the value of theprojectStatus
record 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 aProjectInfoKafkaDTO
record class.- Parameters:
projectId
- the value for theprojectId
record componentprojectName
- the value for theprojectName
record componentprojectOwner
- the value for theprojectOwner
record componentprojectParticipants
- the value for theprojectParticipants
record componentprojectStatus
- the value for theprojectStatus
record componentadminOperationStatus
- the value for theadminOperationStatus
record componentoperation
- the value for theoperation
record 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 theprojectId
record component.- Returns:
- the value of the
projectId
record component
-
projectName
Returns the value of theprojectName
record component.- Returns:
- the value of the
projectName
record component
-
projectOwner
Returns the value of theprojectOwner
record component.- Returns:
- the value of the
projectOwner
record component
-
projectParticipants
Returns the value of theprojectParticipants
record component.- Returns:
- the value of the
projectParticipants
record component
-
projectStatus
public callofproject.dev.data.community.entity.enumeration.EProjectStatus projectStatus()Returns the value of theprojectStatus
record component.- Returns:
- the value of the
projectStatus
record component
-
adminOperationStatus
public callofproject.dev.data.common.enums.AdminOperationStatus adminOperationStatus()Returns the value of theadminOperationStatus
record component.- Returns:
- the value of the
adminOperationStatus
record component
-
operation
public callofproject.dev.data.common.enums.EOperation operation()Returns the value of theoperation
record component.- Returns:
- the value of the
operation
record component
-