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 aPatentResponses
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapplicationDate
record component.Returns the value of theapplicationNumber
record component.createAt()
Returns the value of thecreateAt
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.idx()
Returns the value of theidx
record component.Returns the value of theinventionTitle
record component.Returns the value of theinventionTitleEnglish
record component.Returns the value of thepatentType
record component.Returns the value of theprojectIdx
record component.final String
toString()
Returns a string representation of this record class.user()
Returns the value of theuser
record 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 aPatentResponses
record class.- Parameters:
idx
- the value for theidx
record componentprojectIdx
- the value for theprojectIdx
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 componentcreateAt
- the value for thecreateAt
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
-
projectIdx
Returns the value of theprojectIdx
record component.- Returns:
- the value of the
projectIdx
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
-
createAt
Returns the value of thecreateAt
record component.- Returns:
- the value of the
createAt
record component
-
user
Returns the value of theuser
record component.- Returns:
- the value of the
user
record component
-