Gebiet
This commit is contained in:
		@@ -1,3 +1,4 @@
 | 
			
		||||
 | 
			
		||||
public class Gebiet implements GebietInterface{
 | 
			
		||||
    private int jahr;
 | 
			
		||||
    private int schlüssel;
 | 
			
		||||
@@ -5,29 +6,37 @@ public class Gebiet implements GebietInterface{
 | 
			
		||||
    private long gesamtEinkommen;
 | 
			
		||||
    private int durchschnittsEinkommen;
 | 
			
		||||
 | 
			
		||||
    public Gebiet(int jahr, int schlüssel, String name, long gesamtEinkommen, int durchschnittsEinkommen) {
 | 
			
		||||
        this.jahr = jahr;
 | 
			
		||||
        this.schlüssel = schlüssel;
 | 
			
		||||
        this.name = name;
 | 
			
		||||
        this.gesamtEinkommen = gesamtEinkommen;
 | 
			
		||||
        this.durchschnittsEinkommen = durchschnittsEinkommen;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public int getJahr() {
 | 
			
		||||
        return 0;
 | 
			
		||||
        return jahr;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public int getSchlüssel() {
 | 
			
		||||
        return 0;
 | 
			
		||||
        return schlüssel;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public String getName() {
 | 
			
		||||
        return null;
 | 
			
		||||
        return name;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public long getGesamtEinkommen() {
 | 
			
		||||
        return 0;
 | 
			
		||||
        return gesamtEinkommen;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public int getDurchschnittsEinkommen() {
 | 
			
		||||
        return 0;
 | 
			
		||||
        return durchschnittsEinkommen;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user