org.apache.openejb.jee.jpa
Class GeneratedValue
java.lang.Object
org.apache.openejb.jee.jpa.GeneratedValue
public class GeneratedValue
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
generator
protected java.lang.String generator
strategy
protected GenerationType strategy
GeneratedValue
public GeneratedValue()
GeneratedValue
public GeneratedValue(GenerationType strategy)
GeneratedValue
public GeneratedValue(GenerationType strategy,
java.lang.String generator)
getGenerator
public java.lang.String getGenerator()
- Gets the value of the generator property.
- Returns:
- possible object is
String
setGenerator
public void setGenerator(java.lang.String value)
- Sets the value of the generator property.
- Parameters:
value
- allowed object is
String
getStrategy
public GenerationType getStrategy()
- Gets the value of the strategy property.
- Returns:
- possible object is
GenerationType
setStrategy
public void setStrategy(GenerationType value)
- Sets the value of the strategy property.
- Parameters:
value
- allowed object is
GenerationType
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.