Kassa-medewerker - medewerker class van Kassa

/ @author (Gerben van den Berg en Dennis Leussink) @version (1.2) public class Medewerker { private String naam; private String wachtwoord; private int nummer; private String rol; public Medewerker(String naam, String wachtwoord, int nummer, String rol){ this.naam = naam; this.wachtwoord = wachtwoord; this.nummer = nummer; this.rol = rol; } public String getNaam(){ return naam; } public String toString(){ return ""+ nummer + "\\t\\t" + naam + "\\t\\t" + rol; } public void printNaam(){ System.out.println("Naam: " + naam); } public void setNaam(String naam){ this.naam=naam; } public int getNummer(){ return nummer; } public void setNummer(int nummer){ this.nummer=nummer; } public String getWachtwoord(){ return wachtwoord; } public String getRol(){ return rol; } public void setRol(String rol){ this.rol = rol; } public void setWachtwoord(String wachtwoord) { this.wachtwoord = wachtwoord; } }



comments powered by Disqus

Related Products

Kassa-kassa - de kassa class van Kassa

/ @author (Gerben van den Berg en Dennis Leussink) @version (1.2) import java.util.; public class Kassa { private ArrayList<medewerker> medewerkers; Medewerker medewerker; private int nummer; private int ingelogd = 0; public Kassa() { medewerkers = new ArrayList<medewerker>(); } public void voegMedewerkerToe(String naam, String wachtwoord, String rol) { medewerker = new Medewerker(naam, wachtwoord, nummer, rol); medewerkers.add(medewerker); nummer++; } public int getAantalMedewerkers() { return

Read more

Kassa-apl - Apl van kassa 18-01-2010

import java.io.; import java.net.; import java.util.; public class Apl { static Kassa kassa; private static int kassaNummer = 1; public static void main(String args) { kassa = new Kassa(); kassa.voegMedewerkerToe("Dennis", "leussink", "Administrator"); kassa.voegMedewerkerToe("Gerben", "berg", "Medewerker"); kassa.voegMedewerkerToe("Daniel", "schlattman", "Medewerker"); kassa.voegMedewerkerToe("Johannes", "wassenaar", "Medewerker"); kassa.voegMedewerkerToe("Nick", "velthorst", "Administrator");

Read more

Related Tags
Browse projects by tags.

We have collection of more than 1 Million open source products ranging from Enterprise product to small libraries in all platforms. We aggregate information from all open source repositories. Search and find the best for your needs.

Follow feeds Follow bestopensource on Twitter Follow bestopensource on Facebook

Enter your email address:

Delivered by FeedBurner

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.

Do you provide Consulting, Training, Support for any open source products. Register your business

Tag Cloud >>