Record Class BasicInformationAll
java.lang.Object
java.lang.Record
io.github.seenings.info.model.BasicInformationAll
- Record Components:
basicInformation- 基本信息educationAndWork- 教育与工作contactInformation- 联系信息
public record BasicInformationAll(BasicInformation basicInformation, EducationAndWork educationAndWork, ContactInformation contactInformation)
extends Record
BasicInformationAll
- Since:
- 2023-02-11
- Author:
- chixuehui
-
Constructor Summary
ConstructorsConstructorDescriptionBasicInformationAll(BasicInformation basicInformation, EducationAndWork educationAndWork, ContactInformation contactInformation) Creates an instance of aBasicInformationAllrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebasicInformationrecord component.Returns the value of thecontactInformationrecord component.Returns the value of theeducationAndWorkrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BasicInformationAll
public BasicInformationAll(BasicInformation basicInformation, EducationAndWork educationAndWork, ContactInformation contactInformation) Creates an instance of aBasicInformationAllrecord class.- Parameters:
basicInformation- the value for thebasicInformationrecord componenteducationAndWork- the value for theeducationAndWorkrecord componentcontactInformation- the value for thecontactInformationrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
basicInformation
Returns the value of thebasicInformationrecord component.- Returns:
- the value of the
basicInformationrecord component
-
educationAndWork
Returns the value of theeducationAndWorkrecord component.- Returns:
- the value of the
educationAndWorkrecord component
-
contactInformation
Returns the value of thecontactInformationrecord component.- Returns:
- the value of the
contactInformationrecord component
-