net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.persistence.orm
Class GeneratedValue

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.persistence.orm.GeneratedValue
All Implemented Interfaces:
Serializable, Cloneable

public class GeneratedValue
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Field Summary
protected  String generator
           
protected  GenerationType strategy
           
 
Constructor Summary
GeneratedValue()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.persistence.orm.GeneratedValue instance.
GeneratedValue(GeneratedValue o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.persistence.orm.GeneratedValue instance by copying a given instance.
 
Method Summary
 GeneratedValue clone()
          Creates and returns a 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

protected GenerationType strategy

generator

protected String generator
Constructor Detail

GeneratedValue

public GeneratedValue()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.persistence.orm.GeneratedValue instance.


GeneratedValue

public GeneratedValue(GeneratedValue o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.persistence.orm.GeneratedValue instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

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

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

clone

public GeneratedValue clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.