code
stringlengths
3
1.18M
language
stringclasses
1 value
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 rdrr labs gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 rdrr labs gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
Java
/* * Project: Timeriffic * Copyright (C) 2011 rdrr labs gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 rdrr labs gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * based on a contribution by: * http://code.google.com/p/autosettings/issues/detail?id=73 * Copyright (C) 2010 timendum gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Gene...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 rdrr labs gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
Java
/* * Project: Timeriffic * Copyright (C) 2011 rdrr labs gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2010 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2012 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2009 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2011 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ve...
Java
/* * Project: Timeriffic * Copyright (C) 2008 ralfoide gmail com, * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any l...
Java
package Controller; import api.ICiServer; import api.ICiClient; import java.math.BigDecimal; import java.rmi.RemoteException; import server.BankManager; /** * De CentraleInstelling klasse implementeer ICiServer (interface). * Dit zijn methode die een bank client kan aanroepen bij centrale instelling via ...
Java
package server; import Model.Bank; import api.ICiClient; import java.util.HashMap; /** * De Bankmanager houdt een lijst van banken bij. */ public class BankManager { private static volatile BankManager instance = null; //rekeningprefix + auth key private HashMap<String, Bank> banken; /** * ...
Java
package server; import api.ICiServer; import Controller.CentraleInstelling; import java.rmi.NoSuchObjectException; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.rmi.server.UnicastRemoteObject; import java.util...
Java
package Model; import api.ICiClient; /** * De klasse bank moet bekend zijn bij de centrale instelling. */ public class Bank { private final String prefix; private final String validatieKey; private ICiClient clientobj; /** * Constructor om een nieuwe bank op te zetten bij central...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package API.Klassen; import java.util.ArrayList; import java.util.Random; import org.junit.After; import org.junit.AfterClas...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package API.Klassen; import java.math.BigDecimal; import java.util.ArrayList; import org.junit.After; import org.junit.Aft...
Java
import API.Interfaces.ILogin; import API.Klassen.Klant; import API.Klassen.LoginAccount; import API.Klassen.Rekening; import Balie.Controller.ClientImpl; import Balie.GUI.SessieFrame; import Balie.GUI.StartFrame; import Bank.Managers.KlantManager; import Bank.Managers.LoginManager; import Bank.Managers.Reken...
Java
package Balie.Controller; import API.*; import API.Model.SessieExpiredException; import java.rmi.*; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; import java.rmi.server.UnicastRemoteObject; import java.util.ArrayList; import java.util.HashMap; /** * Deze klasse implementeert...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Balie.Controller; import java.util.HashMap; /** * Simpele klasse om banken en de connectiestrings te kunnen bijhou...
Java
package Balie.Controller; import java.util.ArrayList; import javax.xml.ws.WebServiceException; import javax.xml.ws.WebServiceRef; import nl.rainbowsheep.aex.AEX; import nl.rainbowsheep.aex.AEXService; import nl.rainbowsheep.aex.Fonds; /** * Heel simpel voorbeeld om de koersen op te vragen van de AEX webser...
Java
package Balie.gui; import API.Model.Transactie; import java.math.RoundingMode; import java.text.DateFormat; import java.util.ArrayList; import java.util.GregorianCalendar; import javax.swing.table.DefaultTableModel; /** * Transactiepanel is opgenomen in SessieFrame en toont transactiegegevens van de klant. * */ ...
Java
package Balie.gui; import API.Model.Klant; import API.Model.LoginAccount; /** De klantpanel is opgenomen in sessieframe om klantgegevens te tonen. * */ public class KlantPanel extends javax.swing.JPanel { /** * Creates new form KlantPanel */ public KlantPanel() { initComponents(); } ...
Java
package Balie.gui; import API.IAuth; import API.IObserver; import API.Model.Rekening; import API.Model.SessieExpiredException; import java.math.BigDecimal; import java.math.RoundingMode; import java.rmi.RemoteException; import java.util.logging.Level; import java.util.logging.Logger; /** * * Panel in Sessieframe di...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Balie.gui; import Balie.Controller.AEXfondsen; import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import...
Java
package Balie.gui; import API.Model.SessieExpiredException; import Balie.Controller.ClientImpl; import java.awt.Color; import java.rmi.NotBoundException; import java.rmi.RemoteException; import javax.swing.JOptionPane; /** * NieuweKlantPanel wordt in StartFrame aangeroepen * */ public class NieuweKlantPanel exten...
Java
package Balie.gui; import API.Model.SessieExpiredException; import Balie.Controller.Banken; import Balie.Controller.ClientImpl; import java.rmi.NotBoundException; import java.rmi.RemoteException; import javax.swing.JFrame; import javax.swing.JOptionPane; /** * Inlogpanel is onerdeel van het startFrame en overerft va...
Java
package Balie.gui; import API.IAuth; import API.ITransactieHandler; import API.Model.SessieExpiredException; import Balie.Controller.ClientImpl; import java.awt.Point; import java.math.BigDecimal; import java.rmi.RemoteException; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JOpti...
Java
package Balie.gui; import API.Model.*; import API.*; import Balie.Controller.ClientImpl; import java.awt.Point; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.rmi.RemoteException; import java.util.ArrayList; import javax.swing.JOptionPane; import javax.swing.Timer; /** * Sessie...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Balie.gui; import java.awt.Point; /** * * @author Melis */ public class StartFrame extends javax.swing.JFrame { /** ...
Java
package nl.rainbowsheep.aex; import java.util.Random; /** * Model klasse voor een AEX Fonds. De naam en de koers worden hier in bijgehouden. */ public class Fonds { private double koers; private final String naam; private boolean gestegen; private double procentgewijzigd; //1000 = geli...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package nl.rainbowsheep.aex; import java.util.Collection; import javax.jws.WebService; import manager.FondsManager; /** ...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package nl.rainbowsheep.aex; import javax.xml.ws.Endpoint; import manager.DummyFondsen; /** * Klasse om de webservice t...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package manager; import nl.rainbowsheep.aex.Fonds; /** * Klasse om even wat dummy gegevens te laden. * @author Ieme */...
Java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package manager; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import...
Java
package API; /** * IObservable klasse is om een een observer-observable patroon in te bouwen. * De klasse die dit implementeert is de observable. */ public interface IObservable { /** * voegt een observer object toe * @param observer IObserver object. */ void addObserv...
Java
package API; import API.Model.TransactieType; import API.Model.SessieExpiredException; import API.Model.TransactieStatus; import API.Model.Transactie; import java.math.BigDecimal; import java.rmi.RemoteException; import java.util.ArrayList; import java.util.GregorianCalendar; /** * Interface tussen clien...
Java
package API; import API.Model.SessieExpiredException; import java.rmi.Remote; import java.rmi.RemoteException; /** * Deze interface wordt geinstantieerd aan de client zijde. * * Zodoende kan de server methodes van de client aanroepen. De server kan de * client remote "uitloggen" en kan de client laten w...
Java
package API; import java.rmi.Remote; import java.rmi.RemoteException; /** * Interface voor Observer-observable patroon. Ipv overerving worden interfaces geimplementeerd. */ public interface IObserver extends Remote { /** * Methode om aan het object die een ander object observeert, een upd...
Java
package API; import API.Model.Klant; import API.Model.LoginAccount; import API.Model.Rekening; import API.Model.SessieExpiredException; import java.math.BigDecimal; import java.rmi.RemoteException; /** * Interface waarmee client een sessie kan starten en een client haar basis * gegevens kan opvragen Te...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package API.Model; /** * Custom exceptie klasse voor een verlopen sessie die overerft van exception. */ public class SessieExpiredException extends Exception { /** * Constructor voor SessieExpir...
Java
package API.Model; /** * Enum klasse voor de statussen van een transactie. */ public enum TransactieStatus { /** Wanneer een transactie verwerkt is door de bank krijgt het de status voltooid. */ VOLTOOID, /** Wanneer een transactie nog niet verwerkt is door de bank krijgt het de statu...
Java
package API.Model; import java.math.BigDecimal; import java.util.GregorianCalendar; import java.util.Locale; /** * De klasse transatie is verantwoordelijk voor het registreren van een * overboeking. Hierbij is het bedrag van belang, en het rekeningnummer waar het * vanaf geschreven moet worden en de tegen...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package API.Model; import java.math.BigDecimal; import java.math.RoundingMode; /** * De klasse Rekening heeft als verantwoordelijkheid om rekeninggegevens. zoals * het saldo en kredietlimiet bij te houde...
Java
package API.Model; import API.IObservable; import API.IObserver; import java.io.Serializable; import java.rmi.RemoteException; import java.util.Observable; import java.util.Observer; /** * Base klasse voor observer/observable mechanisme. De observer klasses zijn * naast observers tevens Remote objecten, ...
Java
package API.Model; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * De verantwoordelijkheid van de Klasse klant, is het bijhouden van de naam en * woonplaats van de klant. De combinatie van naam, woonplaats en loginaccount * moeten uniek zijn wil de klant zich registreren bij een bank....
Java
package API.Model; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * De verantwoordelijkheid van de klasse LoginAccount is het bijhouden van een * inlognaam en een wachtwoord. Een inlognaam mag niet vaker voorkomen bij een * bank (een wachtwoord wel). */ public class LoginAccount ext...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package API.Model; /** * Gebruiken om transacties op te zoeken. * */ public enum TransactieType { /** Wanneer er geld op een rekening gestort wordt, zal dit debet zijn. */ DEBET, /...
Java
package api; import java.math.BigDecimal; import java.rmi.Remote; import java.rmi.RemoteException; /** * Remote interface waarmee de banken kunnen communiceren met de centrale instelling. * Via deze interface kan er bijv. een cross-bank transactie worden aangevraagd. */ public interface ICiServer exten...
Java
package api; import java.math.BigDecimal; import java.rmi.Remote; import java.rmi.RemoteException; /** * Client interface voor banken. Hiermee kan de centrale instelling communiceren met de betreffende bank. */ public interface ICiClient extends Remote { /** * Methode waarmee de centrale instell...
Java
package CiClient; import api.ICiClient; import java.math.BigDecimal; import java.rmi.RemoteException; /** * Klasse binnen bank die als client voor centrale instelling dient. * Deze klasse implementeert ICiClient en kan berichten sturen naar de centrale instelling. */ public class CiClient implements IC...
Java
package CiClient; import api.ICiServer; import java.math.BigDecimal; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.rmi.registry.LocateRegistry; import java.rmi.registry.Registry; /** * Klasse om de bankclient te verbinden met Centrale Instelling. */ public class CiConn...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package managers; import API.Model.Klant; import java.util.HashMap; /** * De klantmanager klasse houdt een hashmap waar klanten te zoeken zijn op * klantnr */ public class KlantManager { private ...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package managers; import java.util.TimerTask; /** * SessieTask om een sessie te kunnen beindigen na inactiviteit. Kan gebruikt * worden i.c.m. java.util.Timer. * */ public class SessieTask extends Time...
Java
package managers; import API.IClient; import API.Model.LoginAccount; import controller.Sessie; import API.Model.SessieExpiredException; import java.rmi.RemoteException; import java.util.HashMap; import java.util.Map; import java.util.Timer; import java.util.logging.Level; import java.util.logging.Logger; ...
Java
package managers; import API.Model.Rekening; import java.util.HashMap; /** * de RekeningManager klasse houdt een hashmap met rekeningen waarbij op * rekeningnummer gezocht kan worden. */ public class RekeningManager { private HashMap<String, Rekening> rekeningen; private String bankinitialen; ...
Java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package managers; import API.Model.LoginAccount; import java.util.HashMap; /** * De loginmanager klasse houdt een hashmap bij waarin loginaccounts te vinden zijn op loginnr */ public class LoginManager { ...
Java
package managers; import API.Model.Rekening; import API.Model.Transactie; import API.Model.TransactieStatus; import API.Model.TransactieType; import CiClient.CiConnector; import java.rmi.NotBoundException; import java.rmi.RemoteException; import java.util.ArrayList; import java.util.Calendar; import java.ut...
Java