Package org.exoplatform.caldav.model
Record Class CalendarShares.ShareUser
java.lang.Object
java.lang.Record
org.exoplatform.caldav.model.CalendarShares.ShareUser
- Record Components:
identityId- the social identityusername- the loginfullName- the full name, the login when the profile has noneavatarUrl- the avatar URL, may be null
- Enclosing class:
CalendarShares
public static record CalendarShares.ShareUser(long identityId, String username, String fullName, String avatarUrl)
extends Record
An eXo user, as a sharee or a candidate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavatarUrlrecord component.final booleanIndicates whether some other object is "equal to" this one.fullName()Returns the value of thefullNamerecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theidentityIdrecord component.final StringtoString()Returns a string representation of this record class.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
ShareUser
Creates an instance of aShareUserrecord class.- Parameters:
identityId- the value for theidentityIdrecord componentusername- the value for theusernamerecord componentfullName- the value for thefullNamerecord componentavatarUrl- the value for theavatarUrlrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
identityId
public long identityId()Returns the value of theidentityIdrecord component.- Returns:
- the value of the
identityIdrecord component
-
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
fullName
Returns the value of thefullNamerecord component.- Returns:
- the value of the
fullNamerecord component
-
avatarUrl
Returns the value of theavatarUrlrecord component.- Returns:
- the value of the
avatarUrlrecord component
-