コード例 #1
0
  public NotificationSetting removeNotificationSetting(NotificationSetting notificationSetting) {
    getNotificationSettings().remove(notificationSetting);
    notificationSetting.setNotificationGeneral(null);

    return notificationSetting;
  }
コード例 #2
0
  public NotificationSetting addNotificationSetting(NotificationSetting notificationSetting) {
    getNotificationSettings().add(notificationSetting);
    notificationSetting.setNotificationGeneral(this);

    return notificationSetting;
  }