Record Class SearchPatentResponse
java.lang.Object
java.lang.Record
inha.git.project.api.controller.dto.response.SearchPatentResponse
public record SearchPatentResponse(@NotNull Integer idx, @NotNull String applicationNumber, @NotNull PatentType patentType, @NotNull String applicationDate, @NotNull String inventionTitle, @NotNull String inventionTitleEnglish, @NotNull String applicantName, @NotNull String applicantEnglishName, String evidence, String evidenceName, LocalDateTime acceptAt, @NotNull List<SearchInventorResponse> inventor, SearchProjectPatentResponse project, SearchUserResponse user)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSearchPatentResponse
(@NotNull Integer idx, @NotNull String applicationNumber, @NotNull PatentType patentType, @NotNull String applicationDate, @NotNull String inventionTitle, @NotNull String inventionTitleEnglish, @NotNull String applicantName, @NotNull String applicantEnglishName, String evidence, String evidenceName, LocalDateTime acceptAt, @NotNull List<SearchInventorResponse> inventor, SearchProjectPatentResponse project, SearchUserResponse user) Creates an instance of aSearchPatentResponse
record class. -
Method Summary
Modifier and TypeMethodDescriptionacceptAt()
Returns the value of theacceptAt
record component.@NotNull String
Returns the value of theapplicantEnglishName
record component.@NotNull String
Returns the value of theapplicantName
record component.@NotNull String
Returns the value of theapplicationDate
record component.@NotNull String
Returns the value of theapplicationNumber
record component.final boolean
Indicates whether some other object is "equal to" this one.evidence()
Returns the value of theevidence
record component.Returns the value of theevidenceName
record component.final int
hashCode()
Returns a hash code value for this object.@NotNull Integer
idx()
Returns the value of theidx
record component.@NotNull String
Returns the value of theinventionTitle
record component.@NotNull String
Returns the value of theinventionTitleEnglish
record component.@NotNull List<SearchInventorResponse>
inventor()
Returns the value of theinventor
record component.@NotNull PatentType
Returns the value of thepatentType
record component.project()
Returns the value of theproject
record component.final String
toString()
Returns a string representation of this record class.user()
Returns the value of theuser
record component.
-
Constructor Details
-
SearchPatentResponse
public SearchPatentResponse(@NotNull @NotNull Integer idx, @NotNull @NotNull String applicationNumber, @NotNull @NotNull PatentType patentType, @NotNull @NotNull String applicationDate, @NotNull @NotNull String inventionTitle, @NotNull @NotNull String inventionTitleEnglish, @NotNull @NotNull String applicantName, @NotNull @NotNull String applicantEnglishName, String evidence, String evidenceName, LocalDateTime acceptAt, @NotNull @NotNull List<SearchInventorResponse> inventor, SearchProjectPatentResponse project, SearchUserResponse user) Creates an instance of aSearchPatentResponse
record class.- Parameters:
idx
- the value for theidx
record componentapplicationNumber
- the value for theapplicationNumber
record componentpatentType
- the value for thepatentType
record componentapplicationDate
- the value for theapplicationDate
record componentinventionTitle
- the value for theinventionTitle
record componentinventionTitleEnglish
- the value for theinventionTitleEnglish
record componentapplicantName
- the value for theapplicantName
record componentapplicantEnglishName
- the value for theapplicantEnglishName
record componentevidence
- the value for theevidence
record componentevidenceName
- the value for theevidenceName
record componentacceptAt
- the value for theacceptAt
record componentinventor
- the value for theinventor
record componentproject
- the value for theproject
record componentuser
- the value for theuser
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)
. -
idx
Returns the value of theidx
record component.- Returns:
- the value of the
idx
record component
-
applicationNumber
Returns the value of theapplicationNumber
record component.- Returns:
- the value of the
applicationNumber
record component
-
patentType
Returns the value of thepatentType
record component.- Returns:
- the value of the
patentType
record component
-
applicationDate
Returns the value of theapplicationDate
record component.- Returns:
- the value of the
applicationDate
record component
-
inventionTitle
Returns the value of theinventionTitle
record component.- Returns:
- the value of the
inventionTitle
record component
-
inventionTitleEnglish
Returns the value of theinventionTitleEnglish
record component.- Returns:
- the value of the
inventionTitleEnglish
record component
-
applicantName
Returns the value of theapplicantName
record component.- Returns:
- the value of the
applicantName
record component
-
applicantEnglishName
Returns the value of theapplicantEnglishName
record component.- Returns:
- the value of the
applicantEnglishName
record component
-
evidence
Returns the value of theevidence
record component.- Returns:
- the value of the
evidence
record component
-
evidenceName
Returns the value of theevidenceName
record component.- Returns:
- the value of the
evidenceName
record component
-
acceptAt
Returns the value of theacceptAt
record component.- Returns:
- the value of the
acceptAt
record component
-
inventor
Returns the value of theinventor
record component.- Returns:
- the value of the
inventor
record component
-
project
Returns the value of theproject
record component.- Returns:
- the value of the
project
record component
-
user
Returns the value of theuser
record component.- Returns:
- the value of the
user
record component
-