コード例 #1
0
 public User2UserGroupDTO(
     final AlarmbearbeiterGruppenDTO group,
     final AlarmbearbeiterDTO user,
     final int position,
     final boolean active,
     final String activeReason,
     final Date lastChange) {
   super();
   this.position = position;
   this.user2UserGroupPK = new User2UserGroupDTO_PK(group.getUserGroupId(), user.getUserId());
   this.alarmbearbeiter = user;
   this.active = (short) (active ? 1 : 0);
   this.activeReason = activeReason;
   this.lastchange = lastChange.getTime();
 }
コード例 #2
0
 public User2UserGroupDTO(final AlarmbearbeiterGruppenDTO group, final AlarmbearbeiterDTO user) {
   super();
   this.user2UserGroupPK = new User2UserGroupDTO_PK(group.getUserGroupId(), user.getUserId());
   this.alarmbearbeiter = user;
 }