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 aSearchPatentResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionacceptAt()Returns the value of theacceptAtrecord component.@NotNull StringReturns the value of theapplicantEnglishNamerecord component.@NotNull StringReturns the value of theapplicantNamerecord component.@NotNull StringReturns the value of theapplicationDaterecord component.@NotNull StringReturns the value of theapplicationNumberrecord component.final booleanIndicates whether some other object is "equal to" this one.evidence()Returns the value of theevidencerecord component.Returns the value of theevidenceNamerecord component.final inthashCode()Returns a hash code value for this object.@NotNull Integeridx()Returns the value of theidxrecord component.@NotNull StringReturns the value of theinventionTitlerecord component.@NotNull StringReturns the value of theinventionTitleEnglishrecord component.@NotNull List<SearchInventorResponse>inventor()Returns the value of theinventorrecord component.@NotNull PatentTypeReturns the value of thepatentTyperecord component.project()Returns the value of theprojectrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord 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 aSearchPatentResponserecord class.- Parameters:
idx- the value for theidxrecord componentapplicationNumber- the value for theapplicationNumberrecord componentpatentType- the value for thepatentTyperecord componentapplicationDate- the value for theapplicationDaterecord componentinventionTitle- the value for theinventionTitlerecord componentinventionTitleEnglish- the value for theinventionTitleEnglishrecord componentapplicantName- the value for theapplicantNamerecord componentapplicantEnglishName- the value for theapplicantEnglishNamerecord componentevidence- the value for theevidencerecord componentevidenceName- the value for theevidenceNamerecord componentacceptAt- the value for theacceptAtrecord componentinventor- the value for theinventorrecord componentproject- the value for theprojectrecord componentuser- the value for theuserrecord 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 theidxrecord component.- Returns:
- the value of the
idxrecord component
-
applicationNumber
Returns the value of theapplicationNumberrecord component.- Returns:
- the value of the
applicationNumberrecord component
-
patentType
Returns the value of thepatentTyperecord component.- Returns:
- the value of the
patentTyperecord component
-
applicationDate
Returns the value of theapplicationDaterecord component.- Returns:
- the value of the
applicationDaterecord component
-
inventionTitle
Returns the value of theinventionTitlerecord component.- Returns:
- the value of the
inventionTitlerecord component
-
inventionTitleEnglish
Returns the value of theinventionTitleEnglishrecord component.- Returns:
- the value of the
inventionTitleEnglishrecord component
-
applicantName
Returns the value of theapplicantNamerecord component.- Returns:
- the value of the
applicantNamerecord component
-
applicantEnglishName
Returns the value of theapplicantEnglishNamerecord component.- Returns:
- the value of the
applicantEnglishNamerecord component
-
evidence
Returns the value of theevidencerecord component.- Returns:
- the value of the
evidencerecord component
-
evidenceName
Returns the value of theevidenceNamerecord component.- Returns:
- the value of the
evidenceNamerecord component
-
acceptAt
Returns the value of theacceptAtrecord component.- Returns:
- the value of the
acceptAtrecord component
-
inventor
Returns the value of theinventorrecord component.- Returns:
- the value of the
inventorrecord component
-
project
Returns the value of theprojectrecord component.- Returns:
- the value of the
projectrecord component
-
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-