com.strangelight.db
Interface Ownable

All Known Implementing Classes:
OwnableRow

public interface Ownable

An interface which should be implemented by any object which can be "owned" by (or otherwise uniquely associated with) a particular User.


Method Summary
 User getUser()
          gets the User who "owns" this object.
 void setUser(User u)
          sets the User who "owns" this object.
 

Method Detail

setUser

public void setUser(User u)
sets the User who "owns" this object.


getUser

public User getUser()
gets the User who "owns" this object.

Returns:
the User who "owns" this object.