001: /**********************************************************************************
002: * $URL: https://source.sakaiproject.org/svn/rwiki/tags/sakai_2-4-1/rwiki-model/src/java/uk/ac/cam/caret/sakai/rwiki/message/model/PreferenceImpl.java $
003: * $Id: PreferenceImpl.java 9108 2006-05-08 14:30:57Z ian@caret.cam.ac.uk $
004: ***********************************************************************************
005: *
006: * Copyright (c) 2003, 2004, 2005, 2006 The Sakai Foundation.
007: *
008: * Licensed under the Educational Community License, Version 1.0 (the "License");
009: * you may not use this file except in compliance with the License.
010: * You may obtain a copy of the License at
011: *
012: * http://www.opensource.org/licenses/ecl1.php
013: *
014: * Unless required by applicable law or agreed to in writing, software
015: * distributed under the License is distributed on an "AS IS" BASIS,
016: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017: * See the License for the specific language governing permissions and
018: * limitations under the License.
019: *
020: **********************************************************************************/package uk.ac.cam.caret.sakai.rwiki.message.model;
021:
022: import java.util.Date;
023:
024: import uk.ac.cam.caret.sakai.rwiki.service.message.api.model.Preference;
025:
026: /**
027: * @author ieb
028: */
029: public class PreferenceImpl implements Preference {
030: private String id;
031:
032: private String userid;
033:
034: private Date lastseen;
035:
036: private String preference;
037:
038: private String prefcontext;
039:
040: private String preftype;
041:
042: /**
043: * {@inheritDoc}
044: */
045: public String getId() {
046: return id;
047: }
048:
049: /**
050: * {@inheritDoc}
051: */
052: public void setId(String id) {
053: this .id = id;
054: }
055:
056: /**
057: * {@inheritDoc}
058: */
059: public Date getLastseen() {
060: return lastseen;
061: }
062:
063: /**
064: * {@inheritDoc}
065: */
066: public void setLastseen(Date lastseen) {
067: this .lastseen = lastseen;
068: }
069:
070: /**
071: * {@inheritDoc}
072: */
073: public String getPreference() {
074: return preference;
075: }
076:
077: /**
078: * {@inheritDoc}
079: */
080: public void setPreference(String preference) {
081: this .preference = preference;
082: }
083:
084: /**
085: * {@inheritDoc}
086: */
087: public String getUserid() {
088: return userid;
089: }
090:
091: /**
092: * {@inheritDoc}
093: */
094: public void setUserid(String userid) {
095: this .userid = userid;
096: }
097:
098: /**
099: * {@inheritDoc}
100: */
101: public String getPrefcontext() {
102: return prefcontext;
103: }
104:
105: /**
106: * {@inheritDoc}
107: */
108: public void setPrefcontext(String prefcontext) {
109: this .prefcontext = prefcontext;
110: }
111:
112: /**
113: * {@inheritDoc}
114: */
115: public String getPreftype() {
116: return preftype;
117: }
118:
119: /**
120: * {@inheritDoc}
121: */
122: public void setPreftype(String preftype) {
123: this.preftype = preftype;
124: }
125:
126: }
|