Record Class StudyRequest
java.lang.Object
java.lang.Record
org.diabetestechnology.drh.service.http.pg.request.StudyRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatedByrecord component.Returns the value of thedescriptionrecord 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 theresearchStudyIdentifierrecord component.tenantId()Returns the value of thetenantIdrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevisibilityrecord component.
-
Constructor Details
-
StudyRequest
public StudyRequest(String researchStudyIdentifier, String title, String description, String tenantId, String createdBy, Integer visibility) Creates an instance of aStudyRequestrecord class.- Parameters:
researchStudyIdentifier- the value for theresearchStudyIdentifierrecord componenttitle- the value for thetitlerecord componentdescription- the value for thedescriptionrecord componenttenantId- the value for thetenantIdrecord componentcreatedBy- the value for thecreatedByrecord componentvisibility- the value for thevisibilityrecord 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). -
researchStudyIdentifier
Returns the value of theresearchStudyIdentifierrecord component.- Returns:
- the value of the
researchStudyIdentifierrecord component
-
title
Returns the value of thetitlerecord component.- Returns:
- the value of the
titlerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-
createdBy
Returns the value of thecreatedByrecord component.- Returns:
- the value of the
createdByrecord component
-
visibility
Returns the value of thevisibilityrecord component.- Returns:
- the value of the
visibilityrecord component
-