net.sourceforge.jpaxjc.ns.persistence.orm
Class GeneratedValue

java.lang.Object
  extended by net.sourceforge.jpaxjc.ns.persistence.orm.GeneratedValue
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class GeneratedValue
extends Object
implements Cloneable


Field Summary
protected  String generator
           
protected  GenerationType strategy
           
 
Constructor Summary
GeneratedValue()
          Creates a new GeneratedValue instance.
GeneratedValue(GeneratedValue o)
          Creates a new GeneratedValue instance by deeply copying a given GeneratedValue instance.
 
Method Summary
 GeneratedValue clone()
          Creates and returns a deep copy of this object.
 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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strategy

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected GenerationType strategy

generator

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String generator
Constructor Detail

GeneratedValue

public GeneratedValue()
Creates a new GeneratedValue instance.


GeneratedValue

public GeneratedValue(GeneratedValue o)
Creates a new GeneratedValue instance by deeply copying a given GeneratedValue instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getStrategy

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public GenerationType getStrategy()
Gets the value of the strategy property.

Returns:
possible object is GenerationType

setStrategy

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setStrategy(GenerationType value)
Sets the value of the strategy property.

Parameters:
value - allowed object is GenerationType

getGenerator

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getGenerator()
Gets the value of the generator property.

Returns:
possible object is String

setGenerator

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setGenerator(String value)
Sets the value of the generator property.

Parameters:
value - allowed object is String

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public GeneratedValue clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2009-2010 The JPA-XJC Community. All Rights Reserved.