Record Class PendingChangesHandler.Revocation
java.lang.Object
java.lang.Record
com.ultikits.ultitools.utils.PendingChangesHandler.Revocation
- Enclosing class:
PendingChangesHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRevocation(String id, String revision, long userId) Creates an instance of aRevocationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.revision()Returns the value of therevisionrecord component.final StringtoString()Returns a string representation of this record class.longuserId()Returns the value of theuserIdrecord component.
-
Field Details
-
id
The field for theidrecord component. -
revision
The field for therevisionrecord component. -
userId
private final long userIdThe field for theuserIdrecord component.
-
-
Constructor Details
-
Revocation
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
revision
Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-
userId
public long userId()Returns the value of theuserIdrecord component.- Returns:
- the value of the
userIdrecord component
-