Record Class ResearchStudySettingsRequest
java.lang.Object
java.lang.Record
org.diabetestechnology.drh.service.http.pg.request.ResearchStudySettingsRequest
-
Constructor Summary
ConstructorsConstructorDescriptionResearchStudySettingsRequest(String studyId, String studyTitle, String description, String locationId, String treatmentModalities, String fundingSource, String nctNumber, LocalDate startDate, LocalDate endDate, String userId) Creates an instance of aResearchStudySettingsRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.endDate()Returns the value of theendDaterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefundingSourcerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelocationIdrecord component.Returns the value of thenctNumberrecord component.Returns the value of thestartDaterecord component.studyId()Returns the value of thestudyIdrecord component.Returns the value of thestudyTitlerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetreatmentModalitiesrecord component.userId()Returns the value of theuserIdrecord component.
-
Constructor Details
-
ResearchStudySettingsRequest
public ResearchStudySettingsRequest(String studyId, String studyTitle, String description, String locationId, String treatmentModalities, String fundingSource, String nctNumber, LocalDate startDate, LocalDate endDate, String userId) Creates an instance of aResearchStudySettingsRequestrecord class.- Parameters:
studyId- the value for thestudyIdrecord componentstudyTitle- the value for thestudyTitlerecord componentdescription- the value for thedescriptionrecord componentlocationId- the value for thelocationIdrecord componenttreatmentModalities- the value for thetreatmentModalitiesrecord componentfundingSource- the value for thefundingSourcerecord componentnctNumber- the value for thenctNumberrecord componentstartDate- the value for thestartDaterecord componentendDate- the value for theendDaterecord componentuserId- the value for theuserIdrecord 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). -
studyId
Returns the value of thestudyIdrecord component.- Returns:
- the value of the
studyIdrecord component
-
studyTitle
Returns the value of thestudyTitlerecord component.- Returns:
- the value of the
studyTitlerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
locationId
Returns the value of thelocationIdrecord component.- Returns:
- the value of the
locationIdrecord component
-
treatmentModalities
Returns the value of thetreatmentModalitiesrecord component.- Returns:
- the value of the
treatmentModalitiesrecord component
-
fundingSource
Returns the value of thefundingSourcerecord component.- Returns:
- the value of the
fundingSourcerecord component
-
nctNumber
Returns the value of thenctNumberrecord component.- Returns:
- the value of the
nctNumberrecord component
-
startDate
Returns the value of thestartDaterecord component.- Returns:
- the value of the
startDaterecord component
-
endDate
Returns the value of theendDaterecord component.- Returns:
- the value of the
endDaterecord component
-
userId
Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-