Package org.exoplatform.caldav.model
Record Class CaldavManagedRefusal
java.lang.Object
java.lang.Record
org.exoplatform.caldav.model.CaldavManagedRefusal
- Record Components:
serverId- the designated registration the connection was made onaccount- the account the provider named, empty when it named none
A connection managed mode made for a user and the provider refused: the
designated registration it was made on, and the account the provider named for
them then (EXO-91017). It stays true while both are what they were: another
designation, or another account resolved for the user, is a new attempt.
-
Constructor Summary
ConstructorsConstructorDescriptionCaldavManagedRefusal(long serverId, String account) Creates an instance of aCaldavManagedRefusalrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccount()Returns the value of theaccountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longserverId()Returns the value of theserverIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
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 '=='. -
serverId
public long serverId()Returns the value of theserverIdrecord component.- Returns:
- the value of the
serverIdrecord component
-
account
Returns the value of theaccountrecord component.- Returns:
- the value of the
accountrecord component
-