Package org.localify.user.support
Class UserFavoriteEvent.Key
java.lang.Object
org.localify.user.support.UserFavoriteEvent.Key
- All Implemented Interfaces:
Serializable
- Enclosing class:
- UserFavoriteEvent
Represents the composite key for a user favorite event.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Key
protected Key()Default constructor. -
Key
Creates a new key.- Parameters:
userId- The user ID.eventId- The event ID.
-
-
Method Details
-
getUserId
Gets the user ID.- Returns:
- The user ID.
-
setUserId
Sets the user ID.- Parameters:
userId- The user ID.
-
getEventId
Gets the event ID.- Returns:
- The event ID.
-
setEventId
Sets the event ID.- Parameters:
eventId- The event ID.
-
equals
-
hashCode
public int hashCode()
-