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