Record Class AlumniVO
java.lang.Object
java.lang.Record
com.profile.searcher.model.response.AlumniVO
- Record Components:
id
- The unique identifier for the alumni.title
- The title associated with the alumni's name.fullName
- The full name of alumni.universityName
- The name of university alumni attended.profileHeadLine
- A short headline or tagline from the alumni's profile.location
- The location of the alumni.connectionDegree
- The degree of connection like 1st, 2nd, 3rd between user and alumni.company
- The current or most recent company that alumni is associated.profileUrl
- The URL to view the alumni's profile.companyUrl
- The URL of the company associated with the alumni.passedOutYear
- The year of alumni graduated or completed studies.
public record AlumniVO(UUID id, String title, String fullName, String universityName, String profileHeadLine, String location, String connectionDegree, String company, String profileUrl, String companyUrl, Integer passedOutYear)
extends Record
AlumniVO is the response class representing an alumni profile with key details such as educational background,
professional information, and connection metadata.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompany()
Returns the value of thecompany
record component.Returns the value of thecompanyUrl
record component.Returns the value of theconnectionDegree
record component.final boolean
Indicates whether some other object is "equal to" this one.fullName()
Returns the value of thefullName
record component.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.location()
Returns the value of thelocation
record component.Returns the value of thepassedOutYear
record component.Returns the value of theprofileHeadLine
record component.Returns the value of theprofileUrl
record component.title()
Returns the value of thetitle
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theuniversityName
record component.
-
Constructor Details
-
AlumniVO
public AlumniVO(UUID id, String title, String fullName, String universityName, String profileHeadLine, String location, String connectionDegree, String company, String profileUrl, String companyUrl, Integer passedOutYear) Creates an instance of aAlumniVO
record class.- Parameters:
id
- the value for theid
record componenttitle
- the value for thetitle
record componentfullName
- the value for thefullName
record componentuniversityName
- the value for theuniversityName
record componentprofileHeadLine
- the value for theprofileHeadLine
record componentlocation
- the value for thelocation
record componentconnectionDegree
- the value for theconnectionDegree
record componentcompany
- the value for thecompany
record componentprofileUrl
- the value for theprofileUrl
record componentcompanyUrl
- the value for thecompanyUrl
record componentpassedOutYear
- the value for thepassedOutYear
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)
. -
id
Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
title
Returns the value of thetitle
record component.- Returns:
- the value of the
title
record component
-
fullName
Returns the value of thefullName
record component.- Returns:
- the value of the
fullName
record component
-
universityName
Returns the value of theuniversityName
record component.- Returns:
- the value of the
universityName
record component
-
profileHeadLine
Returns the value of theprofileHeadLine
record component.- Returns:
- the value of the
profileHeadLine
record component
-
location
Returns the value of thelocation
record component.- Returns:
- the value of the
location
record component
-
connectionDegree
Returns the value of theconnectionDegree
record component.- Returns:
- the value of the
connectionDegree
record component
-
company
Returns the value of thecompany
record component.- Returns:
- the value of the
company
record component
-
profileUrl
Returns the value of theprofileUrl
record component.- Returns:
- the value of the
profileUrl
record component
-
companyUrl
Returns the value of thecompanyUrl
record component.- Returns:
- the value of the
companyUrl
record component
-
passedOutYear
Returns the value of thepassedOutYear
record component.- Returns:
- the value of the
passedOutYear
record component
-