Guest User

Untitled

a guest
Jun 24th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.96 KB | None | 0 0
  1. package Domain;
  2.  
  3. public class Speler {
  4.     private long id;
  5.     private String naam;
  6.     private String voornaam;
  7.     private String functie;
  8.  
  9.     public Speler(){
  10.  
  11.     }
  12.  
  13.     public Speler(long id, String naam, String voornaam, String functie) {
  14.         this.setId(id);
  15.         this.setNaam(naam);
  16.         this.setVoornaam(voornaam);
  17.         this.setFunctie(functie);
  18.     }
  19.  
  20.     public long getId(){
  21.         return this.id;
  22.     }
  23.  
  24.     public void setId(long id){
  25.         this.id = id;
  26.     }
  27.  
  28.     public String getNaam(){
  29.         return this.naam;
  30.     }
  31.  
  32.     public void setNaam(String naam){
  33.         this.naam = naam;
  34.     }
  35.  
  36.     public String getVoornaam(){
  37.         return this.voornaam;
  38.     }
  39.  
  40.     public void setVoornaam(String voornaam){
  41.         this.voornaam = voornaam;
  42.     }
  43.  
  44.     public String getFunctie(){
  45.         return this.functie;
  46.     }
  47.  
  48.     public void setFunctie(String functie){
  49.         this.functie = functie;
  50.     }
  51. }
Add Comment
Please, Sign In to add comment