Record Class PublicationUpdateRequest
java.lang.Object
java.lang.Record
org.diabetestechnology.drh.service.http.pg.request.PublicationUpdateRequest
-
Constructor Summary
ConstructorsConstructorDescriptionPublicationUpdateRequest
(String publication_title, Date publication_date, String publication_doi, String pubmed_id) PublicationUpdateRequest
(String publication_title, Date publication_date, String publication_doi, String pubmed_id, CollaborationTeamRequest collaboration_team) Creates an instance of aPublicationUpdateRequest
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecollaboration_team
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.Returns the value of thepublication_date
record component.Returns the value of thepublication_doi
record component.Returns the value of thepublication_title
record component.Returns the value of thepubmed_id
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
PublicationUpdateRequest
-
PublicationUpdateRequest
public PublicationUpdateRequest(String publication_title, Date publication_date, String publication_doi, String pubmed_id, CollaborationTeamRequest collaboration_team) Creates an instance of aPublicationUpdateRequest
record class.- Parameters:
publication_title
- the value for thepublication_title
record componentpublication_date
- the value for thepublication_date
record componentpublication_doi
- the value for thepublication_doi
record componentpubmed_id
- the value for thepubmed_id
record componentcollaboration_team
- the value for thecollaboration_team
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)
. -
publication_title
Returns the value of thepublication_title
record component.- Returns:
- the value of the
publication_title
record component
-
publication_date
Returns the value of thepublication_date
record component.- Returns:
- the value of the
publication_date
record component
-
publication_doi
Returns the value of thepublication_doi
record component.- Returns:
- the value of the
publication_doi
record component
-
pubmed_id
Returns the value of thepubmed_id
record component.- Returns:
- the value of the
pubmed_id
record component
-
collaboration_team
Returns the value of thecollaboration_team
record component.- Returns:
- the value of the
collaboration_team
record component
-