1 /*****************************************************************************
5 * Creation date Mar 18, 2013
8 *****************************************************************************/
10 package org.splat.dal.bo.som;
12 import org.splat.dal.bo.kernel.Persistent;
13 import org.splat.dal.bo.kernel.Relation;
14 import org.splat.dal.bo.kernel.User;
15 import org.splat.dal.bo.som.Study;
18 * Class representing relation of of user to study.
20 public class ReaderRelation extends Relation {
23 * User bounded by relation.
27 // ==============================================================================================================================
29 // ==============================================================================================================================
32 * Database fetch constructor.
34 public ReaderRelation() {
39 * ReaderRelation subclasses constructor.
40 * @param from the study
43 public ReaderRelation(final Study from, final User to) {
48 // ==============================================================================================================================
49 // Public member functions
50 // ==============================================================================================================================
54 * @see org.splat.dal.bo.kernel.Relation#getTo()
57 public Persistent getTo() {
63 * @see org.splat.dal.bo.kernel.Relation#setTo(org.splat.dal.bo.kernel.Persistent)
66 public void setTo(Persistent to) {