CVS: xdoclet/samples/src/java/test/hibernate30 Mammal.java,NONE,1.1 HairlessCat.java,NONE,1.1

Paul Galbraith <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Update of /cvsroot/xdoclet/xdoclet/samples/src/java/test/hibernate30
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5001/samples/src/java/test/hibernate30

Added Files:
	Mammal.java HairlessCat.java 
Log Message:
XDT-416: generate mapping for subclasses when intermediate subclass may not be mapped

--- NEW FILE: Mammal.java ---
package test.hibernate30;

public class Mammal extends Animal {

    boolean reallyHairy;

    public boolean isReallyHairy() {
        return reallyHairy;
    }

    public void setReallyHairy(boolean reallyHairy) {
        this.reallyHairy = reallyHairy;
    }

}

--- NEW FILE: HairlessCat.java ---
package test.hibernate30;

/**
 * @hibernate.subclass
 */
public class HairlessCat extends Mammal {
    
    public HairlessCat() {
        reallyHairy = false;
    }

    /**
     * @hibernate.property 
     */
    public boolean isReallyHairy() {
        return super.isReallyHairy();
    }

    public void setReallyHairy(boolean reallyHairy) {
        super.setReallyHairy(reallyHairy);
    }

}



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.