// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package jaxbdemo;

public class DataA extends Data {
    private String sv;
    public DataA() {
        this(0, "");
    }
    public DataA(int iv, String sv) {
        super(iv);
        this.sv = sv;
    }
    public String getSv() {
        return sv;
    }
    public void setSv(String sv) {
        this.sv = sv;
    }
    @Override
    public String toString() {
        return String.format("{ %d, %s }", getIv(), getSv());
    }
}
