DP examples/Prototype10.java
<gh_stars>0package guru.springframework.gof.prototype;
public abstract class PrototypeCapableDocument implements Cloneable {
    private String vendorName;
    private String content;
    public String getVendorName() {
        return vendorName;
    }
    public void setVendorName(String vendorName) {
        this.vendorName = vendorName;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public abstract PrototypeCapableDocument cloneDocument() throws CloneNotSupportedException;
}