PageRenderTime 37ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/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
Possible License(s): LGPL-3.0, Apache-2.0, GPL-3.0, GPL-2.0, AGPL-3.0, JSON, BSD-3-Clause
  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. */
  17. package mpv5.db.objects;
  18. import java.util.Date;
  19. import javax.swing.JComponent;
  20. import mpv5.db.common.Context;
  21. import mpv5.db.common.DatabaseObject;
  22. /**
  23. *
  24. *
  25. */
  26. public class ScheduleTypes extends DatabaseObject {
  27. private int UserIds_;
  28. public ScheduleTypes() {
  29. setContext(Context.getScheduleTypes());
  30. }
  31. @Override
  32. public JComponent getView() {
  33. return null;
  34. }
  35. @Override
  36. public mpv5.utils.images.MPIcon getIcon() {
  37. return null;
  38. }
  39. public void setUser(Integer valueOf) {
  40. UserIds_ = valueOf;
  41. }
  42. @Displayable(false)
  43. @Override
  44. public int __getGroupsids() {
  45. return super.__getGroupsids();
  46. }
  47. @Displayable(false)
  48. @Override
  49. public Date __getDateadded() {
  50. return super.__getDateadded();
  51. }
  52. @Displayable(true)
  53. public int __getUserSids() {
  54. return UserIds_;
  55. }
  56. public void setUserSids(int ID) {
  57. UserIds_ = ID;
  58. }
  59. }