Package org.localify.user.support
Class UserRecentVenueView
java.lang.Object
org.localify.user.support.UserRecentVenueView
Represents a recent venue view by a user.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents the composite key for a user recent venue view. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor.UserRecentVenueView(User user, Venue venue) Creates a new user recent venue view. -
Method Summary
Modifier and TypeMethodDescriptionGets the creation timestamp.getKey()Gets the key.Gets the last update timestamp.getUser()Gets the user.getVenue()Gets the venue.voidsetCreatedAt(Instant createdAt) Sets the creation timestamp.voidSets the key.voidsetUpdatedAt(Instant updatedAt) Sets the last update timestamp.voidSets the user.voidSets the venue.
-
Constructor Details
-
UserRecentVenueView
protected UserRecentVenueView()Default constructor. -
UserRecentVenueView
Creates a new user recent venue view.- Parameters:
user- The user.venue- The venue.
-
-
Method Details
-
getKey
Gets the key.- Returns:
- The key.
-
setKey
Sets the key.- Parameters:
key- The key.
-
getUser
Gets the user.- Returns:
- The user.
-
setUser
Sets the user.- Parameters:
user- The user.
-
getCreatedAt
Gets the creation timestamp.- Returns:
- The creation timestamp.
-
setCreatedAt
Sets the creation timestamp.- Parameters:
createdAt- The creation timestamp.
-
getVenue
Gets the venue.- Returns:
- The venue.
-
setVenue
Sets the venue.- Parameters:
venue- The venue.
-
getUpdatedAt
Gets the last update timestamp.- Returns:
- The last update timestamp.
-
setUpdatedAt
Sets the last update timestamp.- Parameters:
updatedAt- The last update timestamp.
-