org.apache.cayenne.jpa.map
Class JpaGeneratedValue
java.lang.Object
org.apache.cayenne.jpa.map.JpaGeneratedValue
- All Implemented Interfaces:
- XMLSerializable
public class JpaGeneratedValue
- extends Object
- implements XMLSerializable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
generator
protected String generator
strategy
protected javax.persistence.GenerationType strategy
JpaGeneratedValue
public JpaGeneratedValue()
JpaGeneratedValue
public JpaGeneratedValue(javax.persistence.GeneratedValue annotation)
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
getGenerator
public String getGenerator()
setGenerator
public void setGenerator(String generator)
getStrategy
public javax.persistence.GenerationType getStrategy()
setStrategy
public void setStrategy(javax.persistence.GenerationType strategy)
Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.