samples/customer.java.target
author Volker Birk <vb@pep-project.org>
Fri, 15 Feb 2019 10:45:50 +0100
changeset 29 6a8a7951d8e6
parent 0 76005e62091d
permissions -rw-r--r--
feature: default function is used as a template
package Bla;

class Customer {
    // attribute id

    public int getId() {
        return id;
    }

    public void setId(int value) {
        id = value;
    }

    private int id;

    // attribute name

    public String getName() {
        return name;
    }

    public void setName(String value) {
        name = value;
    }

    private String name;
}