org.hibernate.jpamodelgen.xml.jaxb
Class GeneratedValue

java.lang.Object
  extended by org.hibernate.jpamodelgen.xml.jaxb.GeneratedValue

public class GeneratedValue
extends Object


Field Summary
protected  String generator
           
protected  GenerationType strategy
           
 
Constructor Summary
GeneratedValue()
           
 
Method Summary
 String getGenerator()
          Gets the value of the generator property.
 GenerationType getStrategy()
          Gets the value of the strategy property.
 void setGenerator(String value)
          Sets the value of the generator property.
 void setStrategy(GenerationType value)
          Sets the value of the strategy property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generator

protected String generator

strategy

protected GenerationType strategy
Constructor Detail

GeneratedValue

public GeneratedValue()
Method Detail

getGenerator

public String getGenerator()
Gets the value of the generator property.

Returns:
possible object is String

setGenerator

public void setGenerator(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 © 2009-2010. All Rights Reserved.