Record Class PatentResponses
java.lang.Object
java.lang.Record
inha.git.project.api.controller.dto.response.PatentResponses
public record PatentResponses(Integer idx, Integer projectIdx, String applicationNumber, PatentType patentType, String applicationDate, String inventionTitle, String inventionTitleEnglish, LocalDateTime createAt, SearchUserResponse user)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPatentResponses(Integer idx, Integer projectIdx, String applicationNumber, PatentType patentType, String applicationDate, String inventionTitle, String inventionTitleEnglish, LocalDateTime createAt, SearchUserResponse user) Creates an instance of aPatentResponsesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationDaterecord component.Returns the value of theapplicationNumberrecord component.createAt()Returns the value of thecreateAtrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.idx()Returns the value of theidxrecord component.Returns the value of theinventionTitlerecord component.Returns the value of theinventionTitleEnglishrecord component.Returns the value of thepatentTyperecord component.Returns the value of theprojectIdxrecord component.final StringtoString()Returns a string representation of this record class.user()Returns the value of theuserrecord component.
-
Constructor Details
-
PatentResponses
public PatentResponses(Integer idx, Integer projectIdx, String applicationNumber, PatentType patentType, String applicationDate, String inventionTitle, String inventionTitleEnglish, LocalDateTime createAt, SearchUserResponse user) Creates an instance of aPatentResponsesrecord class.- Parameters:
idx- the value for theidxrecord componentprojectIdx- the value for theprojectIdxrecord 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 componentcreateAt- the value for thecreateAtrecord 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
-
projectIdx
Returns the value of theprojectIdxrecord component.- Returns:
- the value of the
projectIdxrecord 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
-
createAt
Returns the value of thecreateAtrecord component.- Returns:
- the value of the
createAtrecord component
-
user
Returns the value of theuserrecord component.- Returns:
- the value of the
userrecord component
-