PageRenderTime 122ms CodeModel.GetById 40ms app.highlight 4ms RepoModel.GetById 56ms app.codeStats 1ms

/src/mpv5/db/objects/ScheduleTypes.java

http://mp-rechnungs-und-kundenverwaltung.googlecode.com/
Java | 70 lines | 39 code | 11 blank | 20 comment | 0 complexity | 9ce637c2ae3274e2e39bbf1b80f8964b MD5 | raw file
 1/*
 2 *  This file is part of YaBS.
 3 *
 4 *      YaBS is free software: you can redistribute it and/or modify
 5 *      it under the terms of the GNU General Public License as published by
 6 *      the Free Software Foundation, either version 3 of the License, or
 7 *      (at your option) any later version.
 8 *
 9 *      YaBS is distributed in the hope that it will be useful,
10 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
11 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 *      GNU General Public License for more details.
13 *
14 *      You should have received a copy of the GNU General Public License
15 *      along with YaBS.  If not, see <http://www.gnu.org/licenses/>.
16 */
17package mpv5.db.objects;
18
19import java.util.Date;
20import javax.swing.JComponent;
21import mpv5.db.common.Context;
22import mpv5.db.common.DatabaseObject;
23
24/**
25 *
26 *  
27 */
28public class ScheduleTypes extends DatabaseObject {
29    private int UserIds_;
30
31    public ScheduleTypes() {
32        setContext(Context.getScheduleTypes());
33    }
34
35    @Override
36    public JComponent getView() {
37        return null;
38    }
39
40    @Override
41    public mpv5.utils.images.MPIcon getIcon() {
42        return null;
43    }
44
45    public void setUser(Integer valueOf) {
46        UserIds_ = valueOf;
47    }
48
49    @Displayable(false)
50    @Override
51    public int __getGroupsids() {
52        return super.__getGroupsids();
53    }
54
55    @Displayable(false)
56    @Override
57    public Date __getDateadded() {
58        return super.__getDateadded();
59    }
60
61    
62    @Displayable(true)
63    public int __getUserSids() {
64        return UserIds_;
65    }
66
67    public void setUserSids(int ID) {
68        UserIds_ = ID;
69    }
70}