org.apache.cayenne.jpa.map
Class JpaInheritance

java.lang.Object
  extended by org.apache.cayenne.jpa.map.JpaInheritance
All Implemented Interfaces:
XMLSerializable

public class JpaInheritance
extends Object
implements XMLSerializable


Field Summary
protected  javax.persistence.InheritanceType strategy
           
 
Constructor Summary
JpaInheritance()
           
JpaInheritance(javax.persistence.Inheritance annotation)
           
 
Method Summary
 void encodeAsXML(XMLEncoder encoder)
          Prints itself as XML to the provided XMLEncoder.
 javax.persistence.InheritanceType getStrategy()
           
 void setStrategy(javax.persistence.InheritanceType strategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strategy

protected javax.persistence.InheritanceType strategy
Constructor Detail

JpaInheritance

public JpaInheritance()

JpaInheritance

public JpaInheritance(javax.persistence.Inheritance annotation)
Method Detail

encodeAsXML

public void encodeAsXML(XMLEncoder encoder)
Description copied from interface: XMLSerializable
Prints itself as XML to the provided XMLEncoder.

Specified by:
encodeAsXML in interface XMLSerializable

getStrategy

public javax.persistence.InheritanceType getStrategy()

setStrategy

public void setStrategy(javax.persistence.InheritanceType strategy)


Copyright © 2001-2007 Apache Cayenne. All Rights Reserved.