ch.hsr.bieridee.domain
Class Action
java.lang.Object
ch.hsr.bieridee.domain.Action
- All Implemented Interfaces:
- IDomain
- Direct Known Subclasses:
- Consumption, Rating
public abstract class Action
- extends java.lang.Object
- implements IDomain
Abstract Action domain class
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Action
public Action(java.util.Date date,
Beer beer,
User user)
- Parameters:
date
- Date the Activity happened.beer
- The Beer
associated with the activity.user
- The User
created that created the activity
getBeer
public Beer getBeer()
setBeer
public void setBeer(Beer newBeer)
getUser
public User getUser()
setUser
public void setUser(User newUser)
getDate
public java.util.Date getDate()
setDate
public void setDate(java.util.Date date)