Record Class PublicationUpdateRequest
java.lang.Object
java.lang.Record
org.diabetestechnology.drh.service.http.pg.request.PublicationUpdateRequest
public record PublicationUpdateRequest(String publication_title, Date publication_date, String publication_doi, String pubmed_id, CollaborationTeamRequest collaboration_team, CitationDataSource citation_data_source)
extends Record
-
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, CitationDataSource citation_data_source) PublicationUpdateRequest(String publication_title, Date publication_date, String publication_doi, String pubmed_id, CollaborationTeamRequest collaboration_team, CitationDataSource citation_data_source) Creates an instance of aPublicationUpdateRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecitation_data_sourcerecord component.Returns the value of thecollaboration_teamrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thepublication_daterecord component.Returns the value of thepublication_doirecord component.Returns the value of thepublication_titlerecord component.Returns the value of thepubmed_idrecord component.final StringtoString()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, CitationDataSource citation_data_source) -
PublicationUpdateRequest
public PublicationUpdateRequest(String publication_title, Date publication_date, String publication_doi, String pubmed_id, CollaborationTeamRequest collaboration_team, CitationDataSource citation_data_source) Creates an instance of aPublicationUpdateRequestrecord class.- Parameters:
publication_title- the value for thepublication_titlerecord componentpublication_date- the value for thepublication_daterecord componentpublication_doi- the value for thepublication_doirecord componentpubmed_id- the value for thepubmed_idrecord componentcollaboration_team- the value for thecollaboration_teamrecord componentcitation_data_source- the value for thecitation_data_sourcerecord 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_titlerecord component.- Returns:
- the value of the
publication_titlerecord component
-
publication_date
Returns the value of thepublication_daterecord component.- Returns:
- the value of the
publication_daterecord component
-
publication_doi
Returns the value of thepublication_doirecord component.- Returns:
- the value of the
publication_doirecord component
-
pubmed_id
Returns the value of thepubmed_idrecord component.- Returns:
- the value of the
pubmed_idrecord component
-
collaboration_team
Returns the value of thecollaboration_teamrecord component.- Returns:
- the value of the
collaboration_teamrecord component
-
citation_data_source
Returns the value of thecitation_data_sourcerecord component.- Returns:
- the value of the
citation_data_sourcerecord component
-